a7f00a4d9b
In Gerrit 2.14 the -q flag to ls-groups was deprecated in favor of -g. At some point between 2.14 and 3.2 the -q support was removed entirely. This change checks the gerrit version then uses the appropriate flag for querying a group based on that. We also add more robust testing to check creation of groups with spaces in their names. We also check that if an acl is updated without group changes that we don't try to recreate the group and get the group uuid successfully. Change-Id: I58c0aa2b496bcd792c8f4bc7db89b08cefa3af3d
15 lines
398 B
Plaintext
15 lines
398 B
Plaintext
[access "refs/heads/*"]
|
|
abandon = group Registered Users
|
|
abandon = group Test Group With Spaces
|
|
label-Code-Review = -2..+2 group Registered Users
|
|
label-Code-Review = -2..+2 group test-group
|
|
label-Code-Review = -2..+2 group Test Group With Spaces
|
|
label-Workflow = -1..+1 group Registered Users
|
|
label-Workflow = -1..+1 group test-group
|
|
|
|
[receive]
|
|
requireChangeId = true
|
|
|
|
[submit]
|
|
mergeContent = true
|