Releases: sergeyklay/gstore
Releases · sergeyklay/gstore
v0.7.0
Breaking Changes
- Dropped support for Python 3.8 due to end-of-life status. Python 3.8 reached its end-of-life date in October 2024, which means it will no longer receive bug fixes or security updates from the Python development team. As a result, the support for Python 3.8 was removed in order to ensure the ongoing security and stability of our package. Users who require Python 3.8 can continue to use older package versions that support it.
Trivial/Internal Changes
- Migrate project infrastructure to poetry.
- Bumped
furofrom 2022.12.7 to 2024.8.6. - Bumped
pygithubfrom 1.58.0 to 2.5.0. - Bumped
gitpythonfrom 3.1.17 to 3.1.43.
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Bug Fixes
- Correct
furoversion definition insetup.py.
v0.6.0
Breaking Changes
- Drop Python 3.7 support.
Trivial/Internal Changes
- Bumped
beautifulsoup4from 4.11.0 to 4.11.1. - Bumped
check-manifestfrom 0.48 to 0.49. - Bumped
coveragefrom 6.3.2 to 7.2.1. - Bumped
furofrom 2020.12 to 2022.12.7. - Bumped
gitpythonfrom 3.1.17 to 3.1.31. - Bumped
pygithubfrom 1.57 to 1.58.0. - Bumped
pylintfrom 2.13.5 to 2.16.2. - Bumped
pytestfrom 7.1.1 to 7.2.1. - Bumped
sphinxfrom 4.3.2 to 6.1.3.
v0.5.0
Features
- Introduced ability to specify the maximum number of concurrent processes to use when syncing.
Improvements
- Reformat log entries to provide logs in a bit more readable format as well as process id (PID).
- Changed additional groups of dependencies declared in
setup.pyso thatdevelopis superset now fortestinganddocs. - Remove dependencies from
developgroup which are not necessary for developing the package. - Used single
requirements.txtfile to declare project dependencies. Additional dependencies fromdevelop,testinganddocsgroups lives now insetup.pyortox.ini.
Bug Fixes
- Added missed files to the package contents.
- Don't include
testspackage in wheel. Previouslypip install gstoreused to install a top-level packagetests. This was fixed. - Fixed package description.
v0.4.0
Features
-
The
gstore.envmodule was introduced to provide a convenient way to work with environment variables used by various functions within Gstore. -
Added the following functions within
gstore.env:lookup_token()- lookup a personal access token in environment variables,get_host()- get GitHub API hostname from environment variable,get_target()- get base target to sync repos from environment variable.
Breaking Changes
- Moved
gstore.Client.TOKEN_NAMEStogstore.env.TOKEN_NAMES. - Moved
gstore.args.get_token_from_env()to ``gstore.env.lookup_token()`.
Improvements
- Improved
git.GitCommandErrormessage formatting for more accurate logging. - The program now correctly handle Control-C keyboard event and gracefully terminates.
- Gstore will exit with a status of one when its is called without any argument and there are not enough environment variables for normal operation.
- Calling program with an invalid token and without
--orgoption no longer leads to abnormal program termination.
Trivial/Internal Changes
gstore.Client.__init__()will raise nowgstore.client.ValidationErrorwhen no token is provided.gstore.Client.resolve_orgs()will raise nowgstore.client.InvalidCredentialsErrorwhen provided token is invalid.
v0.3.1
Improvements
- Gstore will exit with a status of one if there are critical errors during synchronization.
- Gstore will handle situations with invalid API token or organization name.
Improved Documentation
- Move all the documentation to readthedocs.
Bug Fixes
- Fix
args.get_token_from_env()to properly get a token from environment variables or None if variables are not set.
Trivial/Internal Changes
Client.__init__(), as well asClient.resolve_orgs()will raise nowgstore.exceptions.InvalidCredentialsErrorin case of incorrect credentials usage.gstore.models.Repositorynow holdsgstore.models.Organization.- Starting with v0.3.1 tests will be included in the PyPI package.
0.3.0
- Python < 3.7 is no longer supported.
- Added
-oas a short form of--orgargument. - Added ability to limit sync to the specified repositories using
-r,--repooption. - Improved logging and error reporting.
- Improved local repo handling by checking the directory contents.
- Corrected log level on
--quietmode. - Changed the way to get repositories from specific organizations. From now, to get repositories from specific organizations, list each of them on the command line using the argument
--org. - Fixed invalid local repo handling.
0.2.0
- Show help message and exit when Gstore is called without any argument and there are not enough environment variables for normal operation.
- Added ability to specify host for Github Enterprise.
0.1.1
- Handling situations when the target for sync is a regular file or readonly.
- Added
-V,--versionarguments to print program's version information. - Added
-dumpversionargument to print the version of the program and don't do anything else. - Added
-q,--quietarguments to silence any informational messages except error ones
0.1.0
- The GitHub username is no longer required upon obtaining organizations list.
- Provided ability to pass authentication token for github.com API requests via environment variables.
- Added
-vargument support to enable verbose mode. - Changed the way to communicate with GitHub API.
requestslibrary no longer used thanks toPyGithub.