
Similar to Ic43f561174ebf30474b1b54be2bed02695cebedc and I83160aeec0a450f8678ecb583fb7570ac0e71f4a, this converts the existing Review-Priority rules to submit-requirements following the gerrit migration rules from [1]. These are all using "AnyWithBlock" which means that only the lowest possible vote blocks submission. Thus we replace this with a submit-requirement of "-label:Review-Priority=MIN". The function is changed to NoBlock as done by the migration tool. As with the prior change; the submit-requirement with the same name as the label will avoid us having migrations run on these ACL's and keep our gerrit in-sync with project-config. Also as with the prior change, this should have no affect for users. [1] https://gerrit-review.googlesource.com/c/gerrit/+/339542 Change-Id: Id5157b9f59082485b6aff92c4f3527fb4c8084aa
26 lines
609 B
Plaintext
26 lines
609 B
Plaintext
[access "refs/heads/*"]
|
|
abandon = group monasca-core
|
|
label-Code-Review = -2..+2 group monasca-core
|
|
label-Review-Priority = -1..+2 group monasca-core
|
|
label-Workflow = -1..+1 group monasca-core
|
|
|
|
[label "Review-Priority"]
|
|
copyCondition = is:MAX
|
|
defaultValue = 0
|
|
function = NoBlock
|
|
value = -1 Branch Freeze
|
|
value = 0 No Priority
|
|
value = +1 Important Change
|
|
value = +2 Gate Blocker Fix / Urgent Change
|
|
|
|
[receive]
|
|
requireChangeId = true
|
|
requireContributorAgreement = true
|
|
|
|
[submit]
|
|
mergeContent = true
|
|
|
|
[submit-requirement "Review-Priority"]
|
|
description = Review priority
|
|
submittableIf = -label:Review-Priority=MIN
|