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.
- Migrate your projects from github to gitlab: https://docs.gitlab.com/ee/user/project/import/github.html
- Wait until finished
- Generate a personal access token on gitlab: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
- Fill in your user name and the generated access token in the following lines in the GitlabVisibilitySetter.py file:
userName = "YourUserName"
token = "1234567890"- Install all required pip package dependencies with:
pip install -r requirements.txt- Run the project using:
python GitlabVisibilitySetter.pyhttps://docs.gitlab.com/ee/api/#authentication
https://docs.gitlab.com/ee/api/projects.html#list-user-projects
See the Changelog.