[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Guixguix source archive branch, wip-signed-archives, updated. v0.5-4
From: |
Ludovic Courtès |
Subject: |
GNU Guixguix source archive branch, wip-signed-archives, updated. v0.5-470-ge3baca9 |
Date: |
Wed, 26 Mar 2014 22:51:49 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "guix source archive".
The branch, wip-signed-archives has been updated
via e3baca9d8d8859df9b28cd041906497f9fb6598f (commit)
via 143101036ae229cd35360cbbcde19f7e3a4007ce (commit)
from 28344d082e8ec9c0db8cf5c87138dd7d6781e93c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e3baca9d8d8859df9b28cd041906497f9fb6598f
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 26 23:50:04 2014 +0100
substitute-binary: Defer narinfo authentication and authorization checks.
* guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp):
Catch 'gcry-error' around 'string->canonical-sexp' call, and re-raise
as a SRFI-35 &message and &nar-signature-error.
(narinfo-maker): Handle when SIGNATURE is #f or an invalid canonical
sexp.
(&nar-signature-error, &nar-invalid-hash-error): New variables.
(assert-valid-signature): Use them. Expect 'signature' to be a
canonical sexp.
(read-narinfo): Remove authentication and authorization checks.
(%signature-line-rx): New variable.
(assert-valid-narinfo, valid-narinfo?): New procedures.
(guix-substitute-binary): Wrap body in 'with-error-handling'.
[valid?]: New procedure.
<--query>: Show only store items of narinfos that match
'valid-narinfo?'.
<--substitute>: Call 'assert-valid-narinfo'.
commit 143101036ae229cd35360cbbcde19f7e3a4007ce
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 26 23:31:31 2014 +0100
substitute-binary: Store the cache's URI in the local cached narinfo.
* guix/scripts/substitute-binary.scm (<narinfo>)[uri-base]: New field.
(narinfo-maker): Pass CACHE-URL as the 'uri-base' value.
(string->narinfo): Add 'cache-uri' parameter.
(lookup-narinfo)[cache-entry]: Switch to version 1. Add 'cache-uri'
field. Adjust body accordingly.
(remove-expired-cached-narinfos): Switch to version 1 by default.
-----------------------------------------------------------------------
Summary of changes:
guix/scripts/substitute-binary.scm | 300 ++++++++++++++++++++----------------
1 files changed, 165 insertions(+), 135 deletions(-)
hooks/post-receive
--
guix source archive
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GNU Guixguix source archive branch, wip-signed-archives, updated. v0.5-470-ge3baca9,
Ludovic Courtès <=