[openstack-dev] Gerrit tools

Flavio Percoco flavio at redhat.com
Tue Oct 22 06:37:38 UTC 2013


On 21/10/13 15:55 +0000, Joshua Harlow wrote:
>I am using gerritlib in the curses ui; seems to work nicely.
>
>Only 1 thing that I don't like so much is that it silences connection/other errors from what I can tell.
>
>See _run() method in https://github.com/openstack-infra/gerritlib/blob/master/gerritlib/gerrit.py

I started migrating some of the OpenStack tools to python-gerrit a
couple of months ago, I still have that code somewhere in my laptop, I
hope.

I think that gerritlib API could be improved a lot from python-gerrit,
plus query combinations in gerritlib are a bit limited due to how
they're expressed there. At least the last time I checked.

I'll take some time in the next few weeks to work on that.

@Joshua, do you mind taking a look at python-gerrit and provide some
feedback or use it? :D

Cheers,
FF

>
>Otherwise pretty easy to use.
>
>Sent from my really tiny device...
>
>> On Oct 21, 2013, at 4:46 AM, "Sean Dague" <sean at dague.net> wrote:
>>
>>> On 10/21/2013 04:04 AM, Flavio Percoco wrote:
>>>> On 20/10/13 05:01 +0000, Joshua Harlow wrote:
>>>> I created some gerrit tools that I think others might find useful.
>>>>
>>>> https://github.com/harlowja/gerrit_view
>>>
>>>
>>> I worked on this Python library for Gerrit[0] a couple of months ago and
>>> I've been using it for this gerrit-cli[1] tool. I was wondering if you'd
>>> like to migrate your Gerrit queries and make them use python-gerrit
>>> instead? I can do that for you.
>>>
>>> [0] https://github.com/FlaPer87/python-gerrit
>>> [1] https://github.com/FlaPer87/gerrit-cli
>>>
>>> BTW, Big +1 for the curses UI!
>>
>> Also realize that OpenStack maintains gerritlib - https://github.com/openstack-infra/gerritlib
>>
>> Which anyone can contribute to (and is the code that every message posted back to gerrit by a bot users). It would actually be nice to enhance gerritlib if there were enough features missing that are in python-gerrit.
>>
>>    -Sean
>>
>> --
>> Sean Dague
>> http://dague.net
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 
@flaper87
Flavio Percoco



More information about the OpenStack-dev mailing list