Skip to main content

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

Metadata

Release files for gitlab-bulkcheckout 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitlab-bulkcheckout 0.22.0
File Size Uploaded
gitlab_bulkcheckout-0.22.0.zip 10.9 kB Details

Release files / gitlab_bulkcheckout-0.22.0.zip

Download URL gitlab_bulkcheckout-0.22.0.zip
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
faabf66359806f533fa714c9e6df1399f1dd4f05089e5f9b4a30dedbe5683157
BLAKE2b-256 checksum
How to use checksums
c973aebab44c1dccf0590fca4e577dbd3d69d489f02ac680fc84714020d10560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.22.0 This release

1 release file

0.21.0

1 release file

0.20.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

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