Subject: CVS commit: pkgsrc/net/gh
From: Leonardo Taccari
Date: 2020-11-20 18:15:59
Message id: 20201120171559.C1984FA9D@cvs.NetBSD.org

Log Message:
gh: Update to 1.2.1

pkgsrc changes:
 - Remove patch-go.mod, version was bumped upstream too

Changes:
1.2.1
=====
Security
--------
  * This fixes the security vulnerability where running gh inside of an
    untrusted directory on Windows could lead to .\git.exe, .\git.bat, or a
    similarly crafted executable in the same directory being run instead of the
    system git command. See GHSA-fqfh-778m-2v32

Fixes
-----
  * issue list: fetch and display all labels instead of just the first three
  * pr view <branch>: allow viewing closed PRs
  * pr create: omit the unnecessary and misleading Create a pull request for
    '<branch>' on GitHub by visiting: <URL> message generated by git push
  * pr checks: improve error message when no checks are reported
  * repo clone: print friendly error for the required argument
  * release create: print friendly error for the required argument
  * garden: completely reset status line when moving around
  * Allow running gh commands from Windows Explorer search bar

1.2.0
=====
Features
--------
  * api: add flag --hostname to set host target for api requests
  * pr merge: add confirmation step in interactive mode
  * auth login: add flag --scopes to set authorization scopes
  * auth status: add flag --show-token to display auth token
  * config set: add validation of configuration values
  * config set: add warning for unknown configuration keys
  * Codespaces: add support for "integration" tokens
  * Add GH_NO_UPDATE_NOTIFIER environment variable to allow skipping of update
    checks
  * Skip update checks in CI environments

Bugs
----
  * issue list: fix result inconsistencies when specifying limit
  * issue list: fix filtering by milestone for large milestone numbers
  * repo clone: use canonical capitalization for remote URLs
  * pr create: fix continue in browser for branches with special characters
  * repo garden: fix incorrect terminal state after Ctrl-C
  * Improve shell autocompletions for bash, zsh, and PowerShell

Build
-----
  * Rename the internal command package, resulting in a rename of Version and
    Date variables passed via ldflags at build time.
    To set version and date when building from source, use the GH_VERSION and
    BUILD_DATE environment variables in conjunction with our Makefile.

1.1.0
=====
Features
--------
  * Support GH_PAGER environment override for PAGER
  * Disable terminal pager when its value is set to cat
  * repo view: add option to specify a branch
  * repo view: render :emoji: syntax as emoji characters

Bugs
----
  * Fix pr create when branch was already pushed to a non-base remote
  * pr status/view/create: fix API-related failures with GitHub Enterprise
    Server
  * Fix markdown rendering when terminal pager is enabled
  * repo create: respect repo name input given in interactive prompt
  * auth login: display correct hostname in Personal Access Token instructions
  * auth login: document minimum required token scopes
  * pr checkout: fix running on detached HEAD
  * pr merge: default to "no" for "delete branch after \ 
merge" prompt
  * gist list: switch to GraphQL API to improve fetching
      + support fetching more than 100 gists
      + list gists ordered by creation time, descending
      + for machine-readable output, serialize timestamps in RFC 3339 format
      + ensure newlines in gist description are rendered as spaces
  * gist view/edit: fix passing Gist URL as argument
  * gist edit: check ownership before editing
  * gist edit: avoid updating gist when the contents haven't changed
  * repo garden: fix for repositories with only a few commits
  * repo garden: restore tty settings on exit
  * Fix reading the current git branch name when it contains a non-breaking
    space
  * Document gh config set pager ... option
  * Fix .tar upload tests on different OSs

Files:
RevisionActionfile
1.10modifypkgsrc/net/gh/Makefile
1.6modifypkgsrc/net/gh/distinfo
1.4modifypkgsrc/net/gh/go-modules.mk
1.5removepkgsrc/net/gh/patches/patch-go.mod