Commit graph

2246 commits

Author SHA1 Message Date
Chris Westra
8cf8a16e6a WIP add --checkout option 2022-09-12 17:20:24 -04:00
Chris Westra
6248e62611 Use GraphQLQuery test helper
GraphQLMutation expects a single `input` variable
2022-09-12 11:28:49 -04:00
Chris Westra
e1b83496fa Make sure struct fields are public 2022-09-12 10:30:38 -04:00
Chris Westra
2e98e8a4a7 Get that test mostly working 2022-09-08 17:17:06 -04:00
Chris Westra
5734df806b FIll in all the missing stuff in the test setup 2022-09-08 12:18:37 -04:00
Chris Westra
5f3f00f909 WIP 2022-09-08 10:04:12 -04:00
Chris Westra
0e1bae7be0 WIP 2022-09-06 17:04:37 -04:00
Chris Westra
152b861001 WIP 2022-09-01 16:36:48 -04:00
Chris Westra
711591c92b WIP 2022-08-26 15:25:19 -04:00
Sam Coe
2fc0ffd0be
Fix auth refresh prompter initialization (#6141)
* Fix prompter not being initialized in auth refresh

* fix broken issue list test
2022-08-25 12:07:40 +03:00
satotake
b3ab76818c Refactor issue list and pr list tests
following #6085

* Inject fake `Now` function to tests of `issue list` / `pr list`
* Remove `regexp` from the tests
2022-08-25 00:01:29 +09:00
Sam Coe
6955db471d
Set default value for all Select prompts (#6131) 2022-08-24 09:10:38 +03:00
Caleb Brose
6b24949649
Merge pull request #5958 from cli/cmbrose/no-auto-key-if-uploaded
Check for already configured ssh keys before using automatic key
2022-08-23 12:09:16 -05:00
Nate Smith
1da31c8b8f
Merge pull request #6085 from satotake/add-age-to-pr
Add age field to `pr list` / `pr view`
2022-08-23 11:55:29 -05:00
Sam Coe
45f1a71c8b
Remove all direct calls to shurcool-graphql 2022-08-18 21:40:41 +03:00
Sam Coe
6a8deb1f5a
Integrate latest go-gh packages (#6084) 2022-08-18 09:04:13 +03:00
Ariel Deitcher
43325fb3e1
Disable interactive prompting with GH_PROMPT_DISABLED (#6082) 2022-08-17 09:11:54 +03:00
Nate Smith
200516beb8
Merge pull request #5985 from icen1/colour-privacy-gist
[Issue:#5975] Added gist privacy type to terminal output
2022-08-16 15:26:08 -05:00
satotake
61e0c5a294 Add age field to pr view 2022-08-17 02:02:53 +09:00
satotake
837fac0da3 Add age column to pr list 2022-08-17 01:23:53 +09:00
Caleb Brose
d8b06ae8af Add check to -i short circuit for the automatic key 2022-08-16 10:15:43 -05:00
Matthew Runo
621cd4153e Fixes #6024.
Adding documentation for exit codes used by 'gh'
2022-08-15 15:25:39 -07:00
Matthew Runo
9b16d1ecdd Fixes #6024.
Adding documentation for exit codes used by 'gh'
2022-08-15 15:20:19 -07:00
Nate Smith
49adbe3fe6
Merge pull request #6079 from white-hat/6066-fix-git-protocol
fix protocol not being set when token is read from stdin
2022-08-15 16:54:59 -05:00
Nate Smith
5ab5b45d2b
Merge pull request #5968 from cli/prompt-factory
Add Prompter
2022-08-15 16:35:26 -05:00
Nate Smith
9f8862e919
Merge pull request #6074 from vbh/pr-diff-name-only
Add name-only flag to `gh pr diff` sub command
2022-08-15 16:25:07 -05:00
vilmibm
6bc89ebbc2 Merge remote-tracking branch 'origin/trunk' into prompt-factory 2022-08-15 16:24:28 -05:00
vilmibm
2d61fdc493 linter appeasement 2022-08-15 16:13:49 -05:00
vilmibm
d5b2a06be9 gofmt 2022-08-15 16:11:13 -05:00
vilmibm
1b05c971a9 simple argument test for name-only 2022-08-15 16:11:08 -05:00
Nate Smith
7be128ae32
Merge pull request #6036 from cli/pr-create-test-cleanup
Clean up pr create tests
2022-08-15 13:56:16 -05:00
vilmibm
2d093c1741 add test helpers 2022-08-15 13:53:43 -05:00
vilmibm
8bba7f9624 rename NewPrompter to New 2022-08-15 13:28:15 -05:00
vilmibm
791b8b4173 Merge remote-tracking branch 'origin/trunk' into prompt-factory 2022-08-15 13:21:22 -05:00
Ilya Trushchenko
0a73192ace fix protocol not being set when token is read from stdin 2022-08-15 14:12:19 -04:00
Eljo George
d4336e0652
Merge pull request #6065 from cli/eljog/update-ssh-help
SSH help text to suggest the new features syntax
2022-08-15 10:50:04 -07:00
Yuta Iwama
a447c078cf
Enable browsing to commit page (#5729) 2022-08-15 11:43:11 +00:00
Bindu
7036d055b5 Add name-only flag to gh pr diff sub command 2022-08-14 06:47:37 -07:00
Eljo George
54e5673bd6 remove blank spaces 2022-08-12 21:04:21 +00:00
Eljo George
9f1f74c30a SSH help text to suggest the new features syntax 2022-08-12 21:00:57 +00:00
vilmibm
5f41801813 modernize the tests for pr create 2022-08-10 15:04:11 -05:00
vilmibm
dfd6908cd0 refactor determineTrackingBranch tests 2022-08-10 15:03:45 -05:00
Caleb Brose
c781ea520a Better .ssh directory 2022-08-10 14:29:14 -05:00
Mislav Marohnić
d21d388b8d
Restore old GH_DEBUG=1 behavior for HTTP logging (#6054)
- No HTTP bodies or headers are logged until `GH_DEBUG=api` is used.
- Logging to terminal now supports colorization.
2022-08-10 17:59:13 +02:00
Caleb Brose
3d45244dcc Add -i option to the proxy ssh call in config 2022-08-10 10:57:34 -05:00
Mislav Marohnić
56dfed531b api: fix writing response headers to terminal pager 2022-08-10 10:53:07 +02:00
Caleb Brose
d410830f7f Handle comment in local ssh key 2022-08-09 11:11:11 -05:00
Caleb Brose
cb914c1873 Cleanup extra param, array declaration 2022-08-09 10:16:24 -05:00
Caleb Brose
b25df2daf4 Merge branch 'trunk' into cmbrose/no-auto-key-if-uploaded 2022-08-09 10:06:37 -05:00
Caleb Brose
0d9b2bf4ce SHort circuit api check if auto keys exist 2022-08-05 18:24:36 +00:00