treasure-guarder
A python script for backup repositories to custom git server
License: Apache-2.0
Documentation: https://treasure-guarder.readthedocs.io.
Usage
- Prepare your working directory, for example/opt/tg-workspace
treasure-guarder will create a cache directory .tgwork under /opt/tg-workspace
Create a configure file treasure-guarder.yml under /opt/tg-workspace just like:
repos:
treasure-guarder:
from: https://github.com/starofrainnight/treasure-guarder.git
to: ssh://git@localhost/github/starofrainnight/treasure-guarder.git
abhealer:
from: https://github.com/starofrainnight/abhealer.git
to: ssh://git@localhost/github/starofrainnight/abhealer.git
Then run this command in your console under directiry /opt/tg-workspace
treasure-guarder ./treasure-guarder.yml
NOTICE:
Ensure latest git command exists in your shell environment
Ensure you have rights to access to the source repository and the destination repository
Ensure there won’t prompt password when pushing to destination repository
Normally, the cache directory .tgwork will created under current working directory
Credits
This package was created with Cookiecutter and the PyPackageTemplate project template.
History
0.0.1 (2019-08-03)
First release on PyPI.
Metadata
Release files for treasure-guarder 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| treasure-guarder-0.0.3.zip | 24.5 kB | Details |
Release files / treasure-guarder-0.0.3.zip
| Download URL | treasure-guarder-0.0.3.zip |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c8a7a5c477d28b571852d0e098451b3521dce2b2ac5bc8338b040f811a7c691
|
|
BLAKE2b-256 checksum How to use checksums |
ad60ba8f850e16a92cead0b7d7f3373f323b55c2dc07c62564bab9ea9872b43e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.1
|