Skip to main content

treasure-guarder

https://img.shields.io/pypi/v/treasure-guarder.svg https://travis-ci.org/starofrainnight/treasure-guarder.svg?branch=master https://ci.appveyor.com/api/projects/status/github/starofrainnight/treasure-guarder?svg=true

A python script for backup repositories to custom git server

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:

  1. Ensure latest git command exists in your shell environment

  2. Ensure you have rights to access to the source repository and the destination repository

  3. Ensure there won’t prompt password when pushing to destination repository

  4. 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)

Source distribution for treasure-guarder 0.0.3
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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page