GNU bug report logs - #45895
Channel authentication should start at the current commit(s)

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 15 Jan 2021 17:45:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45895: closed (Channel authentication should start at the
 current commit(s))
Date: Thu, 04 Feb 2021 12:48:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 04 Feb 2021 13:47:04 +0100
with message-id <87zh0k6lvb.fsf <at> gnu.org>
and subject line Re: bug#45895: Channel authentication should start at the current commit(s)
has caused the debbugs.gnu.org bug report #45895,
regarding Channel authentication should start at the current commit(s)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45895: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45895
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: <bug-guix <at> gnu.org>
Subject: Channel authentication should start at the current commit(s)
Date: Fri, 15 Jan 2021 18:44:49 +0100
Hi!

Currently, the first ‘guix pull’ (when ~/.cache/guix is empty)
authenticates starting from the introductory commit.  For the ‘guix’
channel, that’s 11K commits today, which takes about a minute to process
on modern hardware.

Authentication should instead consider the current commits, as returned
by ‘guix describe’, authenticated, and start from there.

For example, if you install Guix 1.3, authentication should start at the
‘v1.3’ commit.

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 45895-done <at> debbugs.gnu.org
Subject: Re: bug#45895: Channel authentication should start at the current
 commit(s)
Date: Thu, 04 Feb 2021 13:47:04 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

>>From 9bbce577036f2018d605d111042b0a7fc1be266b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo <at> gnu.org>
> Date: Tue, 2 Feb 2021 09:37:33 +0100
> Subject: [PATCH] channels: Consider the current channel commit as authentic.
>
> Fixes <https://bugs.gnu.org/45895>.
>
> When the ~/.cache/guix/authentication is empty, this change allows
> authentication to start at the current commit, as shown by 'guix
> describe', instead of starting from the introductory commit, which would
> take more and more time (there's currently 18K commits per year).
>
> * guix/git-authenticate.scm (authenticate-repository): Add #:authentic-commits.
> [authenticated-commits]: Append it.
> * guix/channels.scm (authenticate-channel)[authentic-commits]: New
> variable.  Pass it to 'authenticate-repository'.

Pushed as 29009fdb2d3636eafa77b406da2430b08a22d47e.

Ludo’.


This bug report was last modified 4 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.