trunk
Commits on Dec 3, 2021
-
pr view: ensure that PR reviews are always rendered in
--commentsm……ode (#4848) The GraphQL query for review didn't use to request the `TotalCount` field, but that field was checked before rendering the conversation thread in `pr view --comments`. This fixes rendering the conversation thread when a PR only has reviews but no ordinary comments.
-
Merge pull request #4847 from rsteube/fix-shorthand
gist view: fix missing files shorthand
-
Merge pull request #4842 from cli/gh-cs-cp-help-typo
gh cs cp --help: fix typo
Commits on Dec 2, 2021
-
-
Add
auth setup-gitfor setting up gh as a git credential helper (#4246) Adds a new command `gh auth setup-git [<hostname>]` that sets up git to use the GitHub CLI as a credential helper. The gist is that it runs these two git commands for each hostname the user is authenticated with. ``` git config --global --replace-all 'credential.https://github.com.helper' '' git config --global --add 'credential.https://github.com.helper' '!gh auth git-credential' ``` If a hostname flag is given, it'll setup GH CLI as a credential helper for only that hostname. If the user is not authenticated with any git hostnames, or the user is not authenticated with the hostname given as a flag, it'll print an error. Co-authored-by: Mislav Marohnić <mislav@github.com>
-
Merge pull request #4838 from cli/go-1.17-fmt
Generate Go 1.17-style `go:build` directives
-
Add
secret set --no-storeto print the encrypted secret (#4423)Co-authored-by: Mislav Marohnić <mislav@github.com>
Commits on Dec 1, 2021
-
Ignore scope suggestions for http 422 (#4809)
HTTP 422 messages are for validation errors, but OAUTH permissions suggestions get printed anyways. Most times, the user probably has the right permissions. This fix adds the check to avoid printing a confusing message. Co-authored-by: Mislav Marohnić <mislav@github.com>
-
Merge pull request #4833 from cli/diff-color
pr diff color output fixes
-
-
pr diff: respect global NO_COLOR/CLICOLOR_FORCE settings
In the absence of an explicit `--color` setting, or when `--color=auto` is passed, the pr diff command should fall back to respecting the global colorization setting as inferred from the environment.
-
Merge pull request #4832 from cli/dependabot/go_modules/github.com/it…
…chyny/gojq-0.12.6 Bump github.com/itchyny/gojq from 0.12.5 to 0.12.6
-
Bump github.com/itchyny/gojq from 0.12.5 to 0.12.6
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.5 to 0.12.6. - [Release notes](https://github.com/itchyny/gojq/releases) - [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md) - [Commits](itchyny/gojq@v0.12.5...v0.12.6) --- updated-dependencies: - dependency-name: github.com/itchyny/gojq dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Commits on Nov 30, 2021
-
Merge pull request #4802 from cli/mislav/bin-ext-create
Extensions create
💅 -
Merge pull request #4718 from cli/bin-ext-create
make extension create binary aware
-
Merge pull request #4489 from lpessoa/lp-2167
Adding gh release download for .zip and .tar.gz
-
-
Ensure that we never download "legacy" archive formats
The `zipball_url` and `tarball_url` fields on the Release API payload always link to "legacy" archives that are of a different format than those one would get if they downloaded an archive from a Release using the web interface. The GitHub API does not seem to publish links to non-legacy archives. This adds a redirect hack to turn "legacy" Codeload URLs into non-legacy ones with the goal of ensuring the consistency of user experience when downloading archives.
-
Adding gh release download for .zip and .tar.gz
Co-authored-by: Mislav Marohnić <mislav@github.com>
Commits on Nov 29, 2021
-
-
Merge pull request #4803 from cli/issue-view-resilient
Improve `issue view` re: overfetching, PR support
Commits on Nov 25, 2021
Commits on Nov 24, 2021
-
-
-
-
Improve
issue viewre: overfetching, PR support- Supports passing a PR as argument, not just issues - Makes it non-fatal when project cards were not able to load - Cleans up legacy method for fetching issues
-
Fix
codespace codecommand under WSL (#4747)The `codespace code` command used the `skratchdot/open-golang` library to open `vscode://` URLs, which uses `xdg-open` for Linux under the hood, which isn't available under WSL. This switches over to using the `cli/browser` package which has explicit support for WSL by invoking `wslview` when found.
-
Merge pull request #4784 from cli/config-map-fixes
Fix up bug in RemoveEntry and add tests for config_map
-
Merge pull request #4804 from cli/dependabot/go_modules/github.com/ma…
…ttn/go-colorable-0.1.12 Bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12

