Enable tripleo core members to change WIP flag
This change enables people that already had permission to abandon other changes to also toggle the WIP flag on them. Change-Id: I894df2e26c6927eac25dbfe596a93f4209ff92ee Reference: https://gerrit-review.googlesource.com/c/gerrit/+/212571/3/java/com/google/gerrit/common/data/Permission.java#49
This commit is contained in:
@@ -3,6 +3,7 @@ abandon = group tripleo-ansible-core
|
|||||||
label-Code-Review = -2..+2 group tripleo-ansible-core
|
label-Code-Review = -2..+2 group tripleo-ansible-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-ansible-core
|
label-Workflow = -1..+1 group tripleo-ansible-core
|
||||||
|
toggleWipState = group tripleo-ansible-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -3,6 +3,7 @@ abandon = group tripleo-ci-shared-core
|
|||||||
label-Code-Review = -2..+2 group tripleo-ci-shared-core
|
label-Code-Review = -2..+2 group tripleo-ci-shared-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-ci-shared-core
|
label-Workflow = -1..+1 group tripleo-ci-shared-core
|
||||||
|
toggleWipState = group tripleo-ci-shared-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -4,6 +4,7 @@ label-Code-Review = -2..+2 group tripleo-ci-core
|
|||||||
label-Review-Priority = -1..+2 group tripleo-ci-core
|
label-Review-Priority = -1..+2 group tripleo-ci-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-ci-core
|
label-Workflow = -1..+1 group tripleo-ci-core
|
||||||
|
toggleWipState = group tripleo-ci-core
|
||||||
|
|
||||||
[label "Review-Priority"]
|
[label "Review-Priority"]
|
||||||
copyAllScoresIfNoCodeChange = true
|
copyAllScoresIfNoCodeChange = true
|
||||||
|
@@ -3,6 +3,7 @@ abandon = group tripleo-ha-utils-core
|
|||||||
label-Code-Review = -2..+2 group tripleo-ha-utils-core
|
label-Code-Review = -2..+2 group tripleo-ha-utils-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-ha-utils-core
|
label-Workflow = -1..+1 group tripleo-ha-utils-core
|
||||||
|
toggleWipState = group tripleo-ha-utils-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -3,6 +3,7 @@ abandon = group tripleo-quickstart-core
|
|||||||
label-Code-Review = -2..+2 group tripleo-quickstart-core
|
label-Code-Review = -2..+2 group tripleo-quickstart-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-quickstart-core
|
label-Workflow = -1..+1 group tripleo-quickstart-core
|
||||||
|
toggleWipState = group tripleo-quickstart-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
abandon = group tripleo-core
|
abandon = group tripleo-core
|
||||||
label-Code-Review = -2..+2 group tripleo-core
|
label-Code-Review = -2..+2 group tripleo-core
|
||||||
label-Workflow = -1..+1 group tripleo-core
|
label-Workflow = -1..+1 group tripleo-core
|
||||||
|
toggleWipState = group tripleo-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -3,6 +3,7 @@ abandon = group tripleo-upgrade-core
|
|||||||
label-Code-Review = -2..+2 group tripleo-upgrade-core
|
label-Code-Review = -2..+2 group tripleo-upgrade-core
|
||||||
label-Verified = -1..+1 group tripleo-ci
|
label-Verified = -1..+1 group tripleo-ci
|
||||||
label-Workflow = -1..+1 group tripleo-upgrade-core
|
label-Workflow = -1..+1 group tripleo-upgrade-core
|
||||||
|
toggleWipState = group tripleo-upgrade-core
|
||||||
|
|
||||||
[receive]
|
[receive]
|
||||||
requireChangeId = true
|
requireChangeId = true
|
||||||
|
@@ -3,7 +3,8 @@
|
|||||||
# It checks that projects.yaml alphabetized and prints list of projects that
|
# It checks that projects.yaml alphabetized and prints list of projects that
|
||||||
# should be sorted.
|
# should be sorted.
|
||||||
|
|
||||||
export TMPDIR=`/bin/mktemp -d`
|
TMPDIR=$(mktemp -d)
|
||||||
|
export TMPDIR
|
||||||
trap "rm -rf $TMPDIR" EXIT
|
trap "rm -rf $TMPDIR" EXIT
|
||||||
|
|
||||||
pushd $TMPDIR
|
pushd $TMPDIR
|
||||||
|
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# It checks that *.config files respect certain gerrit ACL rules
|
# It checks that *.config files respect certain gerrit ACL rules
|
||||||
|
|
||||||
export TMPDIR=$(/bin/mktemp -d)
|
TMPDIR=$(mktemp -d)
|
||||||
|
export TMPDIR
|
||||||
trap "rm -rf $TMPDIR" EXIT
|
trap "rm -rf $TMPDIR" EXIT
|
||||||
|
|
||||||
pushd $TMPDIR
|
pushd $TMPDIR
|
||||||
|
@@ -83,6 +83,7 @@ valid_keys = {'abandon',
|
|||||||
'requireContributorAgreement',
|
'requireContributorAgreement',
|
||||||
'state',
|
'state',
|
||||||
'submit',
|
'submit',
|
||||||
|
'toggleWipState',
|
||||||
'value'}
|
'value'}
|
||||||
|
|
||||||
if '0' in transformations or not transformations:
|
if '0' in transformations or not transformations:
|
||||||
|
Reference in New Issue
Block a user