[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45895: Channel authentication should start at the current commit(s)
From: |
Ludovic Courtès |
Subject: |
bug#45895: Channel authentication should start at the current commit(s) |
Date: |
Thu, 04 Feb 2021 13:47:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
>>From 9bbce577036f2018d605d111042b0a7fc1be266b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@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’.