Skip to content

ai-lenok/gitlab-maintainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting up private repos in GitLab

Script for creating private repos by template (import_url)

Install requirements

pip3 install -r requirements.txt

Run

Creating repos and inviting users

Get list of all users from settings.json
Create a repo with a username using template (import_url) from settings.toml

python3 inviter.py

Approve signing up users

By default, GitLab requires you to approve the registration of all users.

Get white list of users from settings.json

python3 inviter.py

Settings

You can see an example of all settings in settings.json and settings.toml

I recommend creating config/.secrets.json and config/.secrets.toml files following the pattern config/settings.json and config/settings.toml
To store sensitive settings

About

Setting up private repos in GitLab

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages