A dead simple tool to synchronize GitHub repositories of your organizations
GPL-3.0 License
Bot releases are hidden (Show)
furo
version definition in setup.py
.Published by sergeyklay over 1 year ago
beautifulsoup4
from 4.11.0 to 4.11.1.check-manifest
from 0.48 to 0.49.coverage
from 6.3.2 to 7.2.1.furo
from 2020.12 to 2022.12.7.gitpython
from 3.1.17 to 3.1.31.pygithub
from 1.57 to 1.58.0.pylint
from 2.13.5 to 2.16.2.pytest
from 7.1.1 to 7.2.1.sphinx
from 4.3.2 to 6.1.3.Published by sergeyklay over 3 years ago
setup.py
so that develop
is superset now for testing
and docs
.develop
group which are not necessary for developing the package.requirements.txt
file to declare project dependencies. Additional dependencies from develop
, testing
and docs
groups lives now in setup.py
or tox.ini
.tests
package in wheel. Previously pip install gstore
used to install a top-level package tests
. This was fixed.Published by sergeyklay over 3 years ago
The gstore.env
module 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.gstore.Client.TOKEN_NAMES
to gstore.env.TOKEN_NAMES
.gstore.args.get_token_from_env()
to ``gstore.env.lookup_token()`.git.GitCommandError
message formatting for more accurate logging.--org
option no longer leads to abnormal program termination.gstore.Client.__init__()
will raise now gstore.client.ValidationError
when no token is provided.gstore.Client.resolve_orgs()
will raise now gstore.client.InvalidCredentialsError
when provided token is invalid.Published by sergeyklay almost 4 years ago
args.get_token_from_env()
to properly get a token from environment variables or None if variables are not set.Client.__init__()
, as well as Client.resolve_orgs()
will raise now gstore.exceptions.InvalidCredentialsError
in case of incorrect credentials usage.gstore.models.Repository
now holds gstore.models.Organization
.Published by sergeyklay almost 4 years ago
-o
as a short form of --org
argument.-r
, --repo
option.--quiet
mode.--org
.Published by sergeyklay almost 4 years ago
Published by sergeyklay almost 4 years ago
-V
, --version
arguments to print program's version information.-dumpversion
argument to print the version of the program and don't do anything else.-q
, --quiet
arguments to silence any informational messages except error onesPublished by sergeyklay almost 4 years ago
-v
argument support to enable verbose mode.requests
library no longer used thanks to PyGithub
.Published by sergeyklay almost 4 years ago
gitpython>=3.0.0, <3.0.6
. For more see: https://github.com/gitpython-developers/GitPython/issues/983 .Published by sergeyklay almost 4 years ago
GHS_DIR
environment variable to GSTORE_DIR
.ghs
to gstore
to avoid collision with the existing package with the same name.Published by sergeyklay almost 4 years ago
GHS_DIR
as a sync base directory.Published by sergeyklay almost 4 years ago
ghsync
to ghs
to avoid collision with the existing package with the same name.Published by sergeyklay almost 4 years ago
Initial Release.