OpenStack code review report generator
46f048ff2f
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. |
||
---|---|---|
bin | ||
reviewday | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
CHANGELOG | ||
LICENSE.txt | ||
MANIFEST.in | ||
README.md | ||
requirements.txt | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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
- Git clone the project.
- Install Python libraries for launchpadlib and cheetah.
- 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
#Add a custom namespace like this. Defaults to 'openstack/'
- name: openstack-infra/tripleo-ci
launchpad_project: tripleo
License
See LICENSE.txt for further details.