Skip to content

kk7ds/openstack-gerrit-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple and very hacky thing to show a dashboard of commits
that are in the various check/gate queues. Usage is:

Usage: dash.py [options] [<username or review ID>]

Options:
  -h, --help            show this help message and exit
  -u USER, --user=USER  Gerrit username
  -P PASSWD, --passwd=PASSWD
                        Gerrit password. For example, you can get this from
                        https://review.openstack.org/#/settings/
  -r REFRESH, --refresh=REFRESH
                        Refresh in seconds
  -o OWNER, --owner=OWNER
                        Show patches from this owner
  -c CHANGE, --change=CHANGE
                        Show a particular patch set.
                        Can be specified multiple times.
  -p PROJECTS, --projects=PROJECTS
                        Comma separated list of projects
  -t TOPIC, --topic=TOPIC
                        Show a particular topic only
  -q QUERY, --query=QUERY
                        Show changes according to a gerrit query
  -w, --watched         Show changes for all watched projects
  -s, --starred         Show changes for all starred commits
  -O OPERATOR, --operator=OPERATOR
                        Join query elements with this operator (OR or AND).
                        The default is AND.
  -j, --jenkins         Show jenkins scores for patches already verified
  -Z, --dump-zuul       Dump zuul data
  -G, --dump-gerrit     Dump gerrit data


Examples:

$ ./dash.py
Queue: check
  3: (31842,4 ) Add base mixin class for object lists
  8: (31991,2 ) Fix obj_load() in NovaObject base class

$ ./dash.py -o cbehrens
Queue: check
Queue: gate
   9: (29288,14) Allocate networks in the background

$ ./dash.py -c 31991
Queue: check
   3: (31991,2 ) Fix obj_load() in NovaObject base class

$ ./dash.py -p openstack/nova
Queue: gate
   8: (30511,5 ) Moving more tests to appropriate locations
   9: (31841,4 ) Keypair API test cleanup
Queue: check
   1: (32031,1 ) Bump stable/grizzly next version to 2013.1.3
   3: (29523,9 ) Make _deallocate_network async
   5: (32040,1 ) Moves scheduler.rpcapi.prep_resize call on compute.api to conductor
  13: (30822,6 ) Fix VMwareVCDriver to support multi-datastore
  15: (31952,8 ) xenapi: remove auto_disk_config check during resize

$ ./dash.py -r 60 -c 523958 -c 532290 mriedem
Queue: check (2/134)
     (523958,18) libvirt: QEMU native LUKS decryption for encrypted volumes
     (532290,8) Add get_traits() method to ComputeDriver



Notes:

* It used to be possible to just use your public ssh key for gerrit but with
  the latest version of dash you have to supply your password for HTTP. So if
  you are getting a 401 be sure that you are supplying the --user and --passwd
  options on the command line and that the password matches what's in your
  gerrit settings at https://review.openstack.org/#/settings/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages