GNU bug report logs

#26608 Provide --only-substitutes flag to "guix package --upgrade"

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #28 received at 26608@debbugs.gnu.org (full text, mbox, reply):

Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 11:46:03 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 07:46:03 2018
Received: from localhost ([127.0.0.1]:39827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1fvhsI-0000jl-Iy
	for submit@debbugs.gnu.org; Fri, 31 Aug 2018 07:46:02 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21144)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@elephly.net>) id 1fvhsG-0000j9-HN
 for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 07:46:01 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1535715934; cv=none; d=zoho.com; s=zohoarc; 
 b=l7ptBdpyGwDylJRjwdOpgm2hsvqM6R7grHowczQIao1P6G9l7Nr84U7KpKxq5H3jSQCsJg+pRu1YhYZuqr13BocsIYD7Zh5xm5pJ+vl3uZ6xVFtJvmcBP02MstMVckpO4DhyBiU4zyURrnAJiETgp+IRr0G9TfbOSe17MNNXjDA=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1535715934;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=TlbpFnguLKmersljIOPXAZBHMvuRdTGpKjorrIu1Ktw=; 
 b=oJ7IwGxzCUzrKSFBfgdvVs2GZ7y92UC21Jw5P1vokrgbL0/5X9tqGFo15m7wmN3TeyR4mLz1HLZ1hG5fCu9ZPVHjPQMddeefJy3A4BL1qjLMKdHsWyglUiTM6UNR/TefXw2cF4XpMuB39/93/IM7PQag+UVh42SD6smNh7zl+aM=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@elephly.net;
 dmarc=pass header.from=<rekado@elephly.net> header.from=<rekado@elephly.net>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1535715934; 
 s=zoho; d=elephly.net; i=rekado@elephly.net;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=1039; bh=TlbpFnguLKmersljIOPXAZBHMvuRdTGpKjorrIu1Ktw=;
 b=NWdtnAv1DZlcGYS87AlFlVvaf/53+euFnPkdeLZqJ2ciwHF8Y/0POqSv8DFYi7D0
 ke2jPytJgrGvwtNVW8QV2Dc2kwXV6xiOTtkOh4/2tjF3Un8baMZlYjp8IL7izpWTND/
 nTnEqJpwgVWj9kpcU3vfDMOjGJXFB36B6YqWJd3s=
Received: from localhost (141.80.247.34 [141.80.247.34]) by mx.zohomail.com
 with SMTPS id 1535715932827704.073042874536;
 Fri, 31 Aug 2018 04:45:32 -0700 (PDT)
References: <87vb5vsffd.fsf@gnu.org> <87pny2iks2.fsf@gnu.org>
 <877ekagtg9.fsf@netris.org> <87zhx5msfl.fsf@pompo.co>
 <87lg8pccys.fsf_-_@netris.org> <87zhx59gh3.fsf@elephly.net>
 <m1wos82y70.fsf@ordinateur-de-catherine--konrad.home>
 <875zzs9wzl.fsf@netris.org> <m1d0u0qi4v.fsf@fastmail.net>
 <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co>
 <878t4nqzqv.fsf@gnu.org>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@elephly.net>
To: Ludovic Courtès <ludo@gnu.org>
Subject: Re: bug#32022: bug#22629: “Stable” branch
In-reply-to: <878t4nqzqv.fsf@gnu.org>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Fri, 31 Aug 2018 13:45:29 +0200
Message-ID: <87lg8m2206.fsf@elephly.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 26608
Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org,
 Alex Sassmannshausen <alex@pompo.co>, 32022@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Ludovic Courtès <ludo@gnu.org> writes:

> I just had a bright idea (yes!): this can be addressed by writing
> something like this in ~/.config/guix/channels.scm:
>
>   (map latest-commit-with-substitutes-available
>        %default-channels)
>
> The hypothetical ‘latest-commit-with-substitutes-available’ would use
> (git) and (guix ci) to find the latest commit for which substitutes of
> interest are available, and would return:
>
>   (channel
>     ;; …
>     (commit "cabbag3"))   ;the ideal commit
>
> This has to be done with great care to prevent a downgrade attack and to
> make sure the user doesn’t miss out on security updates, but maybe we
> could provide a procedure that makes reasonable choices.

This is a great idea.  Any kind of fetch policy could be implemented
with this, including one that considers the contents of a manifest.

This is another of these instances where having a general purpose
programming language underpinning it all really pays off.

--
Ricardo





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Jan 5 03:53:53 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.