pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gh Update Github CLI to 1.9.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1b2e2d37667
branches:  trunk
changeset: 450496:e1b2e2d37667
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Apr 18 10:54:08 2021 +0000

description:
Update Github CLI to 1.9.1.

GitHub CLI 1.9.1
----------------

  * Fix cold cache problem in run view --log and run view --log-failed

GitHub CLI 1.9.0
----------------

New Features

GitHub Actions in the CLI

Three new top-level commands have been added to gh:

  * gh run lists, views, and interacts with workflow runs
  * gh workflow lists, views, runs, and toggles workflow files
  * gh actions prints information about the integration between gh and GitHub
    Actions

You can now get insight into what GitHub Actions is running across your
repository with

$ gh run list

and dig into specifics with

$ gh run view
$ gh run view --log
$ gh run view --log-failed

Run gh actions to learn more and get started. There is also a video demo
covering a bunch of the new commands.

This was a huge effort that brought in the entire CLI team as well as a lot of
community input and feedback. We're excited for you to try it out!

Please let us know what you get up to with this new integration or if you have
suggestions for our next iteration of support in our discussions thread.

Issue and pull request commands now support JSON export

Issue and pull request list, view, and status commands now support the --json
option which enables the JSON output format suitable for scripts.

The --json flag accepts a comma-separated list of data fields to request from
the GitHub server. Field names must always be specified to use this feature. To
see the list of available fields, use the --json flag without a value.

Additionally, any command that accepts --json also supports the --jq and
--template options that were previously available only in the gh api command.
These options allow filtering down or transforming the resulting JSON into
something more immediately usable by shell scripts. Refer to gh help formatting
for more information.

Development and Documentation Updates

  * Add tests for manual pages generation
  * Tweak build scripts to enable cross-compiling
  * Add note about current branch detection

GitHub CLI 1.8.1
----------------

Fixes

  * Fix pr status/checks crash with unrecognized statuses from the server
  * Fix repo fork --clone not cloning an existing fork locally when running
    non-interactively
  * Fix commands not respecting default hostname from GH_HOST

GitHub CLI 1.8.0
----------------

New features

Search functionality for issues and pull requests

The new issue/pr list --search flag enables searching issues and pull requests
using keywords.

In addition to searching by words that may appear in the contents of issues or
pull requests, you can use any GitHub search syntax for more specific matching
and to change the order of the results. For example:

  * gh issue list --state closed --search "crash in:title" - closed issues that
    contain "crash" in their title
  * gh issue list --search "no:assignee" - open issues without an assignee
  * gh issue list -l "bug" --search "sort:interactions-desc" - bug threads that
    have the most interactions
  * gh pr list --search "review-requested:@me" - pull requests where your
    review was requested
  * gh pr list --state merged --search "merged:>=2021-03-30" - pull requests
    merged after a certain date

Breaking: multiple labels are now combined using "AND" instead of "OR"

When supplying multiple label names to issue/pr list, the results will now only
include results that have all of the listed labels.

This is a backwards-incompatible change, but it aligns the behavior with that
which is experienced in the GitHub web interface and with what we believe
should be the correct behavior.

Other enhancements

  * Add issue transfer command
  * Add pr list --author filter option
  * Show the diffstat in pr view
  * Accept --body-file flag wherever --body is supported

Fixes

  * issue/pr create: disable "Continue in browser" option if that would
    generate a URL that is too long
  * issue/pr list --label: match label names case-insensitively
  * pr checks: avoid ever truncating the URL column
  * Ensure that table output expands to fill available terminal width
  * release create/upload: allow retrying HTTP/2 asset uploads
  * gist: remove functionality to add, view, or edit binary files
  * Fix typos in documentation

diffstat:

 net/gh/Makefile      |   4 ++--
 net/gh/distinfo      |  42 +++++++++++++++++++++++++++++-------------
 net/gh/go-modules.mk |  10 +++++++---
 3 files changed, 38 insertions(+), 18 deletions(-)

diffs (127 lines):

diff -r e8a02e4d1985 -r e1b2e2d37667 net/gh/Makefile
--- a/net/gh/Makefile   Sun Apr 18 09:44:18 2021 +0000
+++ b/net/gh/Makefile   Sun Apr 18 10:54:08 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2021/03/21 07:56:18 bsiegert Exp $
+# $NetBSD: Makefile,v 1.17 2021/04/18 10:54:08 bsiegert Exp $
 
