From 033066674600ef3d6d134cab6b98bfda63a9d8b7 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 15 Jun 2013 13:15:29 -0400 Subject: [PATCH] Pull in Russell's OpenStack Stats scripts. Also, while at it, make a single core team that deal with this and gitdm, because it's really largely the same people interested. Change-Id: I60410c6e6efafe0b0417b70ece2e832240ab721b Reviewed-on: https://review.openstack.org/33162 Reviewed-by: James E. Blair Reviewed-by: Paul Belanger Reviewed-by: Jeremy Stanley Approved: Jeremy Stanley Tested-by: Jenkins --- .../files/gerrit/acls/openstack-infra/gitdm.config | 8 ++++---- .../gerrit/acls/openstack-infra/reviewstats.config | 13 +++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ .../templates/review.projects.yaml.erb | 3 +++ 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack-infra/reviewstats.config diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/gitdm.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/gitdm.config index f7ca25d317..a3cad70b6e 100644 --- a/modules/openstack_project/files/gerrit/acls/openstack-infra/gitdm.config +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/gitdm.config @@ -1,9 +1,9 @@ [access "refs/heads/*"] - label-Approved = +0..+1 group gitdm-core - label-Code-Review = -2..+2 group gitdm-core + label-Approved = +0..+1 group stats-core + label-Code-Review = -2..+2 group stats-core [access "refs/tags/*"] - create = group gitdm-core - pushTag = group gitdm-core + create = group stats-core + pushTag = group stats-core [project] state = active [receive] diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/reviewstats.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/reviewstats.config new file mode 100644 index 0000000000..a3cad70b6e --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/reviewstats.config @@ -0,0 +1,13 @@ +[access "refs/heads/*"] + label-Approved = +0..+1 group stats-core + label-Code-Review = -2..+2 group stats-core +[access "refs/tags/*"] + create = group stats-core + pushTag = group stats-core +[project] + state = active +[receive] + requireChangeId = true +[submit] + mergeContent = true + action = cherry pick diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 8b6adedbee..09650c5ebc 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -313,6 +313,12 @@ projects: - reviewday-tarball: - reviewday-pypi-upload + - name: openstack-infra/reviewstats + check: + - gate-noop + gate: + - gate-noop + - name: openstack-infra/releasestatus check: - gate-noop diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 5dd01f5b4f..c684f271ae 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -47,6 +47,9 @@ - project: openstack-infra/reviewday upstream: git://github.com/dprince/reviewday.git description: OpenStack code review report generator +- project: openstack-infra/reviewstats + description: Scripts for generating OpenStack development community statistics + upstream: git://github.com/russellb/openstack-stats.git - project: openstack-infra/releasestatus upstream: git://github.com/ttx/releasestatus.git description: OpenStack Release Status page generator