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

Matt Fredrickson creslin at digium.com
Fri Mar 29 15:38:58 CDT 2019


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



More information about the asterisk-dev mailing list