-DISTNAME=      gh-1.7.0
+DISTNAME=      gh-1.9.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=cli/}
 GITHUB_PROJECT=        cli
diff -r e8a02e4d1985 -r e1b2e2d37667 net/gh/distinfo
--- a/net/gh/distinfo   Sun Apr 18 09:44:18 2021 +0000
+++ b/net/gh/distinfo   Sun Apr 18 10:54:08 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2021/03/21 07:56:18 bsiegert Exp $
+$NetBSD: distinfo,v 1.11 2021/04/18 10:54:08 bsiegert Exp $
 
 SHA1 (cloud.google.com_go_@v_v0.26.0.mod) = 8293f3ba79a69f4176a8f80fba7311b4f03e179e
 RMD160 (cloud.google.com_go_@v_v0.26.0.mod) = 072627a02c6b01bbb485da13d664567e3064d7ab
@@ -80,10 +80,10 @@
 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.7.0.tar.gz) = 1bcac1d6a4f447615296f84df28b8a876f02edc7
-RMD160 (gh-1.7.0.tar.gz) = a36d4099519e2613736ec022647f6f412bd0b625
-SHA512 (gh-1.7.0.tar.gz) = 27d50b698dcf137a192a80e3bf8ca9c5b393f566acc7d504f4285c236d6e1ef6e9195afcb3025f5c0442b2c538f18db6c2d86e5ce7074af59db384e91b01bb39
-Size (gh-1.7.0.tar.gz) = 435572 bytes
+SHA1 (gh-1.9.1.tar.gz) = 718aa717930b90c7f1c442c97de87d11fcfeea03
+RMD160 (gh-1.9.1.tar.gz) = d9e58aecb96b3038b7240c08d209cffadd897e0a
+SHA512 (gh-1.9.1.tar.gz) = cade5252d0ab9dfc5bff52ad9accbc3d06eed10537f4db3fcf6116fe114e336670973cf0545ae2659989645795e930ad951c4d6dc30c7cdd6f6c0d82f3c75292
+Size (gh-1.9.1.tar.gz) = 499665 bytes
 SHA1 (github.com__alec_aivazis_survey_v2_@v_v2.2.7.mod) = 952b25d911c2db42f865f7f578c8a8cb4022f236
 RMD160 (github.com__alec_aivazis_survey_v2_@v_v2.2.7.mod) = 8ac7828ec4cb948616ff23af240b032c5998e1a5
 SHA512 (github.com__alec_aivazis_survey_v2_@v_v2.2.7.mod) = 6f0c6aa88ce38abfa9bce0992b75b8ef5a2f58c743bc96ef49b8a97d7e04ad7071c0f63f65c3ff82e5014df91d383f5ab84a2c0ac8e54739048de9aede5443c5
@@ -268,10 +268,14 @@
 RMD160 (github.com_cli_browser_@v_v1.0.0.mod) = b17b612fe1286130760ce8deed9ccf35b59fcf98
 SHA512 (github.com_cli_browser_@v_v1.0.0.mod) = 7837a60a0d2374201f1d3157daa3ff78e82f8c42f2d8794096d4ed67bfd9c4000ba2eae465b8c4b2e52f5f9c653ff22a3e4f2f0a8fdd06346ee85e395d32b50c
 Size (github.com_cli_browser_@v_v1.0.0.mod) = 79 bytes
-SHA1 (github.com_cli_browser_@v_v1.0.0.zip) = 409f824ab30d8962b59e47c9e78523044b8ed19f
-RMD160 (github.com_cli_browser_@v_v1.0.0.zip) = 4905696fdf70b3b2352da1676e884f6351b7c730
-SHA512 (github.com_cli_browser_@v_v1.0.0.zip) = c37691f53b0e2633d81c9969542c86c0e7da45133ea85e5ea8b87a12ffe418f5d05f65a9c023b6a6ac31f9fb36dfaae053fd1ee0779475a9d0fc3f6fccc937de
-Size (github.com_cli_browser_@v_v1.0.0.zip) = 6846 bytes
+SHA1 (github.com_cli_browser_@v_v1.1.0.mod) = 0d70b306970b167881f7b5c1d0c7e4e4cafc97d8
+RMD160 (github.com_cli_browser_@v_v1.1.0.mod) = 69eb7f2c1a063a7ffecfa403fe51ac63dd049d59
+SHA512 (github.com_cli_browser_@v_v1.1.0.mod) = d1f6f537dc58156af462534ff5beefd7ee8e536b76c2a03954c0c1e466a8b00220aeb43d016c57b70be8f3cd478779c66753b281074708aa6f0e7eb10cfea363
+Size (github.com_cli_browser_@v_v1.1.0.mod) = 100 bytes
+SHA1 (github.com_cli_browser_@v_v1.1.0.zip) = 7b50ebd4a98892e40d6021be45d8f6ba67d1447d
+RMD160 (github.com_cli_browser_@v_v1.1.0.zip) = fb57a61ca6d43314cf1d68ee7b740db480ab14d2
+SHA512 (github.com_cli_browser_@v_v1.1.0.zip) = 7cc03ad3550942a302fcf7d2be0c06f80e5319d087c5d5d52972343f431bb28405fca5170587ed4b3969fe56aab1ba52ba698f15b380966e6c99ec699cae7b59
+Size (github.com_cli_browser_@v_v1.1.0.zip) = 7815 bytes
 SHA1 (github.com_cli_oauth_@v_v0.8.0.mod) = 86cd54acdcd0783551de098665ffafeccec9da5e
 RMD160 (github.com_cli_oauth_@v_v0.8.0.mod) = e173c326b5ed736eef342cdcae4a17dbf3b03f89
 SHA512 (github.com_cli_oauth_@v_v0.8.0.mod) = 43470604fd7bc424682721688b15a1fd343febee02228d4826b98f2975364cbd62cee6306826d3ed2cc76c56ea586e1d2334781c0ef3564ac7fe974db9dec914
@@ -420,6 +424,14 @@
 RMD160 (github.com_fsnotify_fsnotify_@v_v1.4.7.zip) = b11e39c4f195793ef2fdc872d24037399cfeaed6
 SHA512 (github.com_fsnotify_fsnotify_@v_v1.4.7.zip) = 9b1075ccd3d1f53773db97687e06fb777741d6c3b228bcc329be580562fb3c34006768eb3f989f92367ca116c597140045b3c345fe36065f5015d1d4652633c3
 Size (github.com_fsnotify_fsnotify_@v_v1.4.7.zip) = 41278 bytes
+SHA1 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.mod) = 8526185094b06ad7afd1cf0ad94e0804c9f5a4e9
+RMD160 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.mod) = 90c7d42eb5e8d43427e1017ab49b7c7f59631405
+SHA512 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.mod) = e25792acacf4e07e445247eeed246a24b34e1199b57ff6974ac5a0b76c254dde9b6917ce68d8bc067cbf705ac515fac6a67ea73df48d058d87f9fee50b6365dc
+Size (github.com_gabriel-vasile_mimetype_@v_v1.1.2.mod) = 51 bytes
+SHA1 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.zip) = 8937e66dc9fcbd5fb0b8ab5aa7a7ea18cfec01a9
+RMD160 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.zip) = 218d639579acc13aac49005db7531dd9762ffc2e
+SHA512 (github.com_gabriel-vasile_mimetype_@v_v1.1.2.zip) = c044cfe59e23399c87fb9c5c6a637cc9f8be706180364e8b88108bc452900611460d19fc8d2c53ccdf8a6c708e8c38ebd20e61aa99c20416fcecd197996171de
+Size (github.com_gabriel-vasile_mimetype_@v_v1.1.2.zip) = 24442450 bytes
 SHA1 (github.com_ghodss_yaml_@v_v1.0.0.mod) = b5a5a07731cfa51f9764ae0e9d504167e659a7b5
 RMD160 (github.com_ghodss_yaml_@v_v1.0.0.mod) = 1f5a82af7c2f220ca9f193e3d6d46bc64989c727
 SHA512 (github.com_ghodss_yaml_@v_v1.0.0.mod) = 7ffc7a5c3e0b39831e590ce3402dbf5c95392e88a08576a16d9e1887b11400efa71a9d183d3f1e080081246f28a70262a679348f009f7da6bd41f253a60b0741
