From af51cda6c3db30b58142b0084c16080a69c1c37d Mon Sep 17 00:00:00 2001 From: Swann Croiset Date: Wed, 27 Nov 2013 08:25:44 +0100 Subject: [PATCH] Climate project: add gerrit tags ACL Change-Id: Idbc704c1de4cff69f0500b6f91d57bf43923d819 --- .../files/gerrit/acls/stackforge/climate-nova.config | 11 ----------- .../files/gerrit/acls/stackforge/climate.config | 3 +++ .../acls/stackforge/python-climateclient.config | 11 ----------- .../templates/review.projects.yaml.erb | 3 +++ 4 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/climate-nova.config delete mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/python-climateclient.config diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/climate-nova.config b/modules/openstack_project/files/gerrit/acls/stackforge/climate-nova.config deleted file mode 100644 index 3b6f42d5f3..0000000000 --- a/modules/openstack_project/files/gerrit/acls/stackforge/climate-nova.config +++ /dev/null @@ -1,11 +0,0 @@ -[access "refs/heads/*"] - label-Code-Review = -2..+2 group climate-core - label-Approved = +0..+1 group climate-core - workInProgress = group climate-core -[project] - state = active -[receive] - requireChangeId = true - requireContributorAgreement = true -[submit] - mergeContent = true diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/climate.config b/modules/openstack_project/files/gerrit/acls/stackforge/climate.config index 3b6f42d5f3..5d5125ef66 100644 --- a/modules/openstack_project/files/gerrit/acls/stackforge/climate.config +++ b/modules/openstack_project/files/gerrit/acls/stackforge/climate.config @@ -2,6 +2,9 @@ label-Code-Review = -2..+2 group climate-core label-Approved = +0..+1 group climate-core workInProgress = group climate-core +[access "refs/tags/*"] + create = group climate-core + pushTag = group climate-core [project] state = active [receive] diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/python-climateclient.config b/modules/openstack_project/files/gerrit/acls/stackforge/python-climateclient.config deleted file mode 100644 index 3b6f42d5f3..0000000000 --- a/modules/openstack_project/files/gerrit/acls/stackforge/python-climateclient.config +++ /dev/null @@ -1,11 +0,0 @@ -[access "refs/heads/*"] - label-Code-Review = -2..+2 group climate-core - label-Approved = +0..+1 group climate-core - workInProgress = group climate-core -[project] - state = active -[receive] - requireChangeId = true - requireContributorAgreement = true -[submit] - mergeContent = true diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index d3c09a4a6b..b00e43f144 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -230,9 +230,11 @@ - project: stackforge/climate description: Reservation Service for OpenStack upstream: git://github.com/jd/climate.git + acl-config: /home/gerrit2/acls/stackforge/climate.config - project: stackforge/climate-nova description: Specific Nova part of the Climate Reservation Service for OpenStack upstream: git://github.com/scroiset/climate-nova.git + acl-config: /home/gerrit2/acls/stackforge/climate.config - project: stackforge/cloudcafe upstream: https://github.com/samu4924/cloudcafe description: OpenStack based test automation framework. Based on OpenCAFE engine @@ -450,6 +452,7 @@ upstream: git://git.code.sf.net/p/xcat/python-ipmi - project: stackforge/python-climateclient description: Client for OpenStack Climate + acl-config: /home/gerrit2/acls/stackforge/climate.config - project: stackforge/python-designateclient - project: stackforge/python-libraclient - project: stackforge/python-manilaclient