https://github.com/zircote/gh_mirror
A mirroring tool for Organisations using Github
https://github.com/zircote/gh_mirror
Last synced: 9 months ago
JSON representation
A mirroring tool for Organisations using Github
- Host: GitHub
- URL: https://github.com/zircote/gh_mirror
- Owner: zircote
- License: apache-2.0
- Created: 2013-08-22T20:14:48.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-01T06:09:26.000Z (over 12 years ago)
- Last Synced: 2024-12-25T17:43:09.908Z (over 1 year ago)
- Language: Python
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.rst
- License: License
Awesome Lists containing this project
README
======================
gh_mirror
======================
The goal of the project is to simply mirror an organisations repositories. Using the github API it acquires the details of all organisation repositories and subsequently clones and or updates as required.
Token in the clear:
``gh_mirror -o my_org -t OAUTH-TOKEN -d /data/gh_mirrors``
Token less clear:
``gh_mirror -o my_org -t `cat ~/gh_token` -d /data/gh_mirrors``
Install
--------------
.. code-block::
git clone https://github.com/zircote/gh_mirror.git
pushd gh_mirror
python setup.py install
popd
.. image:: https://d2weczhvl823v0.cloudfront.net/zircote/gh_mirror/trend.png
:alt: Bitdeli badge
:target: https://bitdeli.com/free