[asterisk-dev] Looking for help with gerrit for submitting an issue fix for review

Dan Cropp dan at amtelco.com
Fri Mar 29 16:34:15 CDT 2019


Thank you Matt.

When I type git remote, it returns origin.

I thought I followed the instructions from the wiki link you provided.  However, I will retry from scratch next week.

Have a great weekend!

Dan

-----Original Message-----
From: asterisk-dev <asterisk-dev-bounces at lists.digium.com> On Behalf Of Matt Fredrickson
Sent: Friday, March 29, 2019 3:39 PM
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Subject: Re: [asterisk-dev] Looking for help with gerrit for submitting an issue fix for review

On Fri, Mar 29, 2019 at 3:18 PM Dan Cropp <dan at amtelco.com> wrote:
>
> I have an issue fix I would like to commit for review.
>
>
>
> I was able to retrieve the asterisk master code from gerrit, edit the code, and put it through tests.
>
> I believe I have everything completed with the git message.
>
>
>
> When I try to submit it for review… (git review master)
>
>
>
> I am seeing the following…
>
>
>
> Could not connect to gerrit.
>
> Enter your gerrit username: daninmadison
>
> Trying again with 
> ssh://daninmadison@gerrit.asterisk.org:29418/asterisk.git
>
> <traceback object at 0x7f1da0fbbef0>
>
> We don't know where your gerrit is. Please manually create a remote
>
> named "gerrit" and try again.
>
> Could not connect to gerrit at 
> ssh://daninmadison@gerrit.asterisk.org:29418/asterisk.git
>
> Traceback (most recent call last):
>
>   File "/usr/bin/git-review", line 10, in <module>
>
>     sys.exit(main())
>
>   File "/usr/lib/python2.7/dist-packages/git_review/cmd.py", line 
> 1534, in main
>
>     sys.exit(e.EXIT_CODE)
>
> AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'
>
>
>
> Could someone provide some guidance on what I am doing wrong?

Do you have a remote called gerrit when you type git remote?

If you're not using it, the page that I usually use when setting up a new contribution repo is https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage

Best wishes!

--
Matthew Fredrickson
Digium - A Sangoma Company | Asterisk Project Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


More information about the asterisk-dev mailing list