Anowar Islam
8f9574be35
added fix for empty body in pr preview
2020-02-13 01:43:51 -08:00
Mislav Marohnić
a710893fc1
Rename to cli/cli
2020-01-24 16:08:52 +01:00
vilmibm
5bc6d220c4
review feedback
2020-01-13 15:32:07 -06:00
vilmibm
bbdf30c8f8
add tests for pr/issue previewing in terminal
2020-01-10 15:40:09 -06:00
Corey Johnson
5ed1dbe02f
Fix fixtures
2020-01-08 12:40:39 -08:00
Corey Johnson
30abea1813
Fix fixtures
2020-01-08 10:39:28 -08:00
Nate Smith
ade69a403c
Merge pull request #178 from github/issues-disabled
...
Warn about repo issues disabled on `issue status/list/create`
2019-12-19 15:39:07 -06:00
Mislav Marohnić
9ddd50ffa9
Add tests for pr status reviews and checks output
2019-12-19 17:37:57 +01:00
Mislav Marohnić
915dd8b0ef
Warn about repo issues disabled on issue status/list
2019-12-19 15:44:20 +01:00
Mislav Marohnić
d9ca764ac2
Look up the repository only once in issue status GraphQL
2019-12-19 15:44:20 +01:00
Corey Johnson
71add1baf5
Merge pull request #130 from github/rm-obsolete-fixtures
...
Cleanup: remove unused fixture files
2019-12-09 09:10:51 -08:00
Mislav Marohnić
b50e485019
🔥 unused fixture files
2019-12-03 22:02:55 +01:00
Mislav Marohnić
b125c08c37
🔥 obsolete fixture file
2019-12-03 22:01:50 +01:00
Mislav Marohnić
2621bccc44
Use RunCommand in tests to ensure flags reset between runs
2019-12-03 17:26:28 +01:00
Mislav Marohnić
db8c2d4e01
Merge remote-tracking branch 'origin/master' into pr-current-branch
2019-12-02 18:56:11 +01:00
Mislav Marohnić
6179570873
Replace "Recent issues" with "Issues opened by you"
2019-11-27 16:56:53 +01:00
Mislav Marohnić
a650cbe002
Simplify parsing API issues
2019-11-22 17:04:32 +01:00
Mislav Marohnić
508f6787f0
Have PullRequestForBranch accept "owner:branch" value for forks
...
When on a `patch-1` branch locally, `gh pr view` would happily open the
first open PR it finds with "patch-1" as its head, even those coming
from forks.
2019-11-20 15:20:36 +01:00
Corey Johnson
e5af5be940
Merge remote-tracking branch 'origin/master' into issue-update
2019-11-18 11:09:00 -08:00
Corey Johnson
761d29cf5e
Fix test
2019-11-14 12:40:48 -08:00
Corey Johnson
44c7495bab
Add state
2019-11-12 14:31:24 -08:00
Mislav Marohnić
10c248d691
Merge remote-tracking branch 'origin/master' into issue-status-view
2019-11-07 18:46:18 +01:00
Mislav Marohnić
b2c06caf51
Merge remote-tracking branch 'origin/master' into pr-list
2019-11-06 19:47:05 +01:00
Mislav Marohnić
5fcda2b5b5
Merge remote-tracking branch 'origin/master' into pr-list
2019-11-06 19:45:10 +01:00
Mislav Marohnić
32e36d2fe0
Merge branch 'master' into exec-cmd-error-info
2019-11-06 19:36:12 +01:00
Corey Johnson
aea7ae8efd
Add gh issue list and gh issue view ISSUE_NUMBER
2019-11-06 19:05:23 +01:00
Corey Johnson
738562436f
Update tests
2019-11-06 10:02:35 -08:00
Mislav Marohnić
667704d574
Add pr list command
...
Old `pr list` is now `pr status`
2019-11-06 17:33:45 +01:00
Mislav Marohnić
f6fcdf114e
Use SetPrepareCmd hook to spy on OpenInBrowser
...
We are now able to assert that the browse command was called with the correct URL
2019-11-01 22:18:12 +01:00
Corey Johnson
cf1feb847e
Add gh issue list and gh issue view ISSUE_NUMBER
2019-10-31 11:02:27 -07:00
Mislav Marohnić
f786802e9e
Customizable API client
2019-10-29 21:07:03 +01:00
Corey Johnson
a25fa5d66b
Merge remote-tracking branch 'origin/master' into pr-view-tests
2019-10-17 10:39:49 -07:00
Mislav Marohnić
63f4026367
🔥 github package
2019-10-17 02:25:59 +02:00
Corey Johnson
9e97712956
Add fixture
2019-10-16 16:26:13 -07:00
Corey Johnson
a8b7e4c5f3
Add PRView tests
2019-10-16 14:47:47 -07:00
Corey Johnson
13308ddc71
less colon
2019-10-16 11:04:45 -07:00
Corey Johnson
b31f42180c
Use the entire fixture path
2019-10-16 10:59:28 -07:00
Corey Johnson
59ddb5607d
Use func var to override GraphQL calls
2019-10-15 14:19:56 -07:00
Corey Johnson
fb290313e3
We don't need those files
2019-10-14 11:29:04 -07:00
Corey Johnson
2a3315097c
rename to helpers
2019-10-14 11:25:59 -07:00
Corey Johnson
f88b3bb7c5
Use fixture directory
2019-10-14 11:02:56 -07:00
Corey Johnson
ef1a8a80f1
Tests use temp git repo
2019-10-14 10:18:27 -07:00