ceposta-devops-ose icon indicating copy to clipboard operation
ceposta-devops-ose copied to clipboard

Project access settings

Open cmoulliard opened this issue 10 years ago • 3 comments

It looks like that we have too to change the AllProjects access settings (https://github.com/christian-posta/ceposta-devops-ose/blob/master/gerrit-docker/conf-jenkins-user.sh#L56). The approach to change the tables(s) definition uses a different mechanism using git project cloned & commit but again where the ssh key is required.

cmoulliard avatar Jun 03 '15 07:06 cmoulliard

Response received from gerrit group (https://mail.google.com/mail/u/0/#inbox/14db86edf37e8886). They suggest to use the Web UI or Java class ("AllProjectsConfig") with a Gerrit Plugin

cmoulliard avatar Jun 03 '15 10:06 cmoulliard

I think that I have been able to find the java class responsible to create the git repo All-Projects + access (https://gist.github.com/cmoulliard/412b43c1ca1fba872b89#file-allprojectscreator-java-L123-L186)

cmoulliard avatar Jun 03 '15 16:06 cmoulliard

Another solution not mentioned is to git clone locally the AllProjects.git repo generated, change the project.config and push the comment ("https://github.com/christian-posta/ceposta-devops-ose/blob/master/gerrit-docker/conf-jenkins-user.sh#L53-L93"). That offers the flexibility to change the config using a file (part of the docker image)

cmoulliard avatar Jun 03 '15 17:06 cmoulliard