OpenStack code review report generator
Go to file
Dan Prince eac379040f Fix pep8 test
Change-Id: I570517386e4642cd5f47e32c18ffa5dff062f69e
2017-12-08 15:11:33 -05:00
bin Append a new section to neutron dashboard 2017-03-21 20:50:50 +00:00
reviewday Use pip to install gerrit-dash-creator 2016-04-19 14:47:58 +00:00
.gitignore Ignore editor backup files. 2013-10-31 17:56:46 +13:00
.gitreview Add a .gitreview file. 2013-01-30 20:25:47 +00:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 19:30:51 +02:00
CHANGELOG Updates for 0.2.0. 2013-01-10 10:18:59 -05:00
LICENSE.txt Update copyright in license file to add HP 2013 2013-02-26 18:10:49 +00:00
MANIFEST.in Add MANIFEST.in to include addl files in sdist pkg 2014-05-20 13:07:52 -07:00
README.md Ability to set the launchpad project name 2015-09-25 15:30:47 -04:00
requirements.txt Use pip to install gerrit-dash-creator 2016-04-19 14:47:58 +00:00
setup.py setup.py has a tox error, making reviewday fail gating 2016-11-21 05:34:28 -07:00
test-requirements.txt Add requirements files, tox.ini updates 2015-09-25 14:57:30 -04:00
tox.ini Fix pep8 test 2017-12-08 15:11:33 -05:00

ReviewDay

HTML report generator for OpenStack code reviews. Launchpad meets Gerrit.

Inspired by 'reviewlist' scripts written by Thierry Carez.

Description

HTML report generator which creates a prioritized review list w/ function test results. The report includes:

  • Prioritized listing of merge proposals by project
  • Direct links to gerrit code reviews
  • Direct links to test results for each branch (Unit, Libvirt, XenServer)

Installation

  1. Git clone the project.
  2. Install Python libraries for launchpadlib and cheetah.
  3. Setup your ssh credentials to work w/ Gerrit. See http://docs.openstack.org/infra/manual/developers.html#development-workflow for details.
	$ cat ~/.ssh/config 
	Host review
	  Hostname review.openstack.org
	  Port 29418
	  User dan-prince

Execution

PYTHONPATH=$PWD ./bin/reviewday

An output directory called 'out_report' is generated in the current directory.

Alternately you can execute reviewday in a tox environment by using:

   tox -erun

Customizing the projects

If you wish to customize the output of reviewday you can use the -p (--project-file) option to provide a custom project names file. This file should be a valid YAML/JSON file formatted like this:

projects:
  - name: dib-utils
  - name: diskimage-builder
  - name: tripleo-heat-templates
    launchpad_project: tripleo
  - name: tripleo-image-elements
    launchpad_project: tripleo
  - name: tripleo-incubator
    launchpad_project: tripleo

License

See LICENSE.txt for further details.