gerrit/acl : handle submit requirements in normalise tool
This adds the keys "applicableIf" and "submittableIf" that are used by submit-requirements [1]. [1] https://gerrit-review.googlesource.com/Documentation/config-submit-requirements.html Change-Id: Ic4dc5877d9326897839bbe62c02c0986c6e53e25
This commit is contained in:
parent
6349f18d40
commit
f346b72eb6
@ -58,11 +58,13 @@ out = ''
|
|||||||
|
|
||||||
valid_keys = {'abandon',
|
valid_keys = {'abandon',
|
||||||
'access',
|
'access',
|
||||||
|
'applicableIf',
|
||||||
'create',
|
'create',
|
||||||
'createSignedTag',
|
'createSignedTag',
|
||||||
'copyCondition',
|
'copyCondition',
|
||||||
'defaultValue',
|
'defaultValue',
|
||||||
'delete',
|
'delete',
|
||||||
|
'description',
|
||||||
'editHashtags',
|
'editHashtags',
|
||||||
'exclusiveGroupPermissions',
|
'exclusiveGroupPermissions',
|
||||||
'forgeAuthor',
|
'forgeAuthor',
|
||||||
@ -84,6 +86,7 @@ valid_keys = {'abandon',
|
|||||||
'requireContributorAgreement',
|
'requireContributorAgreement',
|
||||||
'state',
|
'state',
|
||||||
'submit',
|
'submit',
|
||||||
|
'submittableIf',
|
||||||
'toggleWipState',
|
'toggleWipState',
|
||||||
'value'}
|
'value'}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user