Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Automatically labels GitHub issues as console or web app based on regexp rules.

Project Description

GitHub Issues Bot for MI-PYT in FIT CTU in Prague. The program has two modes: console and web app. In console mode it labels issues (checks new one with the specified frequency) in the given repository by the issues itself and their comments, and in web mode the program labels new opened issue as soon as possible (by webhook notification and so one by one).

Link to testpypi.

Link to Read The Docs.

Requirements

Manual

Installation

Install package by typing the command:

python -m pip install --extra-index-url https://testpypi.python.org/pypi githubissuesbot

Running app

Then you may run the app by typing

python -m githubissuesbot or just githubissuesbot.

Type --help for command line manual.

Creating config files

Read how to generate configuration files by typing

python -m githubissuesbot genconf --help

or githubissuesbot genconf --help.

The app requires the following configuration files: auth.cfg (with GitHub personal access token), label.cfg (with available labels and the appropriate rules as regular expressions), secret.cfg (with webhook secret token) and web.cfg (web app uses it for reading info about other configuration files).

If you want to deploy this app on some host (tested on pythonanywhere), don’t forget to manually fix web_config_file value in web_app.py on line 39.

Type --help for command line manual.

Running tests

You may run tests by typing python setup.py test.

You must have file ./tests/fixtures/auth.cfg.truetoken.test, if you want to rewrite betamax cassettes.

Documentation

Go to package directory and type

pip install -r docs/requirements.txt

Then type the following command in order to generate documentation in HTML

cd docs && make html

And verify code and documentation consistency by typing

cd docs && make doctest

You can reindex package modules by typing from the package directory

python -m sphinx.apidoc -f -o docs githubissuesbot

Release History

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3.2

History Node

0.3.1

History Node

0.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
githubissuesbot-0.5.tar.gz (18.0 kB) Copy SHA256 Checksum SHA256 Source Nov 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting