Skip to content

nillovna/gitlab_get_by_groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Gitlab git clone repositories by group

Script to get gitlab repositories in groups

Requirements

pip install gitpython requests

Variables

url - Gitlab url - default from GITLAB_URL environment variable

token - Gitlab token to access Gitlab - default from GITLAB_TOKEN environment variable

groups - Gitlab groups wheere lookup repositories - default empty

base_dir - directory to clone repos - default ./Gitlab

Usage

./gitlab.py --url=gitlab.example.com --token=SUPER_SECRET_GITLAB_TOKEN --groups first-group,second_group,third,group --base_dir gitlab_dir

About

Script to get gitlab repositories in groups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages