@mattpolzin/harmony 5.6.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -7
- package/harmony +850 -720
- package/man/harmony.1 +38 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
% harmony(1) Version 5.
|
|
1
|
+
% harmony(1) Version 5.8.0 | Harmony User's Guide
|
|
2
2
|
|
|
3
3
|
# NAME
|
|
4
4
|
Harmony - Harmonize with coworkers around GitHub reviewing
|
|
@@ -6,14 +6,14 @@ Harmony - Harmonize with coworkers around GitHub reviewing
|
|
|
6
6
|
# SYNOPSIS
|
|
7
7
|
`harmony branch` \
|
|
8
8
|
`harmony config {property} [value]` \
|
|
9
|
-
`harmony contribute [options]
|
|
9
|
+
`harmony contribute [options]` \
|
|
10
10
|
`harmony graph [options] {team-slug}` \
|
|
11
11
|
`harmony health` \
|
|
12
12
|
`harmony help [subcommand]` \
|
|
13
13
|
`harmony label {label} [...]` \
|
|
14
14
|
`harmony list [team-slug]` \
|
|
15
15
|
`harmony pr [options]` \
|
|
16
|
-
`harmony quick` \
|
|
16
|
+
`harmony quick [options]` \
|
|
17
17
|
`harmony reflect` \
|
|
18
18
|
`harmony request {team-slug | +user-login} [options]` \
|
|
19
19
|
`harmony rq {team-slug | +user-login} [options]` \
|
|
@@ -200,10 +200,10 @@ Not all configuration properties can be read/set with this command.
|
|
|
200
200
|
### Properties
|
|
201
201
|
|
|
202
202
|
`requestTeams` (`true`/`false`)
|
|
203
|
-
: When picking a
|
|
203
|
+
: When picking a team to review, request review from the whole team, not just one user on the team. If you have GitHub configured to pick a member of a team to review when the team is requested, you probably want to set this to `true` so harmony tells GitHub the team from which GitHub should then pick an individual.
|
|
204
204
|
|
|
205
205
|
`requestUsers` (`true`/`false`)
|
|
206
|
-
: When requesting a team
|
|
206
|
+
: When requesting a team to review, pick a user from the team to review as well. If you have GitHub configured to pick a member of a team to review when the team is requested, you probably want to set this to `false` so harmony does not also pick a user.
|
|
207
207
|
|
|
208
208
|
`commentOnRequest` (`none`/`name`/`at-mention`)
|
|
209
209
|
: When requesting a reviewer chosen by Harmony, comment on the pull request or not.
|
|
@@ -312,7 +312,7 @@ organization.
|
|
|
312
312
|
|
|
313
313
|
Running `harmony list <team>` will list the members of the given GitHub Team.
|
|
314
314
|
|
|
315
|
-
## `pr [--draft] [#label, ...]`
|
|
315
|
+
## `pr [--draft] [-i/--into {<branch-name>}] [#label, ...]`
|
|
316
316
|
With a branch checked out will reach out to GitHub to determine if there is an
|
|
317
317
|
open PR for that branch. If there is a PR, Harmony will print a URI that can be
|
|
318
318
|
used to view the PR. If there is not a PR, Harmony will help you create one. New
|
|
@@ -328,6 +328,14 @@ editor. If you do not have an `EDITOR` environment variable set, you will still
|
|
|
328
328
|
be able to enter a description from the command line but PR templates are only
|
|
329
329
|
supported when an `EDITOR` is specified.
|
|
330
330
|
|
|
331
|
+
If you are creating a new PR from a branch that refers to a GitHub issue (and
|
|
332
|
+
you have GitHub branch parsing enabled in your harmony config) then harmony will
|
|
333
|
+
prepend the issue information onto your new PR description in a commented out
|
|
334
|
+
block for you to reference or copy into the PR description as needed.
|
|
335
|
+
|
|
336
|
+
You can specify the branch to merge into via the `--into` CLI argument if you
|
|
337
|
+
want to as an alternative to the interactive prompt.
|
|
338
|
+
|
|
331
339
|
You can also specify any number of labels to apply by prefixing them with '#'.
|
|
332
340
|
For example, `harmony pr #backport #bugfix` would create a PR and apply the
|
|
333
341
|
`backport` and `bugfix` labels.
|
|
@@ -351,7 +359,13 @@ Create a PR for the current branch and add the `urgent` label:
|
|
|
351
359
|
harmony pr #urgent
|
|
352
360
|
```
|
|
353
361
|
|
|
354
|
-
|
|
362
|
+
Create a pull request that will merge into the hypothetical pre-existing
|
|
363
|
+
`release/2_0` branch:
|
|
364
|
+
```shell
|
|
365
|
+
harmony pr --into release/2_0
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
## `quick [--bugfix] [issue-title] [...]`
|
|
355
369
|
Helps you create a new GitHub issue and a branch to work on that issue all in
|
|
356
370
|
one go. The branch name will be structured such that if you have GitHub branch
|
|
357
371
|
parsing on then the PR you create for the branch later on will refer to the
|
|
@@ -360,6 +374,11 @@ issue created now.
|
|
|
360
374
|
By default the branch created will be prefixed with `feature` but if you specify
|
|
361
375
|
the `--bugfix` flag then the branch's prefix will be `bugfix`.
|
|
362
376
|
|
|
377
|
+
Any additional arguments other than `--bugfix` will be used as the issue's
|
|
378
|
+
title. If you don't specify the title as additional arguments, you will be
|
|
379
|
+
prompted for one interactively. You will also be prompted for an issue
|
|
380
|
+
description.
|
|
381
|
+
|
|
363
382
|
## `reflect`
|
|
364
383
|
Show a summary of your review requests and authored pull requests.
|
|
365
384
|
|