Project

michael

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Operate with github to get PRs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 0.12.2
~> 10.0
~> 3.0
~> 0.17.0

Runtime

~> 4.0
~> 1.18.0
~> 0.7.2
~> 0.20.0
~> 0.3.2
~> 0.2.0
~> 0.19
 Project Readme

Michael

Install

gem install michael

Usage

Commands:
  michael auth                # Authorize michael with github API token
  michael help [COMMAND]      # Describe available commands or one specific command
  michael repos [SUBCOMMAND]  # Follow repositories and list opened PRs
  michael version             # michael version

  michael repos edit            # Edit list of repos to follow
  michael repos help [COMMAND]  # Describe subcommands or one specific subcommand
  michael repos prs             # List open PRs

  michael repos prs
    Options:
      -h, [--help], [--no-help]                    # Display usage information
      -e, [--show-empty], [--no-show-empty]        # List watched repos that have no open PRs
      -s, [--skip-self], [--no-skip-self]          # Skip PRs created by the current user
      -p, [--hide-approved], [--no-hide-approved]  # Hide PRs that are approved and have no requests for changes
      -n, [--needs-review], [--no-needs-review]    # Show only ones which do not have any reviews yet
      -t, [--actionable], [--no-actionable]        # List only actionable PRs. These are PRs which you did not
                                                     review yet, or ones which were updated after your review

michael repos prs usually would produce the following output:

org/repo:
#57 ++x..+ ??X Pull request title Michael last update 17 hour(s) ago | Requested changes: Alice | Commented: George, Bob
\-/ \----/ \-/ \----------------/ \-----/ \------------------------/ \------------------------/ \----------------------/
 |   |      |   |                  |       |                          |                          |
 |   |      |   | Title of the PR  |       | Readable imprecise       | This block appear when   | This block appears when someone 
 |   |      |                      |       | last update. Shows only  | someone has requested    | has left a comment on the PR
 |   |      |                      |       | the largest time unit    | a change
 |   |      | PR review statuses.  |
 |   |      | It shows whether     | the author of the pull request
 |   |      | the PR has been 
 |   |      | approved, commented, changes were requested
 |   |      | or there was no reviewer assigned
 |   |
 |   | Statuses checks. Shows whether a status passed, in progress,
 |   | failed, or whether there was no status runs
 |
 | PR number

Status checks:

  • + - completed successfully;
  • . - in progress;
  • x - failed;
  • - - no status checks were run.

PR review statuses:

  • ^ - approved;
  • ? - commented;
  • X - changes requested;
  • - - no reviewers were assigned.