mypr

command module
v0.0.0-...-e8abe22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

My Pull Requests utility

Checks status of pull requests on Bitbucket server. It is useful to quickly check status of your pull requests without surfing web interface. Colors for user status:

  • GREEN - approved
  • YELLOW - needs work
  • CYAN - not approved

Installation

On Linux with gnome keyring (you also need libsecret-devel, see https://github.com/tmc/keyring for details): go get -tags gnome_keyring github.com/yauhen-l/mypr

On macOS: go get github.com/yauhen-l/mypr

Make sure $GOPATH/bin is in your $PATH.

Create config, where user is your Bitbucket slug:

> cat <<EOT >> ~/.config/mypr.yaml
url: "https://yourbitbucket.com"
user: yauhen-l
useKyring: true
EOT

BTW, you also can add password: XXXX section in config, but on your own risk.

Usage

> mypr
Enter Password(yauhenl):
PR-1
        test
        https://yourbitbucket.com/projects/PROJ/repos/test/pull-requests/84
        APPROVED: 5
        UNAPPROVED: 1
          vasa: bad style
            yauhen-l: fixed

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL