From 0ced8ad2660ada5beb8e398de98102e24722beee Mon Sep 17 00:00:00 2001 From: wanghao Date: Fri, 4 Jan 2019 10:18:16 +0800 Subject: [PATCH] Add 'Review-Priority' for Zaqar repos Change-Id: I99b6c8f03c10eb19031454e07bb67737235ebc60 --- gerrit/acls/openstack/zaqar-ui.config | 13 +++++++++++++ gerrit/acls/openstack/zaqar.config | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/gerrit/acls/openstack/zaqar-ui.config b/gerrit/acls/openstack/zaqar-ui.config index 12ba667489..efa279669b 100644 --- a/gerrit/acls/openstack/zaqar-ui.config +++ b/gerrit/acls/openstack/zaqar-ui.config @@ -1,8 +1,21 @@ [access "refs/heads/*"] abandon = group zaqar-ui-core label-Code-Review = -2..+2 group zaqar-ui-core +label-Review-Priority = -1..+2 group zaqar-ui-core label-Workflow = -1..+1 group zaqar-ui-core +[label "Review-Priority"] +copyAllScoresIfNoCodeChange = true +copyAllScoresOnTrivialRebase = true +copyMaxScore = true +copyMinScore = true +defaultValue = 0 +function = AnyWithBlock +value = -1 Branch Freeze +value = 0 No Priority +value = +1 Important Change +value = +2 Gate Blocker Fix / Urgent Change + [receive] requireChangeId = true requireContributorAgreement = true diff --git a/gerrit/acls/openstack/zaqar.config b/gerrit/acls/openstack/zaqar.config index d2ce609de1..0959877a51 100644 --- a/gerrit/acls/openstack/zaqar.config +++ b/gerrit/acls/openstack/zaqar.config @@ -1,6 +1,7 @@ [access "refs/heads/*"] abandon = group zaqar-core label-Code-Review = -2..+2 group zaqar-core +label-Review-Priority = -1..+2 group zaqar-core label-Workflow = -1..+1 group zaqar-core [access "refs/heads/stable/*"] @@ -18,6 +19,18 @@ label-Workflow = -1..+1 group Project Bootstrappers label-Workflow = -1..+1 group stable-maint-core label-Workflow = -1..+1 group zaqar-stable-maint +[label "Review-Priority"] +copyAllScoresIfNoCodeChange = true +copyAllScoresOnTrivialRebase = true +copyMaxScore = true +copyMinScore = true +defaultValue = 0 +function = AnyWithBlock +value = -1 Branch Freeze +value = 0 No Priority +value = +1 Important Change +value = +2 Gate Blocker Fix / Urgent Change + [receive] requireChangeId = true requireContributorAgreement = true