Metadata-Version: 1.1
Name: gocept.bbissues
Version: 0.7
Summary: Collect issues from multiple bitbucket repositories and generate a nice html page.
Home-page: https://bitbucket.org/gocept/gocept.bbissues/
Author: gocept <mail@gocept.com>
Author-email: mail@gocept.com
License: ZPL 2.1
Description: ================================
        The gocept.bbissues distribution
        ================================
        
        Collect open issues from multiple bitbucket or github repositories and generate
        a nice html page or a file with json information about your projects.
        
        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
            html_export_path = export.html
            json_export_path = export.json
            # The next line is optional it defaults to index.jj2 in the package
            template_path = template.jj2
        
        
            [bitbucket]
            # The owner always has to be provided. All projects by this owner 
            # will be collected.
            owner = owner
            # Specific projects may be provided in the following way
            projects = owner:project1
                       owner:project2
        
            [github]
            # The owner always has to be provided. All projects by this owner 
            # will be collected.
            owner = owner
            # Specific projects may be provided in the following way
            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 saves the generated HTML to the file specified in config.
        
        
        
        ==========================
        Developing gocept.bbissues
        ==========================
        
        :Author:
            `gocept <http://gocept.com/>`_ <mail@gocept.com>
        
        :PyPI page:
            https://pypi.python.org/pypi/gocept.bbissues
        
        :Issues:
            https://bitbucket.org/gocept/gocept.bbissues/issues
        
        :Source code:
            https://bitbucket.org/gocept/gocept.bbissues
        
        :Current change log:
            https://bitbucket.org/gocept/gocept.bbissues/raw/tip/CHANGES.rst
        
        
        ==============================
        Change log for gocept.bbissues
        ==============================
        
        0.7 (2016-02-03)
        ================
        
        - Add time_rendered as a variable passed to the jinja2 template.
        
        - Add the count of comments to the issue/pullrequest and pass to template.
        
        - Read the owner from the config file and collect all projects from this owner.
        
        - Add new template that renders a table with filter options.
        
        - Export type (Issue, PullRequest) to JSON file.
        
        
        0.6 (2016-01-27)
        ================
        
        - Save HTML to a file which is specified in config. Made path to JSON file
          configurable.
        
        
        0.5 (2016-01-26)
        ================
        
        - Add JSON export for issues and pullrequest not older that `json_export_days`
          specified in config.
        
        
        0.4 (2016-01-14)
        ================
        
        - Improve error handling.
        
        
        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
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2 :: Only
