Commit graph

5876 commits

Author SHA1 Message Date
Chris Westra
bc72d6b983 Omit name param from mutation when blank
As it currently sits the backend won't ignore the param. I'll be looking to
add a PR for this but for now we'll remove it.
2022-09-14 14:54:43 -04:00
Chris Westra
48512176d8 Error when issue-repo doesn't match issue url 2022-09-14 11:57:51 -04:00
Chris Westra
0f1924ba7e WIP tests for --list flag 2022-09-13 17:06:27 -04:00
Chris Westra
07e84ea7a9 Add tests for checkout flag 2022-09-13 15:01:19 -04:00
Chris Westra
398c86b8a2 Use shared fn to look up issue and its repo 2022-09-13 10:47:57 -04:00
Chris Westra
ac4fc388bf List linked branches works 2022-09-13 07:28:33 -04:00
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
7c7896859c Add flag to features list 2022-09-08 10:02:00 -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
Nate Smith
4716de40e4
Merge pull request #6127 from sparr/doc-source-sudo-E
Mention possible need for sudo -E to run make install
2022-08-24 14:06:08 -05:00
Nate Smith
f8d7c1c0a9
Merge pull request #6135 from satotake/inject-now-to-test
Refactor `issue list` and `pr list` tests
2022-08-24 13:06:15 -05: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
Nate Smith
9af193029b
Merge pull request #6103 from jsoref/issue-6102
feat: Fallback to notepad on Windows
2022-08-23 12:42:27 -05: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
Clarence "Sparr" Risher
846a147b56 Mention possible need for sudo -E to run make install 2022-08-23 15:19:53 +00:00
Nate Smith
7fd4057ccc
Merge pull request #6115 from SHSharkar/patch-1
Update install_linux.md
2022-08-22 23:38:36 -05:00
Nate Smith
1f488f4d54
Merge pull request #6101 from cli/graphql-cleanup
Consolidate GraphQL clients and make GraphQL headers uniform
2022-08-22 17:31:50 -05:00
Md. Sazzad Hossain Sharkar
67b4fcb508
Update install_linux.md
Make Debian, Ubuntu Linux, and Raspberry Pi OS (apt) installation in a single command
2022-08-22 16:45:24 +06:00
Nate Smith
93c5f4f021
Merge pull request #6112 from Abirdcfly/patch-1 2022-08-21 01:28:42 -05:00
Abirdcfly
b998f3912d
remove duplicate "the" words in comments 2022-08-21 11:11:39 +08:00
Josh Soref
723daf714e feat: Fallback to notepad on Windows
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-18 17:05:14 -04:00
Sam Coe
117929c57e
Always send GraphQL-Features: merge_queue with graphql requests 2022-08-18 21:50:00 +03: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
Nate Smith
eee1b1c36e
Merge pull request #6087 from matschaffer/brew-update-removal-2
Remove brew update instruction
2022-08-17 01:12:27 -05:00
Ariel Deitcher
43325fb3e1
Disable interactive prompting with GH_PROMPT_DISABLED (#6082) 2022-08-17 09:11:54 +03:00
Mat Schaffer
fd01d3f1e9
Remove brew update instructin
Homebrew seems to auto-update by default now.
2022-08-17 09:46:35 +09: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
Nate Smith
493987a32c
Merge pull request #6081 from inktomi/exit-codes
Document exit codes used by gh
2022-08-16 12:44:01 -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