Skip to content

Releases: mattpolzin/harmony

Add `label` command to add labels to a PR

04 Dec 17:23
8a05a26
Compare
Choose a tag to compare

Changes

breaking:

  • The minimum NodeJS requirement changed from v12 to v14.
  • Tab completion (bash completion) is not backwards compatible so you'll need to restart your shell, re-source your rc file, or re-run eval "$(harmony --bash-completion-script)" after updating from v1.x if you are using tab completion.

non-breaking:

  • Add a label command that adds one or more labels to a PR (and creates a PR if needed).

Notes

ℹ️ Harmony syncs its cache of users, teams, and labels once per day (when you run it). If you've run harmony in the past 24 hours before updating from v1.x to v2.x then you should run harmony sync manually to populate your local cache of labels so that tab completion for the label command works properly.


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.6.0.

Add `--completed` flag for `graph` command

01 Nov 04:44
6005c03
Compare
Choose a tag to compare

Changes

non-breaking:

  • Support graphing completed PR reviews with the new --completed flag for the graph command.

Notes

ℹ️ Harmony does not use completed PR reviews in calculating its weighted review workload; graphing completed PR reviews is just available to give the user a bigger picture.
ℹ️ This is the first release to require Idris 2 v0.6.0 -- The source code is no longer compatible with the v0.5.1 release of Idris 2.


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.6.0.

New `assignUsers` configuration option

11 Sep 03:46
37c7616
Compare
Choose a tag to compare

Harmony has always assigned users from teams because the biggest reason for Harmony existing is to supply a heuristic upon which such assignments can be made.

However, GitHub also supports two styles of automated review request: round robin and a balancing heuristic. The new config option that allows turning off Harmony's user assignment feature allows Harmony to be used with GitHub's automatic assignment because Harmony will provide a CLI for creating PRs and assigning teams after which GitHub will take over and assign individuals.

When this is desirable, Harmony definitely does less but it still surfaces a reasonable CLI to PR creation and team assignment, good auto-completion, and its reflect command is still useful.


Install via npm with npm install --global @mattpolzin/harmony.

You can build the source with Idris 2 v0.5.1

NPM Readme

24 Jul 17:25
a46333b
Compare
Choose a tag to compare

Changes

N/A

Notes

ℹ️ Going forward, the Harmony README will be packaged with NPM releases.


Install via npm with npm install --global @mattpolzin/harmony.

You can build the source with Idris 2 v0.5.1

Alt. PAT

23 Jul 20:02
7bfa620
Compare
Choose a tag to compare

Changes

non-breaking:

  • Allow the GitHub Personal Access Token to be specified in the config file under the githubPAT option as an alternative to setting it via the $GITHUB_PAT environment variable.

Notes

ℹ️ A GitHub Personal Access Token is still required. If the $GITHUB_PAT environment variable is set, that value will always be used. If no environment variable is set but the githubPAT option in the config file is set, that value will be used. You can set the config value with harmony config githubPAT abcde where abcde is your Personal Access Token.


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1

Stability

16 Jul 23:51
996743c
Compare
Choose a tag to compare

Changes

non-breaking:

  • Add configuration option for specifying the remote name used for pushing to GitHub if it should not be "origin"
  • Find a GitHub Pull Request template file whether Harmony is run from the root of the git repo or a subfolder.

Notes

ℹ️ This is the first technically stable release. I have not needed to create any breaking changes for a couple of versions and the app is quite useful in its current form, so it feels like time to commit to not breaking things for a while now.


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1

Who Am I Again?

15 Jul 07:19
27c82aa
Compare
Choose a tag to compare
Who Am I Again? Pre-release
Pre-release
  • Fix bug where color support and configuration was ignored for the list command which always output with ANSI formatting.
  • Make whoami output prettier by adding a bit of color and formatting.

Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1

Who Am I?

13 Jul 16:58
831e2e4
Compare
Choose a tag to compare
Who Am I? Pre-release
Pre-release

Adds a whoami command that prints information about the currently configured and authenticated user.


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1

`--checkout` option and `branch` command

13 Jul 00:57
be877af
Compare
Choose a tag to compare
  • The contribute command now has a --checkout option that checks the branch out in addition to printing the GItHub URI for the Pull Request in need of a review.
  • There is now a branch command that prints the GitHub URI for the currently checked out branch.
  • The help menu colors have changed slightly to be more visible against nearly-black terminal backgrounds.
  • The shell auto-completion handling has been slightly improved.

Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1

EDITOR support, pull request template support, NO_COLOR support

28 Mar 05:48
c3ce01a
Compare
Choose a tag to compare

Adds support for the NO_COLOR and EDITOR environment variables. The latter of which is used when asking for Pull Request descriptions, which now also support GitHub PR templates (or at least the specific case where a .github/PULL_REQUEST_TEMPLATE.md file is present).


Install via npm with npm install --global @mattpolzin/harmony or by downloading the attached harmony-npm.tar.gz file, extracting, and then running npm install -g from the unzipped folder to install globally on your system.

You can build the source with Idris 2 v0.5.1