80b63eced6
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 |
||
---|---|---|
bin | ||
reviewday | ||
.gitignore | ||
.gitreview | ||
CHANGELOG | ||
LICENSE.txt | ||
README.md | ||
setup.py | ||
tox.ini |
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
- Git clone the project.
- Install Python libraries for launchpadlib and cheetah.
- 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.