project-config/gerrit/acls/openinfra/transparency-policy.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

48 lines
1.3 KiB
Plaintext

[access "refs/heads/*"]
abandon = group Change Owner
abandon = group Project Bootstrappers
abandon = group transparency-committee-chair
exclusiveGroupPermissions = abandon label-Workflow
label-Rollcall-Vote = -1..+1 group transparency-committee
label-Workflow = -1..+0 group Change Owner
label-Workflow = -1..+1 group Project Bootstrappers
label-Workflow = -1..+1 group transparency-committee-chair
[access "refs/tags/*"]
createSignedTag = group transparency-committee-chair
[label "Code-Review"]
copyCondition = changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
defaultValue = 0
function = NoBlock
value = -2 Unused -2
value = -1 This patch needs further work before it can be merged
value = 0 No score
value = +1 Looks good to me
value = +2 Unused +2
[label "Rollcall-Vote"]
copyCondition = changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
defaultValue = 0
function = NoBlock
value = -1 No
value = 0 Abstain
value = +1 Yes
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true
[submit-requirement "Code-Review"]
applicableIf = is:false
description = Informational vote on current revision
submittableIf = is:true
[submit-requirement "Rollcall-Vote"]
applicableIf = is:false
description = An informational vote from team members
submittableIf = is:true