-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29e91bc
commit cfe03b3
Showing
6 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.2.2 | ||
current_version = 0.2.3 | ||
commit = True | ||
tag = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
2020 Dominic Davis-Foster <[email protected]> | ||
""" | ||
|
||
__version__ = "0.2.2" | ||
__version__ = "0.2.3" | ||
|
||
repo_root = pathlib.Path(__file__).parent | ||
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ author: 'Dominic Davis-Foster' | |
email: '[email protected]' | ||
username: 'repo-helper' | ||
assignee: 'domdfcoding' | ||
version: '0.2.2' | ||
version: '0.2.3' | ||
license: 'MIT' | ||
short_desc: "Manage GitHub repositories with repo-helper." | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ | |
__author__: str = "Dominic Davis-Foster" | ||
__copyright__: str = "2020 Dominic Davis-Foster" | ||
__license__: str = "MIT License" | ||
__version__: str = "0.2.2" | ||
__version__: str = "0.2.3" | ||
__email__: str = "[email protected]" | ||
|
||
__all__ = [ | ||
|
@@ -110,7 +110,7 @@ class GithubManager(RepoHelper): | |
:param verbose: Whether to show information on the GitHub API rate limit. | ||
:param colour: Whether to use coloured output. | ||
.. versionchanged:: 0.2.2 | ||
.. versionchanged:: 0.2.3 | ||
Added the ``verbose`` and ``colour`` options. | ||
""" | ||
|
@@ -122,14 +122,14 @@ class GithubManager(RepoHelper): | |
""" | ||
Whether to show information on the GitHub API rate limit. | ||
.. versionadded: 0.2.2 | ||
.. versionadded: 0.2.3 | ||
""" | ||
|
||
colour: Optional[bool] | ||
""" | ||
Whether to use coloured output. | ||
.. versionadded: 0.2.2 | ||
.. versionadded: 0.2.3 | ||
""" | ||
|
||
def __init__( | ||
|
@@ -154,7 +154,7 @@ def new(self) -> int: | |
""" | ||
Create a new GitHub repository for this project. | ||
.. versionchanged:: 0.2.2 | ||
.. versionchanged:: 0.2.3 | ||
Removed the ``verbose`` option. Provide it to the class constructor instead. | ||
""" | ||
|
@@ -189,7 +189,7 @@ def update(self) -> int: | |
""" | ||
Update the GitHub repository for this project. | ||
.. versionchanged:: 0.2.2 | ||
.. versionchanged:: 0.2.3 | ||
Removed the ``verbose`` option. Provide it to the class constructor instead. | ||
""" | ||
|
@@ -213,7 +213,7 @@ def secrets(self) -> int: | |
""" | ||
Set or update the secrets of the GitHub repository for this project. | ||
.. versionadded: 0.2.2 | ||
.. versionadded: 0.2.3 | ||
""" | ||
|
||
with self.echo_rate_limit(): | ||
|
@@ -333,7 +333,7 @@ def encrypt_secret(public_key: str, secret_value: str) -> str: | |
:param public_key: | ||
:param secret_value: | ||
.. versionadded: 0.2.2 | ||
.. versionadded: 0.2.3 | ||
""" | ||
|
||
public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) | ||
|