[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: git-authenticate: 'authenticate-commits' takes a #:keyring parame
From: |
guix-commits |
Subject: |
03/11: git-authenticate: 'authenticate-commits' takes a #:keyring parameter. |
Date: |
Tue, 16 Jun 2020 10:16:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 41946b79f10d9b18e66c81f4eb35e1fde132c3ef
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jun 8 11:52:15 2020 +0200
git-authenticate: 'authenticate-commits' takes a #:keyring parameter.
* guix/git-authenticate.scm (authenticate-commits): Add #:keyring
parameter.
---
guix/git-authenticate.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/git-authenticate.scm b/guix/git-authenticate.scm
index cdb54a0..228d551 100644
--- a/guix/git-authenticate.scm
+++ b/guix/git-authenticate.scm
@@ -271,13 +271,13 @@ an OpenPGP keyring."
#:key
(default-authorizations '())
(keyring-reference "keyring")
+ (keyring (load-keyring-from-reference
+ repository keyring-reference))
(report-progress (const #t)))
"Authenticate COMMITS, a list of commit objects, calling REPORT-PROGRESS for
each of them. Return an alist showing the number of occurrences of each key.
-The OpenPGP keyring is loaded from KEYRING-REFERENCE in REPOSITORY."
- (define keyring
- (load-keyring-from-reference repository keyring-reference))
-
+If KEYRING is omitted, the OpenPGP keyring is loaded from KEYRING-REFERENCE in
+REPOSITORY."
(fold (lambda (commit stats)
(report-progress)
(let ((signer (authenticate-commit repository commit keyring
- branch master updated (3646a44 -> 619972f), guix-commits, 2020/06/16
- 01/11: doc: Recommend "make authenticate" after ./bootstrap., guix-commits, 2020/06/16
- 02/11: git-authenticate: Cache takes a key parameter., guix-commits, 2020/06/16
- 03/11: git-authenticate: 'authenticate-commits' takes a #:keyring parameter.,
guix-commits <=
- 05/11: channels: 'latest-channel-instance' authenticates Git checkouts., guix-commits, 2020/06/16
- 06/11: channels: Make 'validate-pull' call right after clone/pull., guix-commits, 2020/06/16
- 07/11: .guix-channel: Add 'keyring-reference'., guix-commits, 2020/06/16
- 09/11: pull: Add '--disable-authentication'., guix-commits, 2020/06/16
- 04/11: tests: Move OpenPGP helpers to (guix tests gnupg)., guix-commits, 2020/06/16
- 08/11: channels: Automatically add introduction for the official 'guix' channel., guix-commits, 2020/06/16
- 11/11: maint: "make authenticate" behaves like 'guix pull' by default., guix-commits, 2020/06/16
- 10/11: time-machine: Add '--disable-authentication'., guix-commits, 2020/06/16