Pull down bugs from GitHub and Bugzilla and dump them to common CSV
Перейти к файлу
Clint Talbert d0f7138072 Add ability to track blocking_b2g=tef+ bugs 2013-01-15 14:00:16 -08:00
.gitignore Add requirements file and initial tests. 2012-06-23 04:53:25 -06:00
README.rst README tweaks. 2012-06-23 06:32:07 -06:00
basecamp.sh Only pull blocking-basecamp bugs from github. 2012-07-13 09:28:50 -06:00
bughub.py Switching from 'task' to 'feature' label to designate github features 2012-09-26 10:54:25 -07:00
requirements.txt Add requirements file and initial tests. 2012-06-23 04:53:25 -06:00
runtests.sh Add requirements file and initial tests. 2012-06-23 04:53:25 -06:00
tef.sh Add ability to track blocking_b2g=tef+ bugs 2013-01-15 14:00:16 -08:00
test_bughub.py Switching from 'task' to 'feature' label to designate github features 2012-09-26 10:54:25 -07:00

README.rst

BugHub
======

Get bugs from GitHub and Bugzilla and dump them to a CSV file.

Usage::

    python bughub.py SOURCE [SOURCE] [...]

Each ``SOURCE`` is a string such as::

    github:user:repo:field=value

or::

    bugzilla:field=value

In either of the above cases, any number of ``field=value`` clauses can be
included in the source definition; they will be urlencoded and passed directly
to the relevant API as querystring parameters.

CSV output will go to stdout.

Use the ``-v`` or ``--verbose`` option to get debug logging to stderr.

See the included ``basecamp.sh`` for sample usage.

Requires Python 2.7 (or Python 2.6 with the ``argparse`` package installed).

Developing
----------

To install the requirements for running the tests::

    pip install -r requirements.txt

To run the tests and measure coverage::

    ./runtests.sh

To view test coverage data::

    firefox htmlcov/index.html