[Nfd-dev] cannot push according to contribution guide

Alex Afanasyev aa at cs.fiu.edu
Thu Aug 10 13:18:42 PDT 2017


Chavoosh, you either need to rename your git remote from (I guess) `origin` to `gerrit`, or use `origin` instead of `gerrit` in the push command.

--
Alex

> On Aug 10, 2017, at 3:08 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> 
> Dear folks
> 
> A developer at our campus followed the NFD contribution guide, but he's unable to push the changes.
> What did he miss?
> 
> Yours, Junxiao
> 
> ---------- Forwarded message ----------
> From: "Chavoosh Ghasemi" <chavoosh.ghasemi at gmail.com <mailto:chavoosh.ghasemi at gmail.com>>
> Date: Aug 10, 2017 11:18
> Subject: Re: Redmine account
> To: "Junxiao Shi" <shijunxiao at email.arizona.edu <mailto:shijunxiao at email.arizona.edu>>
> Cc:
> 
> I have followed the instructions and changed the corresponded file to address the assigned task. But now I cannot push my changes to gerrit. When I run this command "git push gerrit HEAD:/refs/for/master" I will face the following error:
> 
> fatal: 'gerrit' does not appear to be a git repository
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> Thanks,
> - Chavoosh
> 
> 
> On Tue, Aug 8, 2017 at 6:40 PM, Junxiao Shi <shijunxiao at email.arizona.edu <mailto:shijunxiao at email.arizona.edu>> wrote:
> You should never attempt to commit to GitHub. All commits go through Gerrit. Read https://github.com/named-data/NFD/blob/master/CONTRIBUTING.md <https://github.com/named-data/NFD/blob/master/CONTRIBUTING.md> for how to do that.
> 
> 
> On Aug 8, 2017 6:18 PM, "Chavoosh Ghasemi" <chavoosh.ghasemi at gmail.com <mailto:chavoosh.ghasemi at gmail.com>> wrote:
> OK, I have attached a screen shot to this email. Apparently, I cannot change anything on that file and if I do not need any privilege I am wondering why I am not allowed.
> 
> Thanks,
> -Chavoosh
> 
> On Tue, Aug 8, 2017 at 5:18 PM, Junxiao Shi <shijunxiao at email.arizona.edu <mailto:shijunxiao at email.arizona.edu>> wrote:
> Hi Chavoosh
> 
> See https://github.com/named-data/NFD/blob/master/CONTRIBUTING.md <https://github.com/named-data/NFD/blob/master/CONTRIBUTING.md>
> You never need any privilege on GitHub.
> 
> Yours, Junxiao
> 
> On Tue, Aug 8, 2017 at 4:09 PM, Chavoosh Ghasemi <chavoosh.ghasemi at gmail.com <mailto:chavoosh.ghasemi at gmail.com>> wrote:
> Hi,
> 
> To fulfil the assigned task I need to be granted access as an editor on Github repository, in order to modify nfd.conf.sample.in <http://nfd.conf.sample.in/> file. Please add me as an editor or let me know if I am supposed to work on any other repo, rather than Github.
> 
> Thanks,
> - Chavoosh
> 
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170810/9322a017/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170810/9322a017/attachment.sig>


More information about the Nfd-dev mailing list