unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 45895-done@debbugs.gnu.org
Subject: bug#45895: Channel authentication should start at the current commit(s)
Date: Thu, 04 Feb 2021 13:47:04 +0100	[thread overview]
Message-ID: <87zh0k6lvb.fsf@gnu.org> (raw)
In-Reply-To: <87wnvqg8ls.fsf@gnu.org> ("Ludovic Courtès"'s message of "Tue, 02 Feb 2021 09:46:39 +0100")

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




      reply	other threads:[~2021-02-04 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 17:44 bug#45895: Channel authentication should start at the current commit(s) Ludovic Courtès
2021-02-02  8:46 ` Ludovic Courtès
2021-02-04 12:47   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh0k6lvb.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=45895-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).