Commit graph

2265 commits

Author SHA1 Message Date
Nate Smith
7f5aad56cb
Merge pull request #1491 from cli/auth-logout
auth logout
2020-08-06 15:44:45 -05:00
Mislav Marohnić
20e30453d3 Fix tests that rely on stubbed table printer output 2020-08-06 21:45:16 +02:00
Mislav Marohnić
6490d7717c Fix --repo override taking effect for pr commands 2020-08-06 21:39:46 +02:00
Mislav Marohnić
5404fb2362 Wrap up migrating all pr commands 2020-08-06 21:21:35 +02:00
vilmibm
9da7539500 gh auth logout 2020-08-06 12:50:01 -05:00
vilmibm
da33b65d32 remove vestigial httpclient struct member 2020-08-06 12:50:01 -05:00
vilmibm
2e7511cd18 add helpers to config type for hosts 2020-08-06 12:50:01 -05:00
Nate Smith
813ac79f29
Merge pull request #1445 from cli/auth-cmd
gh auth login
2020-08-06 12:48:18 -05:00
vilmibm
35f18b6c02 gh auth login 2020-08-06 12:43:35 -05:00
ShubhankarKG
43ace4dc54 Fix tests failing after merging trunk 2020-08-06 12:20:39 +05:30
ShubhankarKG
01bcdbc8a1 Merge branch 'trunk' into newConfirmations 2020-08-06 11:50:46 +05:30
ShubhankarKG
d3a44f827f Permit -y flag to create local directory as well 2020-08-06 11:47:24 +05:30
ShubhankarKG
011f30977a 1. Add three visibility tags - public, private, internal, one of which meeds to be passed.
2. Interactive repo create when no parameters are passed, i.e `repo create`.
3. Fix tests.

TODO : write a repo in the form of user/repository format when no user is supplied.
2020-08-06 11:33:04 +05:30
Francisco Miamoto
83d80e6a09 add test for milestone not found 2020-08-05 21:12:03 -03:00
Francisco Miamoto
bbce1ba755 add check for milestone not found 2020-08-05 20:49:01 -03:00
Mislav Marohnić
b4ffced654
Merge pull request #1453 from cli/pr-commands-isolate
Isolate pr review, diff, checkout commands
2020-08-04 18:47:06 +02:00
Mislav Marohnić
82661c197e Isolate pr list command 2020-08-04 18:38:06 +02:00
Mislav Marohnić
558e3f3dea Isolate pr create command 2020-08-04 18:29:42 +02:00
Mislav Marohnić
c8b4238ec1
Merge pull request #1470 from cli/brew-bump-formula
Align `bump-homebrew-formula` config for updated formula format
2020-08-04 17:30:56 +02:00
ShubhankarKG
4b64a46891 Add confirmation for risky step for repo create 2020-08-04 19:24:35 +05:30
Mislav Marohnić
e024184c6f Fix pr merge test 2020-08-04 15:13:36 +02:00
Mislav Marohnić
d774a6a35f Merge branch 'pr-commands-isolate' into pr-commands-isolate-2 2020-08-04 15:13:33 +02:00
Mislav Marohnić
8cba134f5d Fix pr checkout test 2020-08-04 15:10:44 +02:00
Mislav Marohnić
a73584db72 Merge remote-tracking branch 'origin' into pr-commands-isolate 2020-08-04 15:01:30 +02:00
Mislav Marohnić
2ab06ab4d6
Merge pull request #1415 from cli/ghe-api
Add GHE compatibility to the API adapter
2020-08-03 17:19:20 +02:00
wilso199
267400a3a5 Cleaning up formatting errors and updating test to use named api call 2020-08-02 22:37:47 -04:00
wilso199
4250906c82 Adding test to ensure submodule commands are executed 2020-08-02 22:17:42 -04:00
wilso199
7b98e27de3 Adding logic and documentation for a recurse submodules flag 2020-08-02 22:17:42 -04:00
Francisco Miamoto
0faf52d759 change comment to refer to pr 2020-08-01 23:56:12 -03:00
Francisco Miamoto
3caa7cc537 improve comments 2020-08-01 23:54:22 -03:00
Francisco Miamoto
f9b50acc42 add mock for milestones on issue list 2020-08-01 23:45:21 -03:00
Francisco Miamoto
9a5e69a8a4 use graphql for repo milestones on issue list
Since we can obtain the necessary ID for the query on
node ID from the GraphQL API, it makes sense to remove
the REST version.
2020-08-01 23:43:36 -03:00
Rimaz Khan
d67dfdb99b Add delete branch flag to pr close 2020-08-01 14:49:16 -04:00
Shi Han NG
d24f33b679
Add Test_RepoClone_flagError 2020-08-01 19:23:28 +09:00
Shi Han NG
6e844fef87
Mention git clone flags in gh repo clone usage 2020-08-01 19:09:29 +09:00
Shi Han NG
ca8d032824
Add custom error for gh repo clone 2020-08-01 19:07:51 +09:00
Mislav Marohnić
4757540bdf Align bump-homebrew-formula config for updated formula format 2020-07-31 19:47:13 +02:00
Mislav Marohnić
3ac73297eb Isolate pr status command 2020-07-31 19:07:30 +02:00
Mislav Marohnić
7cc74c5bb6 Isolate pr merge command 2020-07-31 19:07:16 +02:00
Shubhankar Kanchan Gupta
bb6851c88b
Add "open" qualifier when listing open issues/PRs (#1457) 2020-07-31 18:22:08 +02:00
Mislav Marohnić
74b191d0f7 Isolate pr view command 2020-07-31 14:19:09 +02:00
Francisco Miamoto
75e8cb8f9c register mocks for the new request 2020-07-30 22:15:15 -03:00
Francisco Miamoto
3ce1de62a2 fix searching issues by the milestone name
This fix involves using the REST API since the GraphQL one doesn't
seem to return the necessary ID for the subsequent issues query.
2020-07-30 22:11:19 -03:00
Mislav Marohnić
7949d5373d Fix pr diff in notty mode 2020-07-29 22:58:08 +02:00
Mislav Marohnić
604799735c 🔥 unused errorStub struct 2020-07-29 22:54:37 +02:00
Mislav Marohnić
ffe08995bb Add notes about GHE support for git_protocol 2020-07-29 22:50:53 +02:00
Mislav Marohnić
487dd06bf3 Isolate pr checkout command 2020-07-29 22:50:34 +02:00
Mislav Marohnić
af68a749f0 Isolate pr diff command 2020-07-29 22:49:50 +02:00
Mislav Marohnić
88eaa28aef
Merge pull request #1448 from cli/api-graphql-operationName
Support GraphQL `operationName` in `gh api` command
2020-07-29 21:09:08 +02:00
Mislav Marohnić
12637d02d6 Isolate pr review command 2020-07-29 19:35:54 +02:00