OpenStack code review report generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins 46f048ff2f OpenDev Migration Patch 4 months ago
bin Append a new section to neutron dashboard 2 years ago
reviewday Merge "Add support for custom namespaces" 1 year ago
.gitignore Ignore editor backup files. 5 years ago
.gitreview OpenDev Migration Patch 4 months ago
CHANGELOG Updates for 0.2.0. 6 years ago
LICENSE.txt Update copyright in license file to add HP 2013 6 years ago
MANIFEST.in Add MANIFEST.in to include addl files in sdist pkg 5 years ago
README.md Add support for custom namespaces 1 year ago
bindep.txt Move other-requirements.txt to bindep.txt 3 years ago
requirements.txt Use pip to install gerrit-dash-creator 3 years ago
setup.py setup.py has a tox error, making reviewday fail gating 2 years ago
test-requirements.txt Add requirements files, tox.ini updates 3 years ago
tox.ini Fix pep8 test 1 year ago

README.md

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
      #Add a custom namespace like this. Defaults to 'openstack/'
  - name: openstack-infra/tripleo-ci
    launchpad_project: tripleo

License

See LICENSE.txt for further details.