Subject: bug#45895: closed (Re: bug#45895: Channel authentication should start at the current commit(s))

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 04 Feb 2021 12:48:01 +0000

Your bug report

#45895: Channel authentication should start at the current commit(s)

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
45895: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45895
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#45895: Channel authentication should start at the current commit(s)
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Thu, 04 Feb 2021 13:47:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

>>>From 9bbce577036f2018d605d111042b0a7fc1be266b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <[email-masked]>
> 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’.

Subject: Channel authentication should start at the current commit(s)
From: Ludovic Courtès <[email-masked]>
To: <[email-masked]>
Date: Fri, 15 Jan 2021 18:44:49 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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’.