-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lpmatos
committed
Jul 27, 2020
1 parent
6950455
commit 432013c
Showing
8 changed files
with
269 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
======= | ||
Credits | ||
======= | ||
|
||
Development Lead | ||
---------------- | ||
|
||
* Lucca Pessoa da Silva Matos <luccapsm@gmail.com> | ||
|
||
Contributors | ||
------------ | ||
|
||
None yet. Why not be the first? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
include AUTHORS.rst | ||
include CONTRIBUTING.rst | ||
include HISTORY.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
================= | ||
gitlab-clone | ||
================= | ||
|
||
|
||
Tool for easy cloning whole gitlab structure to your local machine. | ||
|
||
|
||
* Free software: MIT license | ||
|
||
|
||
|
||
Requirements | ||
------------ | ||
|
||
* Requests | ||
* Python >= 3.6 | ||
|
||
|
||
Installation | ||
------------ | ||
|
||
You can install "gitlab-clone" via `pip`_:: | ||
|
||
$ pip install gitlab-clone | ||
|
||
|
||
Usage | ||
----- | ||
|
||
|
||
>>> gitlab-clone: | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
--group_id group_id Id of a group in gitlab | ||
--token token Gitlab Token | ||
--branch branch Branch to clone in all repos [by default master] | ||
--gitlab-url gitlab Gitlab address [by default gitlab.com] | ||
|
||
|
||
Example | ||
------- | ||
|
||
$ gitlab-clone --group=123 --token=MySecretToken --gitlab-url=gitlab.organization.com | ||
|
||
For example if you clone this group https://gitlab.com/lmaolmaolmao which id is 6849299 | ||
|
||
you will have absolutely the same structure locally: | ||
|
||
.. image:: https://github.com/ArseniyAntonov/gitlab-group-clone/raw/master/img/tree.png | ||
|
||
>>> tree | ||
. | ||
└── lmaolmaolmao | ||
└── subgroup1 | ||
└── subgroup2 | ||
└── subgroup3 | ||
|
||
|
||
|
||
.. _`pip`: https://pypi.python.org/pypi/pip/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#!/usr/bin/env python | ||
__version__ = "1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.