Commit graph

5853 commits

Author SHA1 Message Date
chemotaxis
7a5ed08185 Test reasonsMap construction
Make sure reasons were added in the correct order.
2022-08-23 23:24:42 -04:00
chemotaxis
077ab39738 Implicitly return the nil value when no lock reason given
While I usually like explicitly setting all values, getting rid of
setting the empty string streamlines map construction and testing.

The reasonsMap will return the nil value because the empty string is not
in the map.
2022-08-23 23:16:15 -04:00
chemotaxis
4bb6e0d585 Alphabetize fields 2022-08-23 14:29:21 -04:00
chemotaxis
2970555cea Update comments 2022-08-23 14:24:13 -04:00
chemotaxis
cf822e4d9c Remove direct calls to graphql library
Similar to commit 45f1a71c8b
2022-08-23 01:35:19 -04:00
chemotaxis
b5c18423a4 Merge remote-tracking branch 'upstream/trunk' into gh-issue-lock
Add recent changes, especially changes to `api`.
2022-08-23 01:08:53 -04: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
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
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
dependabot[bot]
203a00b69c
Bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#6078)
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.12...v0.1.13)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 18:08:55 +03:00
dependabot[bot]
205c16abe6
Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 (#6077)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.14 to 0.0.16.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.14...v0.0.16)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 17:59:59 +03:00
Luis Filipe Pessoa
38b097577b
Allow use of environmental variables in --jq expression (#6075) 2022-08-15 17:00:05 +03: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
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
Mislav Marohnić
95dcd4a6e0
Merge pull request #6051 from cli/api-headers-pager
Fix writing `gh api -i` response headers to terminal pager
2022-08-10 17:54:06 +02:00
Mislav Marohnić
56dfed531b api: fix writing response headers to terminal pager 2022-08-10 10:53:07 +02:00
Nate Smith
31dad18fb9
Merge pull request #6004 from heaths/issue6001
Switch to main buffer on SIGINT
2022-08-04 15:34:20 -05:00
Mislav Marohnić
2dd63e23fc
Merge pull request #6008 from AyeshaGagguturi/ayesha/delete-prebuild-availibity-enum
Delete blob + pool
2022-08-04 19:09:13 +02:00
Jake Shorty
06be447187
Merge pull request #6029 from eljog/eljog/cs-ssh-doc
Update codespaces ssh doc
2022-08-03 15:00:18 -06:00
Eljo George
53bddb0fd5 Update codespaces ssh doc 2022-08-03 19:50:55 +00:00