OpenStack code review report generator
Go to file
Dan Prince 80b63eced6 Make reviewday.json world readable.
Because we were using a python tempfile the reviewday.json
file was readable/writable only by the user that runs
bin/reviewday. Ideally this file would be world readable so
that Apache can host it properly.

In this commit we drop the use of python tempfile in
favor of just plain old open() which respects the
normal file permission settings.

This should fix a Forbidden access error I get when
trying to access http://status.openstack.org/reviews/reviewday.json
today.

Closes-bug: #1273833

Change-Id: I9e9a76e29f5c71f2496eef96a6dbf2496c42d973
2014-02-12 10:52:44 -05:00
bin Add identity-api to projects 2013-12-30 15:45:19 -06:00
reviewday Make reviewday.json world readable. 2014-02-12 10:52:44 -05: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
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
README.md Add LICENSE.txt. 2013-01-10 09:50:20 -05:00
setup.py Add tox.ini file and fix pep8 errors. 2013-01-30 19:43:07 +00:00
tox.ini Whitelist external lazr.authentication requirement 2014-01-06 03:48:37 +00:00

README.md

ReviewDay

HTML report generator for OpenStack code reviews. Launchpad meets SmokeStack and 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://wiki.openstack.org/GerritWorkflow 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.

License

See LICENSE.txt for further details.