Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 41C8584E58 for ; Sat, 17 Jun 2023 12:17:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id F0GklPVDyqYu for ; Sat, 17 Jun 2023 12:17:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 76DB284CF8 for ; Sat, 17 Jun 2023 12:17:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 704EBFA89; Sat, 17 Jun 2023 12:17:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1687004234244010" MIME-Version: 1.0 Date: Sat, 17 Jun 2023 12:17:14 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/www/R-gargle To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20230617121714.704EBFA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1687004234244010 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Sat Jun 17 12:17:14 UTC 2023 Modified Files: pkgsrc/www/R-gargle: Makefile distinfo Log Message: (www/R-gargle) Updated 1.4.0 to 1.5.0 # gargle 1.5.0 * gargle's existing unexported `secret_*()` functions are deprecated, in favor of new, exported `secret_*()` functions that are built on or inlined from httr2. The `vignette("managing-tokens-securely")` is updated to reflect the new, recommended strategy for encrypting secrets. - `secret_encrypt_json()` / `secret_decrypt_json()` are new gargle-specific functions. - `secret_write_rds()` / `secret_read_rds()`, `secret_make_key()`, and `secret_had_key()` are basically copies of their httr2 counterparts. - Legacy functions to move away from: `secret_pw_name()`, `secret_pw_gen()`, `secret_pw_exists()`, `secret_pw_get()`, `secret_can_decypt()`, `secret_read()`, `secret_write()`. - The new approach makes it much easier to use gargle functions to encrypt and decrypt credentials in a project that is *not* necessarily an R package. * The transition from OAuth "app" to OAuth "client" is fully enacted now. This process tarted in v1.3.0, when the `"gargle_oauth_client"` class was introduced, to support the new pseudo-OOB auth flow. The deprecations are implemented to preserve backwards compatibility for some time. In this release, function, argument, and field names are all updated to the "client" terminology: - `init_AuthState(client =)` instead of `init_AuthState(app =)` - `AuthState$client` instead of `AuthState$app` - `AuthState$set_client()` instead of `AuthState$set_app()` - `gargle2.0_token(client =)` instead of `gargle2.0_token(app =)` - `credentials_user_oauth2(client =)` instead of `credentials_user_oauth2(app =)` A new `vignette("oauth-client-not-app")` explains how a wrapper package should adapt. * When the `"gargle_verbosity"` option is set to `"debug"`, there are more debugging messages around user credentials. Specifically, more information is available on the email, OAuth client, and scopes, with the goal of better understanding why a cached token is (or is not) being used. * `check_is_service_account()` is a new function for use in wrapper packages to throw a more informative error when a user provides JSON for an OAuth client to an argument that is expecting JSON for a service account. * `response_process()` has improved handling of responses that represent an HTTP error with HTML content (as opposed to the expected and preferred JSON) (#254). * `response_process(call = caller_env())` is a new argument that is passed along to various helpers, which can improve error reporting for user-facing functions that call `response_process()` (#255). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/R-gargle/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/R-gargle/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1687004234244010 Content-Disposition: inline Content-Length: 1464 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/R-gargle/Makefile diff -u pkgsrc/www/R-gargle/Makefile:1.4 pkgsrc/www/R-gargle/Makefile:1.5 --- pkgsrc/www/R-gargle/Makefile:1.4 Thu Jun 15 07:03:56 2023 +++ pkgsrc/www/R-gargle/Makefile Sat Jun 17 12:17:14 2023 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2023/06/15 07:03:56 mef Exp $ +# $NetBSD: Makefile,v 1.5 2023/06/17 12:17:14 mef Exp $ R_PKGNAME= gargle -R_PKGVER= 1.4.0 +R_PKGVER= 1.5.0 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org Index: pkgsrc/www/R-gargle/distinfo diff -u pkgsrc/www/R-gargle/distinfo:1.2 pkgsrc/www/R-gargle/distinfo:1.3 --- pkgsrc/www/R-gargle/distinfo:1.2 Sun Jun 11 15:15:44 2023 +++ pkgsrc/www/R-gargle/distinfo Sat Jun 17 12:17:14 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2023/06/11 15:15:44 mef Exp $ +$NetBSD: distinfo,v 1.3 2023/06/17 12:17:14 mef Exp $ -BLAKE2s (R/gargle_1.4.0.tar.gz) = a7a7d4e61c0422952fd973abcaf64025f6e27ce78e23de72d4c9fd8d3d13ba51 -SHA512 (R/gargle_1.4.0.tar.gz) = 27c1a956e5c64df11c738c5848a76684c4320823a23c9df1de39414f5be59fe0f035ce2219885781cf63ce60f0ff4dc7a6cda6e427d0fbaec6930754df8f228e -Size (R/gargle_1.4.0.tar.gz) = 597755 bytes +BLAKE2s (R/gargle_1.5.0.tar.gz) = efbd7712d3e4f9833025f848f6f09aca3462aae58a5d515a6fdd8fae579a56eb +SHA512 (R/gargle_1.5.0.tar.gz) = 63c49186bb96da76bcdcc38a5bb034d26b7ba56c103fb8cbc8c6217559136cde62f8b02aa8af3f6186cf54de5cafc1a028e78ff5682c5c82e062208bfc0844a6 +Size (R/gargle_1.5.0.tar.gz) = 626311 bytes --_----------=_1687004234244010--