Skip to content

GitlabVisibilitySetter is a script to make all repositories on Gitlab publicly accessible. (Useful for all that are #movingtogitlab) The script was written and tested in Python 3.

License

Notifications You must be signed in to change notification settings

SeppPenner/GitlabVisibilitySetter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitlabVisibilitySetter

GitlabVisibilitySetter is a script to make all repositories on Gitlab publicly accessible. (Useful for all that are #movingtogitlab) The script was written and tested in Python 3.

Build status GitHub issues GitHub forks GitHub stars License: MIT Known Vulnerabilities

Steps to use this script:

  1. Migrate your projects from github to gitlab: https://docs.gitlab.com/ee/user/project/import/github.html
  2. Wait until finished
  3. Generate a personal access token on gitlab: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
  4. Fill in your user name and the generated access token in the following lines in the GitlabVisibilitySetter.py file:
userName = "YourUserName"
token = "1234567890"
  1. Install all required pip package dependencies with:
pip install -r requirements.txt
  1. Run the project using:
python GitlabVisibilitySetter.py

For more information see:

https://docs.gitlab.com/ee/api/#authentication

https://docs.gitlab.com/ee/api/projects.html#list-user-projects

https://stackoverflow.com/questions/50763143/when-movingtogitlab-is-there-a-possibility-to-set-all-imported-projects-to-pub

Change history

See the Changelog.

About

GitlabVisibilitySetter is a script to make all repositories on Gitlab publicly accessible. (Useful for all that are #movingtogitlab) The script was written and tested in Python 3.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages