gh: update to 2.0.0.

Support for command extensions

GitHub CLI extensions are additional gh commands that you can install from
other repositories.

For more information, see gh help extension. To see currently published
extensions, browse repositories with the gh-extension topic. Note that
extensions may have runtime dependencies other than gh.

Other additions

- Display label colors in issue list output
- Add tablerow/tablerender template functions for rendering data as tables
- Add GH_FORCE_TTY to enable terminal-style output even when redirected
- Add repo sync command to sync a branch with its upstream state
- Add pr checkout --branch flag to control the branch name
- Add release create --discussion-category flag
- Add gh config set browser option and GH_BROWSER environment variable
- Add gh repo list --topic filter
- Add PowerShell instructions to completion help
This commit is contained in:
bsiegert 2021-08-25 18:53:13 +00:00
parent e11bfb6311
commit 5dc19fa071
3 changed files with 33 additions and 33 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.23 2021/08/19 16:29:02 leot Exp $
# $NetBSD: Makefile,v 1.24 2021/08/25 18:53:13 bsiegert Exp $
DISTNAME= gh-1.14.0
DISTNAME= gh-2.0.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=cli/}
GITHUB_PROJECT= cli

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.13 2021/08/19 16:29:02 leot Exp $
$NetBSD: distinfo,v 1.14 2021/08/25 18:53:13 bsiegert Exp $
SHA1 (cloud.google.com_go_@v_v0.26.0.mod) = 8293f3ba79a69f4176a8f80fba7311b4f03e179e
RMD160 (cloud.google.com_go_@v_v0.26.0.mod) = 072627a02c6b01bbb485da13d664567e3064d7ab
@ -184,18 +184,18 @@ SHA1 (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.zip) =
RMD160 (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.zip) = 2ac41a0dfc955576512c0c9d63707dea1a89005b
SHA512 (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.zip) = 4206fa50ea8f056656804388954562efcc78a14ed8f249801c601ccd399f70ea101e5299e07bd9b86e6e137a3cd2103209ef186193a1129e108b224ee5497432
Size (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.zip) = 33828 bytes
SHA1 (gh-1.14.0.tar.gz) = abf59587e721da5563c3dfe4258987fc9f0f2c55
RMD160 (gh-1.14.0.tar.gz) = beb059ce6fff1bf1ee72b8924b199f219fc233f9
SHA512 (gh-1.14.0.tar.gz) = 12325c75bc442e522608da2bbed56fd541de3fc0212c2ec909ebde5a9eeb05785df98d513e8b80587cbba447aa5c13010d18f589f4a49a9f6be7fe8907116b1e
Size (gh-1.14.0.tar.gz) = 538295 bytes
SHA1 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.mod) = 54e61e4c2f2dc80c97dada7daaf503472b0a000a
RMD160 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.mod) = f1b76dc27aa0430b8b2a63646458e709dd3c8511
SHA512 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.mod) = 667062212128948a6c4ba38da23e92e3e80fd3526f6b0d1b375cc123a0f35461f6586c3c135334bd8d67bb8f1b2fc1c8f3543713a0b7bc29e03ece3b8a21bc80
Size (github.com__alec_aivazis_survey_v2_@v_v2.2.14.mod) = 708 bytes
SHA1 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.zip) = 5b3562dadc772a642a745f6dca77c1e122ea99a8
RMD160 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.zip) = c7ca62a9baaf2b8ee336d75773bf168db45660b7
SHA512 (github.com__alec_aivazis_survey_v2_@v_v2.2.14.zip) = 14de18e33914dbfa2b33d818bc256ba67a4d53ebf7e081c165cbc69bdae4a0eb88d4b8e2aa1ee7848bb8f005844263f5722277314ffc3602f25a84c96687a963
Size (github.com__alec_aivazis_survey_v2_@v_v2.2.14.zip) = 158004 bytes
SHA1 (gh-2.0.0.tar.gz) = 03c7be61ab16a23629f08d935f2b07dfa2a09ba0
RMD160 (gh-2.0.0.tar.gz) = e9fd68c263ac144353e0a31557be1cae5064eb20
SHA512 (gh-2.0.0.tar.gz) = 3b0008894690a9a097259410e144e0031dee7c876e0b862e5219009d82a2f50d00ad22e3d92a16c369e9b1f0f51668e868c08d9eeb718dfe8a0337aa00233435
Size (gh-2.0.0.tar.gz) = 548905 bytes
SHA1 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.mod) = 54e61e4c2f2dc80c97dada7daaf503472b0a000a
RMD160 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.mod) = f1b76dc27aa0430b8b2a63646458e709dd3c8511
SHA512 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.mod) = 667062212128948a6c4ba38da23e92e3e80fd3526f6b0d1b375cc123a0f35461f6586c3c135334bd8d67bb8f1b2fc1c8f3543713a0b7bc29e03ece3b8a21bc80
Size (github.com__alec_aivazis_survey_v2_@v_v2.3.1.mod) = 708 bytes
SHA1 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.zip) = ee301c205746acdd5f8f67c98a59b6a67f2d7b3d
RMD160 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.zip) = f5e1a55559f09646edc49e8be9fc743b1d337daa
SHA512 (github.com__alec_aivazis_survey_v2_@v_v2.3.1.zip) = 575e4d7c8feecc94b8d9f76c8afd10c9bfe90ff21e19c43da1667d0d9374168dea4a031ad3e683d16b8d87288b114f22d31a3f678041b00b2a631292182657b7
Size (github.com__alec_aivazis_survey_v2_@v_v2.3.1.zip) = 160161 bytes
SHA1 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 0937ac1d493b480c07bf48073bffe60c2ba902f1
RMD160 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 722a12078a5d845bfcf238c63a7b7d3a563b48be
SHA512 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
@ -1348,14 +1348,10 @@ SHA1 (github.com_mitchellh_go-homedir_@v_v1.0.0.mod) = da67db313cfee8f156b9ab87e
RMD160 (github.com_mitchellh_go-homedir_@v_v1.0.0.mod) = 2636f23c66f284970c7bd60509e489cd0f018fad
SHA512 (github.com_mitchellh_go-homedir_@v_v1.0.0.mod) = a2b7ed5a25e6dcab620357d5c216546bdb554edbc6fd927a0703e788d7e7a10a743471d10f5c7cc56ad829ab35c7272c61d210e55947363447832e924844e9ee
Size (github.com_mitchellh_go-homedir_@v_v1.0.0.mod) = 39 bytes
SHA1 (github.com_mitchellh_go-homedir_@v_v1.1.0.mod) = da67db313cfee8f156b9ab87e612d689585c307b
RMD160 (github.com_mitchellh_go-homedir_@v_v1.1.0.mod) = 2636f23c66f284970c7bd60509e489cd0f018fad
SHA512 (github.com_mitchellh_go-homedir_@v_v1.1.0.mod) = a2b7ed5a25e6dcab620357d5c216546bdb554edbc6fd927a0703e788d7e7a10a743471d10f5c7cc56ad829ab35c7272c61d210e55947363447832e924844e9ee
Size (github.com_mitchellh_go-homedir_@v_v1.1.0.mod) = 39 bytes
SHA1 (github.com_mitchellh_go-homedir_@v_v1.1.0.zip) = d3e77c46e9d4fcb763c1c9951f065bdec9264c0d
RMD160 (github.com_mitchellh_go-homedir_@v_v1.1.0.zip) = 93f19caacfc69db353701b63a4a65427ec1570d6
SHA512 (github.com_mitchellh_go-homedir_@v_v1.1.0.zip) = 06bd620730c303df004e1d6a06a1aab8d83551d594c28e42f8d43613153ac28e6a5dcffaede69c84b2b49027b62581851a332f1397a2d6df9a46078510f7d1e2
Size (github.com_mitchellh_go-homedir_@v_v1.1.0.zip) = 4163 bytes
SHA1 (github.com_mitchellh_go-homedir_@v_v1.0.0.zip) = c106e7d5e2b37624c53a52ae243e7111e45c2210
RMD160 (github.com_mitchellh_go-homedir_@v_v1.0.0.zip) = 6ab8e6ec415e8a6602feb4d33b586fc8f4488569
SHA512 (github.com_mitchellh_go-homedir_@v_v1.0.0.zip) = 0ec6241bd37dff2b6c700be9eba99a39e5d5fd57933678647d56120d450c3619a2f51c9469a6caa4f48118e2d38b4c90091cd120f42d1067f99d649a39cf6cac
Size (github.com_mitchellh_go-homedir_@v_v1.0.0.zip) = 4039 bytes
SHA1 (github.com_mitchellh_go-testing-interface_@v_v1.0.0.mod) = d232b2c4422ec247cee80b02c7cf7c144743c045
RMD160 (github.com_mitchellh_go-testing-interface_@v_v1.0.0.mod) = 8c401bebd49982faf0282ec1ebf7f720ba35e8fa
SHA512 (github.com_mitchellh_go-testing-interface_@v_v1.0.0.mod) = 3e334e248e9584b050eb81bd23071a8542185c64b5f112f46b82c6842d2b8707099403bbba1b8485d64cd62faaacab3fd52e868bb405ca6e6067034e66ffc51b
@ -1420,10 +1416,14 @@ SHA1 (github.com_muesli_reflow_@v_v0.2.0.mod) = 8fcb4e91609af61ef68d0d910bb663ee
RMD160 (github.com_muesli_reflow_@v_v0.2.0.mod) = f199fa66d5ce72178d5f9811438a9e0264249e31
SHA512 (github.com_muesli_reflow_@v_v0.2.0.mod) = 45fdba56ff5ad80e0b93c3c8ffcfd810d624176fff82cfcb484512d620e18f5521a50308be649d0cf1e5ff7fc9f46f3b24d73daf6c3e7829eee2af56bdbd3953
Size (github.com_muesli_reflow_@v_v0.2.0.mod) = 87 bytes
SHA1 (github.com_muesli_reflow_@v_v0.2.0.zip) = b3a320ef1bd6852676a3689e12ec3c115f6c49cf
RMD160 (github.com_muesli_reflow_@v_v0.2.0.zip) = 3f96ef3f7c31a90630205a72ed9b3559d4de13b5
SHA512 (github.com_muesli_reflow_@v_v0.2.0.zip) = 4cd0a9d9744766d532994a2098984adb724ba16d2f3b94448779c94c96efe33dbe0854b81b28421760eb6316bbd18aab488cba55285d8f21dde8ff8aa7949ecd
Size (github.com_muesli_reflow_@v_v0.2.0.zip) = 25299 bytes
SHA1 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.mod) = e243525404c19896d37d5d8b0de47aba7f7f1dc3
RMD160 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.mod) = d546a2a0b29f843e21c9676eb75ada5d332664cf
SHA512 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.mod) = 3922414edf1e32b3f5c3cda310f113df8ac6e8d7b5f823ec2d184b79025672415413a4c030cbdf093a37983247dc523ba07fcd6d627b726fe14a2e4cc9bcb637
Size (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.mod) = 136 bytes
SHA1 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.zip) = 1f1c801b270a5bdffaedb36fd3ac8f4a32cc79a0
RMD160 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.zip) = be8652a9984acb2f84248ab07294874990c01778
SHA512 (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.zip) = 0a1f907b6f2d942ee25a43e726a6bb2e1bd50e23c8e494ff260e5cfabca01d0af140ebda30f04a3a7237a8aab8524c1395fba3586c3defc13cc1b7c7e6e11582
Size (github.com_muesli_reflow_@v_v0.2.1-0.20210502190812-c80126ec2ad5.zip) = 34010 bytes
SHA1 (github.com_muesli_termenv_@v_v0.8.1.mod) = c229b4663fd141c66b90e2d76b2ca716886f6ba3
RMD160 (github.com_muesli_termenv_@v_v0.8.1.mod) = 9f22c2813360a6dfbc2e11fbf90ef3c233e94a3a
SHA512 (github.com_muesli_termenv_@v_v0.8.1.mod) = 1b1aba22918e3424bd245e7fa0f0246138ed87509ec0a0b9f17ed732efac1e6e6f57a410cea31e7261227a9d19c4e274e36400461299019b29abde9861e93bdb

View file

@ -1,4 +1,4 @@
# $NetBSD: go-modules.mk,v 1.11 2021/08/19 16:29:02 leot Exp $
# $NetBSD: go-modules.mk,v 1.12 2021/08/25 18:53:13 bsiegert Exp $
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.26.0.mod
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.34.0.mod
@ -46,8 +46,8 @@ GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.6.0.mod
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.8.0.mod
GO_MODULE_FILES+= dmitri.shuralyov.com/gpu/mtl/@v/v0.0.0-20190408044501-666a987793e9.mod
GO_MODULE_FILES+= dmitri.shuralyov.com/gpu/mtl/@v/v0.0.0-20190408044501-666a987793e9.zip
GO_MODULE_FILES+= github.com/!alec!aivazis/survey/v2/@v/v2.2.14.mod
GO_MODULE_FILES+= github.com/!alec!aivazis/survey/v2/@v/v2.2.14.zip
GO_MODULE_FILES+= github.com/!alec!aivazis/survey/v2/@v/v2.3.1.mod
GO_MODULE_FILES+= github.com/!alec!aivazis/survey/v2/@v/v2.3.1.zip
GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.mod
GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.zip
GO_MODULE_FILES+= github.com/!burnt!sushi/xgb/@v/v0.0.0-20160522181843-27f122750802.mod
@ -336,8 +336,7 @@ GO_MODULE_FILES+= github.com/miekg/dns/@v/v1.0.14.zip
GO_MODULE_FILES+= github.com/mitchellh/cli/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/mitchellh/cli/@v/v1.0.0.zip
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.1.0.mod
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.1.0.zip
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.0.0.zip
GO_MODULE_FILES+= github.com/mitchellh/go-testing-interface/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/mitchellh/go-testing-interface/@v/v1.0.0.zip
GO_MODULE_FILES+= github.com/mitchellh/gox/@v/v0.4.0.mod
@ -354,7 +353,8 @@ GO_MODULE_FILES+= github.com/modern-go/reflect2/@v/v0.0.0-20180701023420-4b7aa43
GO_MODULE_FILES+= github.com/modern-go/reflect2/@v/v1.0.1.mod
GO_MODULE_FILES+= github.com/modern-go/reflect2/@v/v1.0.1.zip
GO_MODULE_FILES+= github.com/muesli/reflow/@v/v0.2.0.mod
GO_MODULE_FILES+= github.com/muesli/reflow/@v/v0.2.0.zip
GO_MODULE_FILES+= github.com/muesli/reflow/@v/v0.2.1-0.20210502190812-c80126ec2ad5.mod
GO_MODULE_FILES+= github.com/muesli/reflow/@v/v0.2.1-0.20210502190812-c80126ec2ad5.zip
GO_MODULE_FILES+= github.com/muesli/termenv/@v/v0.8.1.mod
GO_MODULE_FILES+= github.com/muesli/termenv/@v/v0.8.1.zip
GO_MODULE_FILES+= github.com/olekukonko/tablewriter/@v/v0.0.5.mod