[openstack-dev] Announcing Gertty 1.0.0: A console interface to Gerrit

James E. Blair corvus at inaugust.com
Fri Sep 5 01:07:32 UTC 2014


corvus at inaugust.com (James E. Blair) writes:

> If you're ready to give it a shot, here's what to do:
>
>   pip install gertty
>   wget https://git.openstack.org/cgit/stackforge/gertty/plain/examples/openstack-gertty.yaml -O ~/.gertty.yaml
>   # edit ~/.gertty.yaml and update anything that says "CHANGEME"
>   gertty
>
> It will walk you through what to do next.  For help on any screen, hit
> F1 or "?".
>
> For more information on installation or usage, see the README here:
> https://pypi.python.org/pypi/gertty

Of course it's that easy.  If you already have a Gerrit HTTP password.

But you probably don't.

Gertty uses Gerrit's new REST API, all over HTTP.  To dodge all those
complicated issues about how to authenticate a REST API user when web
access is authenticated with OpenID or LDAP or x.509 or whatever, Gerrit
can generate a password for use with the REST API.  To do this, visit
the following URL:

  https://review.openstack.org/#/settings/http-password

And click "Generate Password".  Copy the resulting value into your
~/.gertty.yaml file.

Also, if you aren't into saving passwords in plain text files, you can
omit the password entry entirely from the YAML file, and Gertty should
prompt you to enter it on startup.  You'll still need to use the
randomly generated password from Gerrit as described above.

-Jim



More information about the OpenStack-dev mailing list