Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi all, I was annoyed by the oververbose gerrit query output so I fixed
it for me.

I learned too late that David has something similar as logerrit
in the core repository. But it is in shell script, and I have written a
small query helper in python. It lists outstanding patches similar to
"git log" (it also uses less to show them). The output is like this:

id    : I078ad7bcd2b5dff39969deb44fd8a11076ce27c2 https://gerrit.libreoffice.org/233
Author: David Ostrovsky <David.Ostrovsky@gmx.de>
Date  : Fri Jun 22 07:19:12 2012, updated: Fri Jun 22 11:49:34 2012
Subject: polishing user interface

The code is at git://gitorious.org/querrit/querrit.git and requires
Python3. Check it out and do ./querrit -h for help. By default it tries
to connect to host logerrit (but you can override the host with a
parameter).

To test your connection do "querrit test", to do the standard query (all
open patches) simply do "querrit". To only see open patches that you
have starred, add "--qopts is:starred".

Feedback is welcome. I plan to add some config file support to be able
to configure the hostname. If I have plenty of time, I'll also add a
userfriendly "review" tool.

Just to let you know.
Sebastian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.