Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project access settings #17

Open
cmoulliard opened this issue Jun 3, 2015 · 3 comments
Open

Project access settings #17

cmoulliard opened this issue Jun 3, 2015 · 3 comments

Comments

@cmoulliard
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant