Commit graph

192 commits

Author SHA1 Message Date
Mislav Marohnić
135efda6d3 Avoid re-wrapping of "could not determine suitable remote" error 2019-11-14 19:31:33 +01:00
vilmibm
237fd04ad0 use errors.Wrap 2019-11-13 15:00:57 -06:00
Mislav Marohnić
933086bae9 Merge remote-tracking branch 'origin/master' into pr-create 2019-11-13 19:31:02 +01:00
Mislav Marohnić
bb87f4a2fb Add pr create test for git clean state 2019-11-13 19:25:02 +01:00
Mislav Marohnić
e3e8647760 Eliminate package-level flags 2019-11-13 19:24:58 +01:00
Nate Smith
f7074c17e6 Merge pull request #55 from github/pr-status-checks
Add checks, reviews info to `pr status`
2019-11-13 12:08:46 -06:00
Nate Smith
2236bd3f7b Merge pull request #51 from github/colors
do not use color when stdout is not a terminal
2019-11-12 11:25:54 -07:00
Mislav Marohnić
6aa0c071d6 Simplify tests that use StubExecCommand 2019-11-11 17:04:26 +01:00
Mislav Marohnić
65054fdc6e Complete pr create test 2019-11-11 15:01:41 +01:00
Mislav Marohnić
ef4cadd8c9 Pass arbitrary params to CreatePullRequest 2019-11-11 14:09:24 +01:00
Mislav Marohnić
a275398dac Merge remote-tracking branch 'origin/master' into pr-create 2019-11-11 12:24:09 +01:00
Mislav Marohnić
8fea48146d Shorter representation of successful checks in pr status 2019-11-08 22:04:18 +01:00
Mislav Marohnić
f70accd3e0 pr status prints PR number in yellow
This matches `pr list`
2019-11-08 22:03:47 +01:00
Mislav Marohnić
e1f52fed01 Display checks, reviews on a new line to prevent terminal wrap 2019-11-08 21:04:47 +01:00
Mislav Marohnić
7419f7ae64 Add checks, reviews info to pr status 2019-11-08 21:04:47 +01:00
Mislav Marohnić
817820e464 Merge pull request #36 from github/release-mgmt
Release management
2019-11-08 19:08:09 +01:00
Mislav Marohnić
e7bebaeebc Inject production OAuth client ID+secret into release 2019-11-08 18:57:22 +01:00
Mislav Marohnić
8deaf21520 Avoiding copying release body to public release 2019-11-08 18:57:22 +01:00
Mislav Marohnić
daf291b6bc No need for GITHUB_TOKEN to bump-homebrew-formula
The download URL is a public resource
2019-11-08 18:57:22 +01:00
Mislav Marohnić
558376b059 Updates to copy-release action 2019-11-08 18:57:22 +01:00
Mislav Marohnić
49f4003b7e Configure goreleaser.yml 2019-11-08 18:53:09 +01:00
Corey Johnson
7f70a342a3 Publish release for git tag 2019-11-08 18:53:09 +01:00
Mislav Marohnić
528ea6eee0 Merge pull request #53 from github/issue-status-view
Add `issue status`, `issue create`
2019-11-08 15:24:30 +01:00
Mislav Marohnić
25142d4895 Add issue create test 2019-11-08 15:20:24 +01:00
Mislav Marohnić
10c248d691 Merge remote-tracking branch 'origin/master' into issue-status-view 2019-11-07 18:46:18 +01:00
Mislav Marohnić
262976b830 Merge pull request #52 from github/pr-list
Add `pr list` command
2019-11-06 19:48:02 +01:00
Mislav Marohnić
b2c06caf51 Merge remote-tracking branch 'origin/master' into pr-list 2019-11-06 19:47:05 +01:00
Mislav Marohnić
fdee02e3e8 Merge pull request #47 from github/exec-cmd-error-info
Ensure git operations preserve their stderr in error output
2019-11-06 19:45:27 +01:00
Mislav Marohnić
5fcda2b5b5 Merge remote-tracking branch 'origin/master' into pr-list 2019-11-06 19:45:10 +01:00
Mislav Marohnić
524fe0a69b 🔥 last instance of mockOpenInBrowser 2019-11-06 19:41:18 +01:00
Mislav Marohnić
32e36d2fe0 Merge branch 'master' into exec-cmd-error-info 2019-11-06 19:36:12 +01:00
Mislav Marohnić
cdd495160c Merge pull request #39 from github/completion
Add `completion` script
2019-11-06 19:31:29 +01:00
Mislav Marohnić
29b5593e21 go mod tidy 2019-11-06 19:12:53 +01:00
Mislav Marohnić
401aef283f Prototype issue create 2019-11-06 19:10:15 +01:00
Mislav Marohnić
5d2ecf12ca Fix issues order 2019-11-06 19:10:15 +01:00
Mislav Marohnić
40131abfba issue listissue status to bring in line with pr prototype 2019-11-06 19:10:15 +01:00
Corey Johnson
da334e283b Merge pull request #43 from github/gh-issue
Add `gh issue list` and `gh issue view`
2019-11-06 10:09:11 -08:00
Corey Johnson
3782ed6c8d Tweaks 2019-11-06 10:07:24 -08:00
Corey Johnson
aea7ae8efd Add gh issue list and gh issue view ISSUE_NUMBER 2019-11-06 19:05:23 +01:00
Corey Johnson
d658a8f407 Add Issue query 2019-11-06 19:05:23 +01:00
Corey Johnson
738562436f Update tests 2019-11-06 10:02:35 -08:00
Corey Johnson
b50898f05b move to init 2019-11-06 10:01:16 -08:00
Mislav Marohnić
e6d55fff1c Calculate instead of hardcode the width of the PR number column 2019-11-06 18:53:58 +01:00
Mislav Marohnić
9133ad9f87 pr list: indicate state by color, useful for -s all 2019-11-06 18:48:41 +01:00
Nate Smith
9ad41cf31f Merge pull request #48 from github/colors
Switch to mgutz/ansi
2019-11-06 10:22:18 -07:00
nate smith
ffa5ce456a do not use color when stdout is not a terminal 2019-11-06 10:15:27 -07:00
nate smith
e3a11c8ffb fix pr filtering 2019-11-06 18:10:22 +01:00
Mislav Marohnić
667704d574 Add pr list command
Old `pr list` is now `pr status`
2019-11-06 17:33:45 +01:00
nate smith
e8634ca5d8 use mgutz/ansi in utils 2019-11-05 13:47:48 -07:00
nate smith
df3e3bb4af minor fix 2019-11-02 12:55:17 -05:00