Help with isssue with gerrit

jan iversen jani at documentfoundation.org
Sat Aug 13 16:28:23 UTC 2016


Hi

url and pushurl are not the same.

the file you list (hopefully it is core/.git/modules/helpcontent2/config) is exactly like mine.

The pushurl are stored in .git/config and looks like:
   pushurl = ssh://jani@gerrit.libreoffice.org:29418/core

I assume you did do:

git clone git://anongit.freedesktop.org/libreoffice/core core
cd core
git submodule update --init helpcontent2
edit core/.git/config and add your pushurl

Otherwise that could explain your problem.

rgds
jan I.



> On 13 Aug 2016, at 18:18, Olivier Hallot <olivier.hallot at libreoffice.org> wrote:
> 
> Hello Regina
> 
> Here is what I have in the file config you mentioned.
> 
> --------8<-------
> 
> [core]
>        repositoryformatversion = 0
>        filemode = true
>        bare = false
>        logallrefupdates = true
>        worktree = ../../../helpcontent2
> [remote "origin"]
>        url = git://gerrit.libreoffice.org/help
>        fetch = +refs/heads/*:refs/remotes/origin/*
> [branch "master"]
>        remote = origin
>        merge = refs/heads/master
> 
> --------8<-------
> 
> I am not sure if pushurl and url means the same
> 
> Thank you
> 
> Olivier
> 
> 
> Em 13/08/2016 12:31, Regina Henschel escreveu:
>> Hi Olivier,
>> 
>> there should be .git/modules/helpcontent2/config. Does it has a valid
>> url or pushurl?
>> 
>> Kind regards
>> Regina
>> 
>> 
>> 
>> Olivier Hallot schrieb:
>>> Hi
>>> 
>>> I had to clone from scratch my LO repo and I fixed a patch. On
>>> attempting to push branch 'cla' I get
>>> 
>>> git push origin cla:refs/for/master
>>> fatal: remote error: access denied or repository not exported: /help
>>> 
>>> while running
>>> 
>>> tdf at olivier-ntbk:~/git/core$ ./logerrit test
>>> Enter passphrase for key '/home/tdf/.ssh/mykey-fdo':
>>> Your gerrit setup was successful!
>>> 
>>> 
>>> I am lost here. Any help is appreciated.
>>> 
>>> Thank you
>> 
>> _______________________________________________
>> LibreOffice mailing list
>> LibreOffice at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
> 
> -- 
> Olivier Hallot
> Comunidade LibreOffice 
> Rio de Janeiro - Brasil
> 
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list