project-config/gerrit/acls/openstack/oslo.versionedobjects.config
Jeremy Stanley 464f4f586a
Indent Gerrit ACL options
Gerrit very much wants its ACLs to indent option lines (but not
section headings) by a single hard tab.

The recent migration to schema 185 with Gerrit 3.7 has updated
copyConditions flags and re-written most of the ACL files to look like
this (c.f. I1f11c07e3786bd1a68b43d908d939fde42ddb99c).

This updates the normalize tool to format like this, and modifies all
our ACL's to the new format.

This is intended to be a no-op with no functional change.  For future
upgrades, this will reduce the diffs of any updates Gerrit might make.

Change-Id: I3a0c0da1eb32f8afb31ffa0c24ea45aaca8da8cc
2023-04-26 05:19:02 +10:00

37 lines
1.1 KiB
Plaintext

[access]
inheritFrom = openstack/meta-config
[access "refs/heads/*"]
abandon = group oslo-versionedobjects-core
label-Backport-Candidate = -2..+2 group oslo-versionedobjects-core
label-Backport-Candidate = -1..+1 group Registered Users
label-Code-Review = -2..+2 group oslo-versionedobjects-core
label-Workflow = -1..+1 group oslo-versionedobjects-core
[access "refs/heads/stable/*"]
abandon = group stable-maint-core
label-Code-Review = -2..+2 group stable-maint-core
label-Workflow = -1..+1 group stable-maint-core
[label "Backport-Candidate"]
copyCondition = changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE OR is:MAX OR is:MIN
defaultValue = 0
function = NoBlock
value = -2 Do Not Backport
value = -1 Not A Backport Candidate
value = 0 Backport Review Needed
value = +1 Proposed Backport
value = +2 Should Backport
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true
[submit-requirement "Backport-Candidate"]
applicableIf = is:false
description = Backport candidate status
submittableIf = is:true