Re: logerrit error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

The problem is resolved now. Thanks to samuel_m , tml_ , buovjaga in irc #libreoffice-dev

It was due to the permission given to the config file.

The mistake I did was made the ~/.ssh/config file as root
You can check ls -l ~/.ssh/config to see permission with the file.
Current output: -rw-r--r-- 1 shubham shubham 141 Mar  6 19:56 /home/shubham/.ssh/config. Which is fine.

//--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Also, logerrit will not run if using a firewall or proxy. Please don't use them. Even a school, institution body use firewall to protect their servers etc. So use an alternative private network. Or check if the port 29418 is open.

The ssh -vvvv logerrit output, where my logerrit failed.

ssh -vvvv logerrit
OpenSSH_7.6p1 Ubuntu-4ubuntu0.2, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /home/shubham/.ssh/config
debug1: /home/shubham/.ssh/config line 1: Applying options for logerrit
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "gerrit.libreoffice.org" port 29418
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to gerrit.libreoffice.org [89.238.68.148] port 29418.
debug1: connect to address 89.238.68.148 port 29418: Connection timed out
debug1: Connecting to gerrit.libreoffice.org [2a00:1828:a012:148::1] port 29418.
debug1: connect to address 2a00:1828:a012:148::1 port 29418: Network is unreachable
ssh: connect to host gerrit.libreoffice.org port 29418: Network is unreachable.

Thanks again to all.

On Wed, 6 Mar 2019 at 04:06, Regina Henschel <rb.henschel@xxxxxxxxxxx> wrote:
Hi,

shubham goyal schrieb am 05-Mar-19 um 08:34:
> Hey, I want to submit my patches in Gerrit for review. But here are some
> errors.
>
>   ./logerrit test
>

First you made your changes.

Then use
        git add
to tell git which files you want to commit

Then use
        git commit -m " your comment"
to generate the commit.
Please notice, that in case your patch belongs to a bug, your comment
starts with tdf#123456 (of cause not this dummy number but the actual one).
And notice, that the second line of the comment must be empty.
And notice, that there is no automatic word wrap, but you must manually
take care, that the comment lines are shorter than 70 characters.

Then use
       ./logerrit submit master
You should then be ask for your ssh-passphrase.

Kind regards
Regina

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux