An open API service indexing awesome lists of open source software.

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

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