Permission not granted to push my patch

Cyrille lafricain79 at gmail.com
Sat May 4 10:43:34 UTC 2019



Il 04/05/2019 11:49, Kaganski Mike ha scritto:
> Hi,
>
> On 04.05.2019 12:45, Cyrille wrote:
>> I tried:
>> git push ssh://lafricain@gerrit.libreoffice.org:29418/dictionaries 
>> HEAD:refs/for/master
>>
>> I got now this error:
>> remote: Resolving deltas: 100% (1/1)
>> remote: Processing changes: refs: 1, done
>> remote: ERROR: [b5f81e8] missing Change-Id in commit message footer
>> remote:
>> remote: Hint: To automatically insert Change-Id, install the hook:
>> remote:   gitdir=$(git rev-parse --git-dir); scp -p -P 29418 
>> lafricain at gerrit.libreoffice.org:hooks/commit-msg ${gitdir}/hooks/
>> remote: And then amend the commit:
>> remote:   git commit --amend
>> remote:
>> To ssh://gerrit.libreoffice.org:29418/dictionaries
>>   ! [remote rejected] HEAD -> refs/for/master ([b5f81e8] missing 
>> Change-Id in commit message footer)
> The cited hint seems pretty obvious? ;-)
My knwonledge of gerrit is really basic even level zero :) But yes you
are right it is pretty obvious (I didn't read well)... It seems to be ok
now, I did:
gitdir=$(git rev-parse --git-dir); scp -p -P 29418
lafricain at gerrit.libreoffice.org:hooks/commit-msg ${gitdir}/hooks/

Then:
git commit --amend

And finally the command runs without errors:
git push ssh://lafricain@gerrit.libreoffice.org:29418/dictionaries
HEAD:refs/for/master
Enter passphrase for key '/home/cyrille/.ssh/id_rsa':
Décompte des objets: 13, fait.
Delta compression using up to 4 threads.
Compression des objets: 100% (12/12), fait.
Écriture des objets: 100% (13/13), 14.14 KiB | 4.71 MiB/s, fait.
Total 13 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: new: 1, refs: 1, done   
remote:
remote: New Changes:
remote:   https://gerrit.libreoffice.org/71791 New hunspell dic for
Kituba (CD and CG)
remote:
To ssh://gerrit.libreoffice.org:29418/dictionaries
 * [new branch]      HEAD -> refs/for/master


>




More information about the LibreOffice mailing list