Collect issues from multiple bitbucket repositories and generate a nice html page.
Project description
The gocept.bbissues distribution
Collect open issues from multiple bitbucket repositories and generate a nice html page.
This package is compatible with Python version 2.7.
Installation
Install the package using PIP:
$ pip install gocept.bbissues
Configuration
You have to provide a config file with the following content:
[config] log = issues.log # The next line is optional it defaults to index.jj2 in the package template_path = template.jj2 [bitbucket] projects = owner:project1 owner:project2 [github] projects = owner:project1 owner:project2
The template will be rendered using jinja2, and could have the following content:
{% for project in projects %} <h2>{{project.name}}</h2> {% for issue in project.issues %} <h3>{{issue.title}}</h3> <pre> {{issue.title}} {{issue.content}} {{issue.status}} {{issue.created}} {{issue.priority}} {{issue.url}} {{issue.author}} </pre> {% endfor %} {% endfor %}
Usage
Call it using:
$ <path to bin directory>/bbissues --config <path to config file>
It prints the generated HTML to the console. You might need to redirect the output to a file.
Developing gocept.bbissues
- Author:
- PyPI page:
- Issues:
- Source code:
- Current change log:
https://bitbucket.org/gocept/gocept.bbissues/raw/tip/CHANGES.rst
Change log for gocept.bbissues
0.3 (2016-01-13)
Don’t pull closed tickets from Bitbucket. (#4)
Enhanced documentation.
0.2 (2016-01-13)
Add Github as issue source. (#3)
0.1 (2015-04-08)
initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.