Skip to main content

Simple client for GitHub issues

Project description

Introduction

hubugs is a very simple client for working with GitHub’s issue tracker.

Requirements

hubugs requires Python v2.6 or above. hubugs’s mandatory dependencies outside of the standard library are argh, github2, Jinja and Pygments.

If you would like coloured terminal output, then you will need termcolor.

Configuration

Before using hubugs you must declare your authentication settings, so that we can access the API.

You first need to define your GitHub user name:

$ git config --global github.user username

And then you need to define your GitHub API token, this can be found in the account admin tab of your GitHub account page:

$ git config --global github.token token

If you wish to set the authentication information from the command line you can use the GITHUB_USER and GITHUB_TOKEN environment variables. For example:

$ GITHUB_USER=jnrowe GITHUB_TOKEN=xxx hubugs open

Contributors

I’d like to thank the following people who have contributed to hubugs.

Patches

<Your name here?>

Bug reports

  • Brandon Cady

Ideas

  • James Gray

  • Matt Leighy

  • Jules Marleau

If I’ve forgotten to include your name I wholeheartedly apologise. Just drop me a mail and I’ll update the list!

Hacking

Patches and pull requests are most welcome, but I’d appreciate it if you could follow the guidelines below to make it easier to integrate your changes. These are only guidelines however, and as such can be broken if the need arises or you just want to convince me that your style is better.

  • PEP 8, the style guide, should be followed where possible.

  • While support for Python versions prior to v2.6 may be added in the future if such a need were to arise, you are encouraged to use v2.6 features now.

  • All new classes, methods and functions should be accompanied by new doctest examples and reStructuredText formatted descriptions.

  • Tests must not span network boundaries, use of a mocking framework is acceptable.

  • doctest tests in modules are only for unit testing in general, and should not rely on any modules that aren’t in Python’s standard library.

  • Functional tests should be in the doc directory in reStructuredText formatted files, with actual tests in doctest blocks. Functional tests can depend on external modules, but those modules must be Open Source.

New examples for the doc directory are as appreciated as code changes.

Bugs

If you find any problems, bugs or just have a question about this package either file an issue or drop me a mail.

If you’ve found a problem please attempt to include a minimal testcase so I can reproduce the problem, or even better a patch!

Project details


Download files

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

Source Distribution

hubugs-0.11.0.tar.gz (39.5 kB view details)

Uploaded Source

File details

Details for the file hubugs-0.11.0.tar.gz.

File metadata

  • Download URL: hubugs-0.11.0.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hubugs-0.11.0.tar.gz
Algorithm Hash digest
SHA256 c0620f56913e6716dc8a747f4ebed69791f462c210ae8ab9588c81f98762f249
MD5 f843db30f3c7593111b9664a75fb283c
BLAKE2b-256 02d54d5bb918ae330d45c19dbb279e18d551fe4c6e034c7238c4ebf6f02498ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page