Skip to main content

Simple command-line app for querying assigned Issues and PRs from Github.

Project description

Build Status

gitmine

Stop getting buried under countless Github Issues and PRs. Organize, reference, and close with ease.

Based on the amazing work done by Github itself on hub and Github CLI (released while we were working on this project. Must've been on to something). I view this as a natural extension of the gh command for easy access to Issues and PRs from anywhere in your command line.

Who is this for?

I work on a lot of projects across many repositories. It was a pain in the a$$ to keep track of all the Issues I was assigned and PRs I had to review. Some tools provided a quick way to see Issues from one repository, but I needed a quick way to view, organize and open from any of these projects, thus gitmine was born.

If you aren't a heavy user of Github or maybe only have one repository you focus on, this is probably more than you need.

Usage

Command Line Arguments

Usage: gitmine [OPTIONS] COMMAND [ARGS]...

  Simple command-line tool for querying assigned Issues and PR reviews from
  Github.

Options:
  -v, --verbose  Give more output. Option is additive, and can be used up to
                 three times.
  --help         Show this message and exit.

Commands:
  config  Set or Access Github Config information.
  get     Get assigned Github Issues and/or Github PRs.
  go      Open a browser page for the given repositiory / issue.

Config

If you already have the Github CLI installed and setup, congrats! You can skip this section. gitmine automatically piggy-backs on Github CLI's config to access your Github information. To use gitmine you will first need to generate a Personal Access Token. You can follow the instructions here.

gitmine config username ~git-username~
gitmine config token ~git-token~

Installation

From PyPi

pip install gitmine

From source

pip install 'git+https://github.com/joecummings/gitmine.git'

Contributing

See Contributing.md

Common Errors and FAQ's

  • Running gitmine get prs with the wrong username will not error but return nothing

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

gitmine-0.0.10.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

gitmine-0.0.10-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file gitmine-0.0.10.tar.gz.

File metadata

  • Download URL: gitmine-0.0.10.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for gitmine-0.0.10.tar.gz
Algorithm Hash digest
SHA256 df132d58ae05bc5bf84e9c432adbf266bca57deda7c7bae8546b3a79ea6d3132
MD5 1f4bbc6766e1a0acd0cc44cebf176944
BLAKE2b-256 f36be5853a5fd6de0f815c87f270b09aefd4d43a9ba03293a14f04656badffbf

See more details on using hashes here.

File details

Details for the file gitmine-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: gitmine-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for gitmine-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4a2d78c6dbcad9625b78d427fea4ba60063ef5e2abdfdbb6bce6fa1c3225d4f8
MD5 a11cb4abbc47081a98aa56bcd5dfdb4a
BLAKE2b-256 b19fa2432e8d804390a7f8d944ec33068c31f4d69e4617b5f68a114b513af3f7

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