Subject: CVS commit: pkgsrc/net/gh
From: Benny Siegert
Date: 2022-03-16 17:02:15
Message id: 20220316160215.A0E6AFB24@cvs.NetBSD.org

Log Message:
Update gh (Github CLI) to 2.6.0.

GitHub CLI 2.6.0

Repo Search

@samcoe is working on a new command, gh search! In this release it's shipping
with just support for repository searching. Results can then be processed with
--jq or fillter columns with --json and filters are expressed with flags like
--topic or --license.

Try it out with something like: gh search repos --language=go
--good-first-issues=">=10"!

Rerun failed jobs

gh run rerun has been augmented with two new flags: --failed and --job by @cdb.
You can now selectively rerun just failed jobs from a given workflow run!
Running gh run rerun --failed will prompt you to select a run to work with.

Codespaces Updates

  * Allow Editing Codespaces
  * Updates wording for codespaces accept permissions flow
  * Add VSCS Target to gh cs list
  * Adds internal codespace developer flags
  * Add --profile option to gh cs cp

Other New Features

  * add interactive repository edit functionality
  * Support setting Dependabot secrets
  * Add version to extension list command
  * after merge, switch to base branch if available

Bugfixes

  * pr close skips deleting local branch if not in a git repo
  * pr checks: fix error message when no checks were found
  * Fixed permission for workflow

GitHub CLI 2.5.2

ls alias now available for all commands

All places where a list subcommand is defined now support an ls alias, so gh pr
ls to your heart's content.

Better handling of oauth scopes

Thanks to @mario-campos we now properly understand implied auth scopes, fixing
some instances where gh insisted you needed additional scopes when you did not.

Other Bugfixes

  * Fix HexToRGB panic

Other Changes

  * Support filtering PRs authored
  * gh auth login: added flags to partially automate flow
  * Codespaces Create: Allow Accepting Permissions

GitHub CLI 2.5.1

New features

  * Add display name to codespaces prompts and JSON output
  * Add pr checks --watch flag

Fixes

  * auth login --with-token: fix authenticating git operations
  * release create: respect discussion category when creating a release with
    assets
  * gist create: handle Windows-style file paths
  * release create: warn about unpushed local git tag
  * Ignore EPIPE errors when writing to a closed pager
  * Rotate our Windows code-signing certificates

Documentation fixes

  * repo edit: clarify passing false for boolean flags
  * Spelling correction in error message

GitHub CLI 2.5.0

New Features

  * Add codespace ssh --config to generate OpenSSH host configuration for your
    codespaces
  * Add release delete-asset to delete an asset from a release
  * Add repo deploy-key commands to manage deploy keys for a repository
  * Improve the interactive issue/pull request assignee prompt
  * auth login/refresh: allow non-interactive flow
  * auth git-credential: add ability to authenticate git operations for gist
    repositories
  * gist edit: add ability to edit gist description
  * gist edit: enable editing file contents via standard input
  * pr status: show number of approvals
  * repo fork: add ability to define the name of the fork repository on GitHub
  * run list: add branch and actor filters
  * run view: include job ID parameter in the suggested command invocation
  * api: do not apply jq filters or render templates for HTTP error responses
  * pr create: fetch pull request template contents via the API
  * codespace create: provide repo suggestions after typing a few characters
    and pressing Tab

Fixes

  * release create: bring back interactive option to create a release from an
    annotated tag
  * workflow enable: allow enabling a workflow that was disabled due to
    inactivity
  * extension install: update wording for extensions that cannot be installed
  * api: respect GH_REPO when substituting {owner}/{repo}
  * issue list: fix filtering issues
  * pr create: fix creating pull requests from numerical branch names
  * repo fork: respect explicitly configured git_protocol when adding a git
    remote for a fork
  * pr checks: avoid reporting results of stale check runs
  * secret set: trim trailing newlines when passing secret values via standard
    input
  * Preserve hard line breaks in rendered Markdown
  * Handle SAML enforcement challenge from the server
  * Add retry functionality to the Codespaces API client
  * Add GH_HOST to hosts list if set in the environment
  * Standardize pager output across commands
  * Fix error message when running external commands

Other Changes

  * Improve Survey stubber for tests
  * Add Alpine Linux install docs
  * Amend location of GPG key file
  * Fix flaky Liveshare session test
  * Add consistent punctuation in command usages
  * Add install instructions for Void Linux

GitHub CLI 2.4.0

New features

  * Add repo edit command
  * release create: add --generate-notes functionality
  * release create: add interactive mode to choose a tag name
  * pr merge: allow editing commit subject
  * secret set: allow importing secrets from a dotenv file
  * run list/view: add --json export functionality
  * Refresh man pages
  * Add installation instructions for pkgsrc

Fixes

  * pr view: ensure that PR reviews are always rendered in --comments mode
  * api: handle HTTP 409 error message from the server
  * issue edit: fix race condition when updating labels
  * browse: support --commit with the repo override flag
  * repo create: fix printing repo URL in no-TTY mode
  * repo sync: use the new merge-upstream API if available
  * run: display and treat "Cancelled" status as a failure
  * extension upgrade: an already up-to-date extension should not a produce a
    failure
  * Avoid showing non-open PRs as related to the default branch
  * git remotes: fix treating ssh.github.com as a github.com host

Files:
RevisionActionfile
1.35modifypkgsrc/net/gh/Makefile
1.20modifypkgsrc/net/gh/distinfo
1.15modifypkgsrc/net/gh/go-modules.mk