Backup GitHub projects to AWS S3
Platform Supported
Deployments
Recommendations
python
3.10 or 3.11
Install Git2S3
python -m pip install git2s3
Initiate - IDE
import git2s3
if __name__ == '__main__':
git = git2s3.Git2S3()
git.start()
Initiate - CLI
git2s3 start
Use
git2s3 --help
for usage instructions.
By default,
Git2S3
will look for a.env
file in the current working directory. Refer samples directory for examples.
https://api.github.com/
[]
[repo, gist, wiki]
to back up. Defaults to all.file
or stdout
. Does not apply when custom logger is used
False
AWS_DEFAULT_PROFILE
by default.AWS_ACCESS_KEY_ID
by default.AWS_SECRET_ACCESS_KEY
by default.AWS_DEFAULT_REGION
by default.github
10
standard
Docstring format: Google
Styling conventions: PEP 8
and isort
Requirement
python -m pip install gitverse
Usage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
pre-commit
will ensure linting, run pytest, generate runbook & release notes, and validate hyperlinks in ALL
markdown files (including Wiki pages)
Requirement
python -m pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
https://pypi.org/project/git2s3/
https://thevickypedia.github.io/git2s3/
© Vignesh Rao
Licensed under the MIT License