Last modified: 2013-07-25 07:07:04 UTC
https://github.com/wikimedia/qa-browsertests/pulls
I have created Gerrit and bugzilla accounts. However I am not able to git push my changes. Please find the error log below User@HP /git/browsertests (master) $ git push ssh://indrani@gerrit.wikimedia.org:29418/qa/browsertests HEAD Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 897 bytes, done. Total 4 (delta 2), reused 0 (delta 0) remote: Resolving deltas: 100% (2/2) remote: Branch refs/heads/master: remote: You are not allowed to perform this operation. remote: To push into this reference you need 'Push' rights. remote: User: indrani remote: Please read the documentation and contact an administrator remote: if you feel the configuration is incorrect remote: Processing changes: refs: 1, done To ssh://indrani@gerrit.wikimedia.org:29418/qa/browsertests ! [remote rejected] HEAD -> master (prohibited by Gerrit) error: failed to push some refs to 'ssh://indrani@gerrit.wikimedia.org:29418/qa/ browsertests'
(In reply to comment #1) > I have created Gerrit and bugzilla accounts. > > However I am not able to git push my changes. Please find the error log below Like pull requests on GitHub, Gerrit uses a model where a change can be proposed before merging it. However contrary to GitHub, Gerrit also allows a model where changes have to be proposed and reviewed before merging. Regular git pushes straight to 'master' are not allowed. Instead you push to 'refs/for/master' (the review queue). See also: * https://www.mediawiki.org/wiki/Gerrit/Getting_started But mainly: * install git-review * use git review instead of git push
The following worked fine. I have successfully pushed my changes. $ git push ssh://indrani@gerrit.wikimedia.org:29418/qa/browsertests HEAD:refs/f or/master Closing this defect
(In reply to comment #3) > I have successfully pushed my changes. I see 4 pull requests at Github[1], but just two commits in Gerrit[2]. Are you sure you have moved all commits to Gerrit? Also, please close the pull requests at Github. If you need help, let me know. 1: https://github.com/wikimedia/qa-browsertests/pulls 2: https://gerrit.wikimedia.org/r/#/q/owner:littleadventure.09%2540gmail.com+status:open,n,z
I have commited all 4 in Gerrit now. https://gerrit.wikimedia.org/r/#/c/62968/ Can you please tell me how to close pull requests at GitHub?
closed all Github pull requests.
Indrani, please change bug status from new to resolved. Let me know if you need help with that.
Thanks! For future commits, http://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines might come in handy.
Bug status changed to Resolved.