pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/R-gh (www/R-gh) Updated 1.0.1 to 1.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac5e096a7658
branches: trunk
changeset: 457358:ac5e096a7658
user: mef <mef%pkgsrc.org@localhost>
date: Tue Aug 24 10:31:18 2021 +0000
description:
(www/R-gh) Updated 1.0.1 to 1.3.0
# gh 1.3.0
* gh now shows the correct number of records in its progress bar when
paginating (#147).
* New `.params` argument in `gh()` to make it easier to pass parameters to
it programmatically (#140).
# gh 1.2.1
* Token validation accounts for the new format
[announced 2021-03-04 ](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/)
and implemented on 2021-04-01 (#148, @fmichonneau).
# gh 1.2.0
* `gh_gql()` now passes all arguments to `gh()` (#124).
* gh now handles responses from pagination better, and tries to properly
merge them (#136, @rundel).
* gh can retrieve a PAT from the Git credential store, where the lookup is
based on the targeted API URL. This now uses the gitcreds package. The
environment variables consulted for URL-specific GitHub PATs have changed.
- For "https://api.github.com": `GITHUB_PAT_GITHUB_COM` now, instead of
`GITHUB_PAT_API_GITHUB_COM`
- For "https://github.acme.com/api/v3": `GITHUB_PAT_GITHUB_ACME_COM` now,
instead of `GITHUB_PAT_GITHUB_ACME_COM_API_V3`
See the documentation of the gitcreds package for details.
* The keyring package is no longer used, in favor of the Git credential
store.
* The documentation for the GitHub REST API has moved to
<https://docs.github.com/rest> and endpoints are now documented using
the URI template style of [RFC 6570](https://tools.ietf.org/html/rfc6570):
- Old: `GET /repos/:owner/:repo/issues`
- New: `GET /repos/{owner}/{repo}/issues`
gh accepts and prioritizes the new style. However, it still does parameter
substitution for the old style.
* Fixed an error that occurred when calling `gh()` with `.progress = FALSE`
(@gadenbuie, #115).
* `gh()` accepts named `NA` parameters that are destined for the request
body (#139).
# gh 1.1.0
* Raw responses from GitHub are now returned as raw vector.
* Responses may be written to disk by providing a path in the `.destfile`
argument.
* gh now sets `.Last.error` to the error object after an uncaught error,
and `.Last.error.trace` to the stack trace of the error.
* `gh()` now silently drops named `NULL` parameters, and throws an
error for named `NA` parameters (#21, #84).
* `gh()` now returns better values for empty responses, typically empty
lists or dictionaries (#66).
* `gh()` now has an `.accept` argument to make it easier to set the
`Accept` HTTP header (#91).
* New `gh_gql()` function to make it easier to work with the GitHub
GraphQL API.
* gh now supports separate personal access tokens for GitHub Enterprise
sites. See `?gh_token` for details.
* gh now supports storing your GitHub personal access tokens (PAT) in the
system keyring, via the keyring package. See `?gh_token` for details.
* `gh()` can now POST raw data, which allows adding assets to releases (#56).
diffstat:
www/R-gh/Makefile | 6 ++++--
www/R-gh/distinfo | 10 +++++-----
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 9d8c47aa7111 -r ac5e096a7658 www/R-gh/Makefile
--- a/www/R-gh/Makefile Tue Aug 24 10:17:40 2021 +0000
+++ b/www/R-gh/Makefile Tue Aug 24 10:31:18 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/09 19:08:33 brook Exp $
+# $NetBSD: Makefile,v 1.2 2021/08/24 10:31:18 mef Exp $
R_PKGNAME= gh
-R_PKGVER= 1.0.1
+R_PKGVER= 1.3.0
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,6 +11,8 @@
DEPENDS+= R-ini>=0.3.1:../../devel/R-ini
DEPENDS+= R-jsonlite>=1.6:../../textproc/R-jsonlite
DEPENDS+= R-httr>=1.4.1:../../www/R-httr
+DEPENDS+= R-gitcreds-[0-9]*:../../security/R-gitgreds
+DEPENDS+= R-cli>=2.0.1:../../devel/R-cli
USE_LANGUAGES= # none
diff -r 9d8c47aa7111 -r ac5e096a7658 www/R-gh/distinfo
--- a/www/R-gh/distinfo Tue Aug 24 10:17:40 2021 +0000
+++ b/www/R-gh/distinfo Tue Aug 24 10:31:18 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 19:08:33 brook Exp $
+$NetBSD: distinfo,v 1.2 2021/08/24 10:31:18 mef Exp $
-SHA1 (R/gh_1.0.1.tar.gz) = 0d6967fd8463d08a40aef630c10ff25728407bcc
-RMD160 (R/gh_1.0.1.tar.gz) = eccacd566867fc2a849b5108db5f595d652d0c30
-SHA512 (R/gh_1.0.1.tar.gz) = ce9a7412f0c30825366513bd4a36e5132fe26e4ddac9aff3dc4bf479046c7a093c32585e433217e8aeab921a36bdf0e562773c2dfacff9bcdec6fbb1a9fbdbd7
-Size (R/gh_1.0.1.tar.gz) = 15513 bytes
+SHA1 (R/gh_1.3.0.tar.gz) = d11dfcc964a1d3be3dabefdbd058688e76f7dd6e
+RMD160 (R/gh_1.3.0.tar.gz) = e9f0ab69530f8299b5747ed15aae3b787fd74aeb
+SHA512 (R/gh_1.3.0.tar.gz) = 61d576923817fafc8dee522e35caa60508b29f4a6ae994b30651de01efcc3ac3caae114ffa7e85ed5f90bf5de83121ab04db5f653893c3d9e4f1d0735b4f6cf4
+Size (R/gh_1.3.0.tar.gz) = 45619 bytes
Home |
Main Index |
Thread Index |
Old Index