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