Thanks for your code sample, Xinyu :), it helps a lot.  And I also read
this for better understanding of gerrit's acl:
https://gerrit-documentation.storage.googleapis.com/Documentation/2.8.5/access-control.html


Le Tian Ren (任乐天, \u4efb\u4e50\u5929)
=======================================
* p^2 = 1 (mod 12), when p is a prime and > 3. *



From:   Jerry Xinyu Zhao <[email protected]>
To:     Le Tian Ren/China/IBM@IBMCN,
Cc:     "[email protected]"
            <[email protected]>
Date:   2014/05/30 02:28
Subject:        Re: [OpenStack-Infra] Create a new branch for stackforge
            project



You need to add an acl for the stackforge project.
 modules/openstack_project/files/gerrit/acls/stackforge/projectname.config

but the privilege should be confined to ptl group or alike only.



On Thu, May 29, 2014 at 2:09 AM, Le Tian Ren <[email protected]> wrote:
  Hi Infra team,

  I'm now maintaining a sub project under stackforge. There is only one
  master branch for now, and we plan to create a release branch like
  stable/icehouse, since the repository is gated by gerrit(git reivew), the
  situtation may be a little complicate here. I created a new branch
  locally, and tried to git push origin <new_branch> and git push gerrit
  <new_branch>, neither succeeded. Would anyone shed some light on this,
  please? Thanks in advance.

  git push gerrit stable/icehouse
  Total 0 (delta 0), reused 0 (delta 0)
  remote: Processing changes: refs: 1, done
  To ssh://[email protected]:29418/stackforge/powervc-driver.git
   ! [remote rejected] stable/icehouse -> stable/icehouse (prohibited by
  Gerrit)
  error: failed to push some refs to 'ssh://
  [email protected]:29418/stackforge/powervc-driver.git'

  BTW, I'm not in the core gerrit group of the project.



  Le Tian Ren (任乐天, \u4efb\u4e50\u5929)

  =======================================
  * p^2 = 1 (mod 12), when p is a prime and > 3. *

  _______________________________________________
  OpenStack-Infra mailing list
  [email protected]
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to