Improve jeepyb.rst content
ACLs are stored in organization/project-name, fix the description for this. Use project-name-release as this is the current OpenStack infra convention. Change-Id: Id792594ad49120d9d9dcbaeae22ead6beb0864b2
This commit is contained in:
parent
f605d6e6ce
commit
d978444f7c
@ -80,18 +80,17 @@ That is the high level view of how we can configure projects using the
|
|||||||
pupppet repository. To create an actual change that does all of this for
|
pupppet repository. To create an actual change that does all of this for
|
||||||
a single project you will want to do the following:
|
a single project you will want to do the following:
|
||||||
|
|
||||||
#. Add a ``gerrit/acls/project-name.config`` file to the
|
#. Add a ``gerrit/acls/organization/project-name.config`` file to the
|
||||||
``project-config`` repo. The contents will probably end up looking like
|
``project-config`` repo. The contents will probably end up looking like
|
||||||
the block below (note that the sections are in alphabetical order
|
the block below (note that the sections are in alphabetical order)::
|
||||||
and each indentation is 8 spaces)::
|
|
||||||
|
|
||||||
[access "refs/heads/*"]
|
[access "refs/heads/*"]
|
||||||
label-Code-Review = -2..+2 group project-name-core
|
label-Code-Review = -2..+2 group project-name-core
|
||||||
label-Workflow = -1..+1 group project-name-core
|
label-Workflow = -1..+1 group project-name-core
|
||||||
|
|
||||||
[access "refs/heads/proposed/*"]
|
[access "refs/heads/proposed/*"]
|
||||||
label-Code-Review = -2..+2 group project-name-milestone
|
label-Code-Review = -2..+2 group project-name-release
|
||||||
label-Workflow = -1..+1 group project-name-milestone
|
label-Workflow = -1..+1 group project-name-release
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
@ -103,16 +102,16 @@ a single project you will want to do the following:
|
|||||||
#. Add a project entry for the project in ``gerrit/projects.yaml`` in
|
#. Add a project entry for the project in ``gerrit/projects.yaml`` in
|
||||||
the ``project-config`` repo.::
|
the ``project-config`` repo.::
|
||||||
|
|
||||||
- project: openstack/project-name
|
- project: organization/project-name
|
||||||
acl-config: /home/gerrit2/acls/project-name.config
|
acl-config: /home/gerrit2/acls/organization/project-name.config
|
||||||
|
|
||||||
#. If there is an existing repo that is being replaced by this new
|
#. If there is an existing repo that is being replaced by this new
|
||||||
project you can set the upstream value for the project. When an
|
project you can set the upstream value for the project. When an
|
||||||
upstream is set, that upstream will be cloned and pushed into Gerrit
|
upstream is set, that upstream will be cloned and pushed into Gerrit
|
||||||
instead of an empty repository. eg::
|
instead of an empty repository. eg::
|
||||||
|
|
||||||
- project: openstack/project-name
|
- project: organization/project-name
|
||||||
acl-config: /home/gerrit2/acls/project-name.config
|
acl-config: /home/gerrit2/acls/organization/project-name.config
|
||||||
upstream: git://github.com/awesumsauce/project-name.git
|
upstream: git://github.com/awesumsauce/project-name.git
|
||||||
|
|
||||||
That is all you need to do. Push the change to gerrit and if necessary
|
That is all you need to do. Push the change to gerrit and if necessary
|
||||||
|
Loading…
Reference in New Issue
Block a user