Command line utility for handle multiply git projects
Project description
Gitlab Bulk Checkout Tool
Simple utitlity written in Python for the local repositories. In a Time of SaaS, Isac and microservices, it can happen that you need many small repositories at your local Machine for Development, so it didn`t make fun to pull so many repositories.
Features
- sort gitlab grops to fs folder
- append a prefix to the repos
- pull changes from origin
Using Tox Build Script
source ~/development/lib/virtualenv/tox/bin/activate
tox
The tox script create a installable dist under ./.tox/dist/*.tar.gz
Docker
For easy usage, the tool can be wrapped with docker, so you don`t need a local python env for using.
Build
docker build -t nolte/gitlab-bulkcheckout .
ssh agent https://kb.iu.edu/d/aeww
Usage
docker run -it \
--user=${UID}:$(id -g $(whoami)) \
-v $SSH_AUTH_SOCK:/ssh-agent \
-e SSH_AUTH_SOCK=/ssh-agent \
-e GROUPS_MAPPINGS=/app/gitlab_groupMapping.yml \
-e GITLAB_TOKEN=$(pass /internet/gitlab.com/tokens/management) \
-e PROJECTS_BASE=/tmp/bulkcheckout \
-w /tmp/bulkcheckout \
-v /tmp/bulkcheckout:/tmp/bulkcheckout \
-v ${HOME}/.ssh:/home/builder/.ssh:ro \
-v ${PWD}/gitlab_groupMapping.yml:/app/gitlab_groupMapping.yml:ro \
nolte/gitlab-bulkcheckout -v checkoutbulk
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitlab_bulkcheckout-0.20.0.tar.gz
(17.7 kB
view hashes)
Close
Hashes for gitlab_bulkcheckout-0.20.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85fca31b7b33874740abf9097f66777e3a895bf565a2f71b9890edf2471ee11 |
|
MD5 | 2a28deccd2c15b9f908db9d50e924043 |
|
BLAKE2b-256 | 6ba97e8e07e8c9eed30aa38b58208a929c9185f1c5816f6d1a7a236fdfef9dd1 |