Some Python scripts to help administering and migrating to GitLab.
Note that per Issue #63 there's a bug in the current (0.9.2) version of python-gitlab that prevents retrieving more than 20 results for ANY query.
- gitlab_email_list.py - Print a list of all GitLab user emails, one-per line, CSV or JSON
- gitlab_repo_import.py - Helper to import an existing bare git repo into GitLab and set options/features and group ownership.
- gitlab_ssh_key_sync.py - Script to sync your ~/.ssh/authorized_keys to a GitLab instance.
pip install python-gitlab
(tested weith 0.9.2)- Use the scripts.
gitlab-scripts is licensed under the GNU GPL v3.
Contributions back are greatly appreciated.