project-config/gerrit/acls/stackforge/vmtp.config
ahothan 986bf1685a Need to allow merge commits in vmtp.git
We have 2 branches in the vmtp stackforge repository: master and kloudbuster
These 2 guys need to get in sync from time to time
I need to sync kloudbuster to its parent branch (i.e. pick up the few changes
that were committed in master and commit them to kloudbuster).
When I try to push the merge commit to gerrit I get this error from gerrit:

(venv) AHOTHAN-M-V0CS:scale ahothan$ git review kloudbuster
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: refs: 1, done
To ssh://ahothan@review.openstack.org:29418/stackforge/vmtp.git
 ! [remote rejected] HEAD -> refs/publish/kloudbuster (you are not allowed to upload merges)

Which shows that I do not have the permission to push a merge commit.
So I need to add that permission to the vmtp acl file for gerrit
in order to merge

I see only 2 other stackforge repos have pushMerge permission since they
also have branches to tend to. Most repost in stackforge do not need this
because they put all their eggs in the master branch.

Hope that is clear enough and waiting impatiently for +2

Change-Id: Idc9a950b226df576d684e125845f6a6de340681c
2015-05-06 09:56:27 -07:00

19 lines
369 B
Plaintext

[access "refs/for/refs/*"]
pushMerge = group vmtp-core
[access "refs/heads/*"]
abandon = group vmtp-core
create = group vmtp-core
label-Code-Review = -2..+2 group vmtp-core
label-Workflow = -1..+1 group vmtp-core
[access "refs/tags/*"]
pushSignedTag = group vmtp-core
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true