summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCecylia Bocovich <cohosh@torproject.org>2020-01-23 09:26:50 -0500
committerCecylia Bocovich <cohosh@torproject.org>2020-01-23 09:26:50 -0500
commit4c8dd8568ac7ee9fd01a75d23b9fcfbf507be5c0 (patch)
treebb16200ac23d3ca1c377c56f3e3aa2068ceb53eb
parent5404ef818317f0c0ceea6a6130f83ccc8d070fd7 (diff)
Make gitlab repositories public
Created projects default to private, we need to set the visibility in the script to make them public.
-rwxr-xr-xscripts/update_git9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/update_git b/scripts/update_git
index 5808139..4861baf 100755
--- a/scripts/update_git
+++ b/scripts/update_git
@@ -35,9 +35,12 @@ class GitlabRemote:
def create_projects(self):
# Create one project for each platform
- windows_repo = self.gl.projects.create({'name': 'torbrowser-windows'})
- mac_repo = self.gl.projects.create({'name': 'torbrowser-osx'})
- linux_repo = self.gl.projects.create({'name': 'torbrowser-linux'})
+ windows_repo = self.gl.projects.create({'name': 'torbrowser-windows',
+ 'visibility': 'public'})
+ mac_repo = self.gl.projects.create({'name': 'torbrowser-osx',
+ 'visibility': 'public'})
+ linux_repo = self.gl.projects.create({'name': 'torbrowser-linux',
+ 'visibility': 'public'})
self.repositories = {
"linux32" : linux_repo,