@@ -1896,10 +1908,14 @@
 RMD160 (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.mod) = 470ffe5252fd7913930e210baaa374da49776819
 SHA512 (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
 Size (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.mod) = 33 bytes
-SHA1 (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.zip) = cf1b7d40b0bd2b7d6c7da91bf345c315246e7d71
-RMD160 (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.zip) = 64054447d7a58b5d0b9a8d65c381d2c0601d607c
-SHA512 (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.zip) = ab2dbbde4ddcda3c66b54f574ffc90fe70be3c11d0a914a4410c764e91b0c20f4ccfd36b9af29d639808d3155e645ea5afc5a6942cf36a5e7d1a318f037cade4
-Size (golang.org_x_sys_@v_v0.0.0-20210113181707-4bcb84eeeb78.zip) = 1543048 bytes
+SHA1 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.mod) = 9c0a67f5f608966214879bdc8263f4927cb8da2f
+RMD160 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.mod) = 470ffe5252fd7913930e210baaa374da49776819
+SHA512 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.mod) = 33 bytes
+SHA1 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.zip) = ff12ac6ffc7a5788b34183d420c5d289ae3baff3
+RMD160 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.zip) = 8b5933d1f7c706bfe9f5590c69347a5d75c32e45
+SHA512 (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.zip) = 9ca4a45842a0270634e262255ddb8b9e428bad34016a933a524911c2adb695e970c805cb654a061b3775dd9921cf4fe2929a1b6c38a4f545b8dd53e328fb8280
+Size (golang.org_x_sys_@v_v0.0.0-20210319071255-635bc2c9138d.zip) = 1667773 bytes
 SHA1 (golang.org_x_text_@v_v0.3.0.mod) = f3a33d4b075f49232516e483aeb74d4015994c88
 RMD160 (golang.org_x_text_@v_v0.3.0.mod) = 2954886f81bdca9d743aac213cd223e1ec7f8484
 SHA512 (golang.org_x_text_@v_v0.3.0.mod) = ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
diff -r e8a02e4d1985 -r e1b2e2d37667 net/gh/go-modules.mk
--- a/net/gh/go-modules.mk      Sun Apr 18 09:44:18 2021 +0000
+++ b/net/gh/go-modules.mk      Sun Apr 18 10:54:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.8 2021/03/21 07:56:18 bsiegert Exp $
+# $NetBSD: go-modules.mk,v 1.9 2021/04/18 10:54:08 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
@@ -66,7 +66,8 @@
 GO_MODULE_FILES+=      github.com/charmbracelet/glamour/@v/v0.2.1-0.20200724174618-1246d13c1684.mod
 GO_MODULE_FILES+=      github.com/charmbracelet/glamour/@v/v0.2.1-0.20200724174618-1246d13c1684.zip
 GO_MODULE_FILES+=      github.com/cli/browser/@v/v1.0.0.mod
-GO_MODULE_FILES+=      github.com/cli/browser/@v/v1.0.0.zip
+GO_MODULE_FILES+=      github.com/cli/browser/@v/v1.1.0.mod
+GO_MODULE_FILES+=      github.com/cli/browser/@v/v1.1.0.zip
 GO_MODULE_FILES+=      github.com/cli/oauth/@v/v0.8.0.mod
 GO_MODULE_FILES+=      github.com/cli/oauth/@v/v0.8.0.zip
 GO_MODULE_FILES+=      github.com/cli/safeexec/@v/v1.0.0.mod
@@ -104,6 +105,8 @@
 GO_MODULE_FILES+=      github.com/fatih/color/@v/v1.7.0.zip
 GO_MODULE_FILES+=      github.com/fsnotify/fsnotify/@v/v1.4.7.mod
 GO_MODULE_FILES+=      github.com/fsnotify/fsnotify/@v/v1.4.7.zip
+GO_MODULE_FILES+=      github.com/gabriel-vasile/mimetype/@v/v1.1.2.mod
+GO_MODULE_FILES+=      github.com/gabriel-vasile/mimetype/@v/v1.1.2.zip
 GO_MODULE_FILES+=      github.com/ghodss/yaml/@v/v1.0.0.mod
 GO_MODULE_FILES+=      github.com/ghodss/yaml/@v/v1.0.0.zip
 GO_MODULE_FILES+=      github.com/go-gl/glfw/@v/v0.0.0-20190409004039-e6da0acd62b1.mod
@@ -473,7 +476,8 @@
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20200323222414-85ca7c5b95cd.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20200413165638-669c56c373c4.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20210113181707-4bcb84eeeb78.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20210113181707-4bcb84eeeb78.zip
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20210319071255-635bc2c9138d.mod
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20210319071255-635bc2c9138d.zip
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.0.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.1-0.20180807135948-17ff2d5776d2.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.3.2.mod



Home | Main Index | Thread Index | Old Index