@mattpolzin/harmony 5.7.0 → 6.0.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.
Files changed (4) hide show
  1. package/README.md +21 -8
  2. package/harmony +3453 -2794
  3. package/man/harmony.1 +29 -9
  4. package/package.json +2 -3
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- % harmony(1) Version 5.7.0 | Harmony User's Guide
1
+ % harmony(1) Version 6.0.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] {uri | pr-number}` \
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]` \
@@ -48,6 +48,13 @@ particular release will build against.
48
48
  Alternatively, you can build Harmony with Docker (see
49
49
  [Docker Build](#docker-build)).
50
50
 
51
+ ### Testing
52
+ Tests can be run with `make test`. You'll need a few common tools in your `PATH`
53
+ to run all the tests:
54
+ - `realpath`
55
+ - `sed`
56
+ - `xargs`
57
+
51
58
  ## Installation
52
59
  For any installation, you need to have a GitHub
53
60
  [Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).
@@ -200,10 +207,10 @@ Not all configuration properties can be read/set with this command.
200
207
  ### Properties
201
208
 
202
209
  `requestTeams` (`true`/`false`)
203
- : When picking a reviewer from a team, request the team as a reviewer as well.
210
+ : 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
211
 
205
212
  `requestUsers` (`true`/`false`)
206
- : When requesting a team as a reviewer, pick a user to review as well.
213
+ : 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
214
 
208
215
  `commentOnRequest` (`none`/`name`/`at-mention`)
209
216
  : When requesting a reviewer chosen by Harmony, comment on the pull request or not.
@@ -312,12 +319,13 @@ organization.
312
319
 
313
320
  Running `harmony list <team>` will list the members of the given GitHub Team.
314
321
 
315
- ## `pr [--draft] [-i/--into {<branch-name>}] [#label, ...]`
322
+ ## `pr [--draft | --ready] [-i/--into {<branch-name>}] [#label, ...]`
316
323
  With a branch checked out will reach out to GitHub to determine if there is an
317
324
  open PR for that branch. If there is a PR, Harmony will print a URI that can be
318
325
  used to view the PR. If there is not a PR, Harmony will help you create one. New
319
326
  and existing PRs can be marked as drafts by specifying the `--draft` flag with
320
- the `pr` command.
327
+ the `pr` command or they can be marked as ready for review with the `--ready`
328
+ flag. The default behavior for new PRs is to mark them ready.
321
329
 
322
330
  If you need to create a PR still, you will be prompted for a branch to open the
323
331
  PR against (merge into, eventually), a title for the PR, and a description for
@@ -365,7 +373,7 @@ Create a pull request that will merge into the hypothetical pre-existing
365
373
  harmony pr --into release/2_0
366
374
  ```
367
375
 
368
- ## `quick [--bugfix]`
376
+ ## `quick [--bugfix] [issue-title] [...]`
369
377
  Helps you create a new GitHub issue and a branch to work on that issue all in
370
378
  one go. The branch name will be structured such that if you have GitHub branch
371
379
  parsing on then the PR you create for the branch later on will refer to the
@@ -374,6 +382,11 @@ issue created now.
374
382
  By default the branch created will be prefixed with `feature` but if you specify
375
383
  the `--bugfix` flag then the branch's prefix will be `bugfix`.
376
384
 
385
+ Any additional arguments other than `--bugfix` will be used as the issue's
386
+ title. If you don't specify the title as additional arguments, you will be
387
+ prompted for one interactively. You will also be prompted for an issue
388
+ description.
389
+
377
390
  ## `reflect`
378
391
  Show a summary of your review requests and authored pull requests.
379
392