Hi Kasun,

you won’t get direct Push access, because no one does, not even administrators.

> Please read the documentation and contact an administrator
> if you feel the configuration is incorrect

Did you do the first step? You would find the answer here [1].

You tried to push to “refs/heads/master”, which would bypass the code review.
The correct target for your push command is “refs/for/<branch-name>”, so 
“refs/for/master” in this case.
You already have sufficient rights to push your commits there.

Cheers,
Franz

[1] 
http://saros-build.imp.fu-berlin.de/gerrit/Documentation/user-upload.html#push_create

From: Kasun Gunasekara [mailto:kasu...@gmail.com]
Sent: Tuesday, June 16, 2015 12:14 PM
To: dpp-devel@lists.sourceforge.net
Cc: Holger Schmeisky; Zieris, Franz
Subject: Pushing to master prohibited by Gerrit.

Hi All,

I am one of this year's Google Summer of Code participants for Saros and I am 
working on improving Saros/I.

I implemented Notifications for Saros/I and pushed the sandbox branch and the 
push was successful. But now when I am trying to push to the master branch it 
gives me this error.

Repository 
ssh://kasu...@saros-build.imp.fu-berlin.de:29418/saros.git<http://kasu...@saros-build.imp.fu-berlin.de:29418/saros.git>
Branch refs/heads/master:
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights.
User: kasun32
Please read the documentation and contact an administrator
if you feel the configuration is incorrect
Processing changes: refs: 1
Processing changes: refs: 1, done
prohibited by Gerrit

If the problem occurred because of permission please grant me push permission.

Regards,
Kasun.

------------------------------------------------------------------------------
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to