Tool to produce static HTML that shows progress during a Bug Day
Go to file
Elizabeth Krumbach Joseph f14d070ed9 Add tox.ini, setup.py and do syntax cleanup
Add tox.ini and setup.py files.

Do syntax cleanup of bugdaystats.py so checks pass now with tox.ini
applied.

Also update .git files.

Change-Id: I7a65138bab4cb5e1194e0b35c94a847df70e3004
2014-03-11 16:13:25 -07:00
output/js Initial import 2012-12-21 16:08:08 +01:00
templates Support status.openstack.org header/footer 2013-03-29 17:18:29 +01:00
.gitignore Add tox.ini, setup.py and do syntax cleanup 2014-03-11 16:13:25 -07:00
.gitreview Add tox.ini, setup.py and do syntax cleanup 2014-03-11 16:13:25 -07:00
bugdaystats.py Add tox.ini, setup.py and do syntax cleanup 2014-03-11 16:13:25 -07:00
config.js.sample Optionally rotate old data 2013-03-21 17:05:08 +01:00
LICENSE Initial import 2012-12-21 16:08:08 +01:00
README.rst Optionally rotate old data 2013-03-21 17:05:08 +01:00
setup.py Add tox.ini, setup.py and do syntax cleanup 2014-03-11 16:13:25 -07:00
tox.ini Add tox.ini, setup.py and do syntax cleanup 2014-03-11 16:13:25 -07:00

Bug Day Stats page generator

The bugdaystats.py script is used to extract data from Launchpad and produce static HTML that shows progress during a Bug Day.

Prerequisites

You'll need the following Python modules installed:
  • launchpadlib
  • jinja2

Usage

python bugdaystats.py output

'output' is the name of the directory you will generate data and HTML files to (if they don't exist yet). It should contain a 'js' subdirectory containing JavaScript include files, but otherwise be empty.

You'll need to run the script at least twice to generate enough stats to get a graph.

Stats are updated every time the script is run. You should run bugdaystats.py regularly over the course of your bugday.

Configuration

The config.js configuration file describes the projects you want to generate data for. "height" is an optional parameter detailing the size of the graph (230 pixels is the default value). "title" is an optional parameter for the name of the project in the index page.

You can also optionally specify a 'rotation' parameter. Entries older than the value (in days) will be removed from the dataset, resulting in a rolling view of bug activity.