From unknown Thu Jun 12 08:28:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26608 <26608@debbugs.gnu.org> To: bug#26608 <26608@debbugs.gnu.org> Subject: Status: Provide --only-substitutes flag to "guix package --upgrade" Reply-To: bug#26608 <26608@debbugs.gnu.org> Date: Thu, 12 Jun 2025 15:28:04 +0000 retitle 26608 Provide --only-substitutes flag to "guix package --upgrade" reassign 26608 guix submitter 26608 Christopher Allan Webber severity 26608 important thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 12:03:52 2017 Received: (at submit) by debbugs.gnu.org; 22 Apr 2017 16:03:52 +0000 Received: from localhost ([127.0.0.1]:34592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1xVo-0007YY-8Y for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1xVm-0007YJ-IC for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1xVg-0003lH-Q3 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1xVg-0003lA-N6 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1xVf-0006O8-LA for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1xVa-0003jj-PQ for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:43 -0400 Received: from dustycloud.org ([50.116.34.160]:48852) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1xVa-0003jT-KG for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:38 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id A8EEC265EE for ; Sat, 22 Apr 2017 12:03:35 -0400 (EDT) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Christopher Allan Webber To: bug-guix@gnu.org Subject: Provide --only-substitutes flag to "guix package --upgrade" Date: Sat, 22 Apr 2017 11:03:35 -0500 Message-ID: <874lxg77l4.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Sometimes I do an upgrade and I want to get the latest security updates, but I also am not really available to burn through a lot of cpu time, (especially on my x200). I'd love it if thre were a flag so that I could specify "only bother to upgrade the packages where we only upgrade if a substitute is already available. Note that I looked at the source to see if this would be an easy thing to add; I figured that this would be handled in roughly the same place as --keep-going or --fallback, but it looks to me like those are actually just passed over to the build daemon, so I'm not so sure how easy it would be to patch this in while we're still using Nix's C daemon? I'm not sure. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 19:04:05 2017 Received: (at 26608) by debbugs.gnu.org; 22 Apr 2017 23:04:05 +0000 Received: from localhost ([127.0.0.1]:34863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d244T-0007Pn-C4 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 19:04:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d244R-0007PK-Ct for 26608@debbugs.gnu.org; Sat, 22 Apr 2017 19:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d244J-000807-6s for 26608@debbugs.gnu.org; Sat, 22 Apr 2017 19:03:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d244J-000801-3j; Sat, 22 Apr 2017 19:03:55 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:55430 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d244I-00075N-GQ; Sat, 22 Apr 2017 19:03:54 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Christopher Allan Webber Subject: Re: bug#26608: Provide --only-substitutes flag to "guix package --upgrade" References: <874lxg77l4.fsf@dustycloud.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 23 Apr 2017 01:03:52 +0200 In-Reply-To: <874lxg77l4.fsf@dustycloud.org> (Christopher Allan Webber's message of "Sat, 22 Apr 2017 11:03:35 -0500") Message-ID: <87d1c4gi3r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Christopher Allan Webber skribis: > Sometimes I do an upgrade and I want to get the latest security updates, > but I also am not really available to burn through a lot of cpu time, > (especially on my x200). > > I'd love it if thre were a flag so that I could specify "only bother to > upgrade the packages where we only upgrade if a substitute is already > available. +1 > Note that I looked at the source to see if this would be an easy thing > to add; I figured that this would be handled in roughly the same place > as --keep-going or --fallback, but it looks to me like those are > actually just passed over to the build daemon, so I'm not so sure how > easy it would be to patch this in while we're still using Nix's C > daemon? I'm not sure. Clients could check, among the packages that are to be installed, which ones are substitutable (with the =E2=80=98substitute-paths=E2=80=99 RPC or = similar) and filter out those that are not. No C++ involved. Cheers, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 30 11:13:23 2017 Received: (at control) by debbugs.gnu.org; 30 May 2017 15:13:24 +0000 Received: from localhost ([127.0.0.1]:45433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFipn-00071l-PU for submit@debbugs.gnu.org; Tue, 30 May 2017 11:13:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFipn-00071a-2E for control@debbugs.gnu.org; Tue, 30 May 2017 11:13:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFipe-0007Zr-UC for control@debbugs.gnu.org; Tue, 30 May 2017 11:13:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFipe-0007Ze-Qx for control@debbugs.gnu.org; Tue, 30 May 2017 11:13:14 -0400 Received: from [193.50.110.69] (port=55618 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dFipe-0004dX-8k for control@debbugs.gnu.org; Tue, 30 May 2017 11:13:14 -0400 Date: Tue, 30 May 2017 17:13:12 +0200 Message-Id: <87a85u4buf.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26608 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) severity 26608 important From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 18:02:58 2018 Received: (at 26608) by debbugs.gnu.org; 30 Aug 2018 22:02:58 +0000 Received: from localhost ([127.0.0.1]:39527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvV1m-00060S-1z for submit@debbugs.gnu.org; Thu, 30 Aug 2018 18:02:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvV1k-00060D-EO for 26608@debbugs.gnu.org; Thu, 30 Aug 2018 18:02:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvV1e-0005Kr-Fd for 26608@debbugs.gnu.org; Thu, 30 Aug 2018 18:02:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvV1e-0005Kd-Ax; Thu, 30 Aug 2018 18:02:50 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53574 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvV1e-0008S3-2T; Thu, 30 Aug 2018 18:02:50 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Sassmannshausen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 31 Aug 2018 00:02:48 +0200 In-Reply-To: <87wos8lzcj.fsf@pompo.co> (Alex Sassmannshausen's message of "Thu, 30 Aug 2018 16:10:20 +0200") Message-ID: <878t4nqzqv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Alex, (Cc=E2=80=99ing and , which are related.) Alex Sassmannshausen skribis: > I don't know if this is what Konrad desires, but from my perspective, a > desirable part of the definition of stable would be a that the build > farms have produced a set of binaries/substitutes for a given Guix > revision that is "good enough". 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 =E2=80=98latest-commit-with-substitutes-available=E2=80=99= would use (git) and (guix ci) to find the latest commit for which substitutes of interest are available, and would return: (channel ;; =E2=80=A6 (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=E2=80=99t miss out on security updates, but maybe = we could provide a procedure that makes reasonable choices. Food for thought=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 05:40:01 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 09:40:02 +0000 Received: from localhost ([127.0.0.1]:39750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvfuL-00025O-HZ for submit@debbugs.gnu.org; Fri, 31 Aug 2018 05:40:01 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvfuJ-00024y-LX; Fri, 31 Aug 2018 05:40:00 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1D9A721BC4; Fri, 31 Aug 2018 05:39:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 31 Aug 2018 05:39:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=sjpV7AqqG0zj8C14b9LlGXL/snlSB d9QTQXAEc03Cw4=; b=ICDIzSkDVV+58xcxTBKJx5mi9scRcM/UV1cAwuEIOgPw5 lGvmpsgGdnkyWvNEUj8/HgXWLKAzPFf//LvSHwJLh0vPlODj9UzcUnW67W9a9oq6 mKK9fdilgtxcG6Y6iWeejCIUniahx3NwPaB+B/NlzQWgFrh6BLG6O8wzORzdEQZW 0szkIrR8zTJcCwzyHRL95wkC9SRpuCcqiANNMIfRyxLWZvCJsLmOVUmC5FAXhIio BEj4axvjRsBg4C8k2WnDNnnNuKozazcPc8Ba6H2/NgdL6cQlcRgGH4sGaUkivmuH HPUuxv/PNjoW2WBiBxpOn63Vku9MK0NEfY5K7c9ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=sjpV7A qqG0zj8C14b9LlGXL/snlSBd9QTQXAEc03Cw4=; b=wKg5ZdTkZBcmX4bnSKHQ5H 8ydkLlvlNXh/lz9XJZY8RyDXXCYWvHEMa0NWvVOiPE9Wi3xqZ/Kt2GQVzXh6J8bm 7SFaFK+dTUkaoZLzwX2oBbqoPgT8QPmFLanjUfrYTyDyfdjj9jqDKT+HwmsCW9yg oImdGTx2jeO7quuQbrxdDiEU/q/G1ig3RCYWe5dLTQhtcClzZeqQD0TNYv/VIMw0 ETmg9fF4qsLvRPfXbccFrZD37rkrlj4r21mKKNywCAYXMsOY1fcN33HHnGaTgkhn cZH9wvzIZgzIChTyiHtmC7VYQ4FdaFuCziKkD0vT23RzeWJPJh9ABPIjbnnmIFMA == X-ME-Proxy: X-ME-Sender: Received: from KHs-MacBook.local (soleil-ext.synchrotron.fr [195.221.0.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A0ABE46B6; Fri, 31 Aug 2018 05:39:57 -0400 (EDT) From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Alex Sassmannshausen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch In-Reply-To: <878t4nqzqv.fsf@gnu.org> 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> Date: Fri, 31 Aug 2018 11:39:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Ludo, > 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use > (git) and (guix ci) to find the latest commit for which substitutes of > interest are available, and would return: I really like that idea, but it's a pity to limit it to channels. Two scenarii I'd like to see covered are: 1) Find the latest commit with all substitutes required by a given manifest. 2) Find the latest commit with all substitutes required for updating a given profile. This is in fact only one problem with two user interfaces. Konrad. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 05:58:28 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 09:58:28 +0000 Received: from localhost ([127.0.0.1]:39759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgCC-0002V6-Kr for submit@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgCA-0002Us-88 for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvgC1-000881-QP for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvgC1-00087x-Mq; Fri, 31 Aug 2018 05:58:17 -0400 Received: from [193.50.110.186] (port=46664 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvgC1-0002jO-E6; Fri, 31 Aug 2018 05:58:17 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Konrad Hinsen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 31 Aug 2018 11:58:15 +0200 In-Reply-To: (Konrad Hinsen's message of "Fri, 31 Aug 2018 11:39:55 +0200") Message-ID: <874lfarh6w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, Alex Sassmannshausen , 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Konrad, Konrad Hinsen skribis: >> 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use >> (git) and (guix ci) to find the latest commit for which substitutes of >> interest are available, and would return: > > I really like that idea, but it's a pity to limit it to channels. What do you mean by =E2=80=9Climit it to channels=E2=80=9D? =E2=80=98%defa= ult-channels=E2=80=99 is an alias for the official Guix channel (IOW, Guix itself.) > Two scenarii I'd like to see covered are: > > 1) Find the latest commit with all substitutes required by a given > manifest. > > 2) Find the latest commit with all substitutes required for updating a > given profile. > > This is in fact only one problem with two user interfaces. Yes, we could do that, and even maybe more sophisticated things (e.g., looking at the commit log to determine whether security fixes are available, and adjusting the strategy accordingly.) What I find interesting is that we can provide the tools to support such policies, and then users can choose or implement the policy they want directly in ~/.config/guix/channels.scm. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 06:33:28 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 10:33:28 +0000 Received: from localhost ([127.0.0.1]:39796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgk4-0005Qw-06 for submit@debbugs.gnu.org; Fri, 31 Aug 2018 06:33:28 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgjz-0005QY-3V; Fri, 31 Aug 2018 06:33:23 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B68D921F2E; Fri, 31 Aug 2018 06:33:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 31 Aug 2018 06:33:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=Ms4cmFco2q97Wj75xjhCRrwOP7cAK Z7wbt2+ilB6bxc=; b=oRPzsJ9cnmg869qzFZSq6lycSoa1K9BSp4cEo6f0sTvaW 5RBvNIIRPFSMnENY3afUtBzQ5u3G7SC+jISuZOYzsImJMBUG8KuiwTOw1+qIKpR5 wMTMfKMpo8hMQ1eq9S7xbShJrc6nz6/9njfpScXvzVuyZkxG7y3ui7QAVVbPQY+z 3dygDEZogKWGPkvc6mdEZPYtI4VcctKLDUMqdDRDn7SzjacB920KhqGsrZuoKBCz UjuL2bDZMnpMjVNsibB2P7A303J3OAXVMpmkDmRZr8Umhx59Qps9zjD/ZWvEQrIj mumWi3rAho/3Xp2LjeHWxY9LzTaajw4gNqKlW5fDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Ms4cmF co2q97Wj75xjhCRrwOP7cAKZ7wbt2+ilB6bxc=; b=J74m89xktUNgBCNAP+CTF4 XNSGQpY0pdm6zmb23A6AknyAbHyD7XI59yzoU9DvrR4R52xeUvmmUsC5TGNNOziL fup0oaJ7CZrTACE0UvhIYpwhTlw/utkACdLhsdB1UVDliMmkwo7a71vQFX/W4ga/ FGgSAHRrpJxq5VTWAjmV+PFXnnms9oWDIfFCPKNeH6DQGWP2yJQ8WuoQx2lSuGXR jIZ0qpYaIKaNtPi7BtbMo6VGlru1Xxo6qeem0pFauhC5uRmjaL+Y2s0mZIRxySUe iuq0dCqZYOriwm1+7q6iQVXMa6VMUsgPWCiREmIsRbEeNCH4z4xoXHVQNKHa/7TA == X-ME-Proxy: X-ME-Sender: Received: from kh-MacBookPro (soleil-ext.synchrotron.fr [195.221.0.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 34DFF10288; Fri, 31 Aug 2018 06:33:21 -0400 (EDT) From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch In-Reply-To: <874lfarh6w.fsf@gnu.org> 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <874lfarh6w.fsf@gnu.org> Date: Fri, 31 Aug 2018 12:33:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, Alex Sassmannshausen , 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Ludo, > What do you mean by =E2=80=9Climit it to channels=E2=80=9D? =E2=80=98%de= fault-channels=E2=80=99 is an > alias for the official Guix channel (IOW, Guix itself.) Fine, but I rarely care about all of Guix, or all of any other channel. I care about the small subset of packages that I actually use. Better yet, with a per-manifest/profile approach, I could put my most critical packages in a special profile and get updates for them more quickly, while still working only with substitutes. BTW, just out of curiosity: for how many commits in Guix history all packages could be built successfully? Is that the rule of the exception? > Yes, we could do that, and even maybe more sophisticated things (e.g., > looking at the commit log to determine whether security fixes are > available, and adjusting the strategy accordingly.) Nice! > What I find interesting is that we can provide the tools to support such > policies, and then users can choose or implement the policy they want > directly in ~/.config/guix/channels.scm. I agree, it's nice to give people the tools they need to implement their own policy. Konrad. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 07:24:57 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 11:24:57 +0000 Received: from localhost ([127.0.0.1]:39819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvhXs-0006gt-PZ for submit@debbugs.gnu.org; Fri, 31 Aug 2018 07:24:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvhXq-0006gX-He for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 07:24:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvhXk-0007Zk-M3 for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 07:24:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvhXQ-0007VR-UU; Fri, 31 Aug 2018 07:24:28 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=45028 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvhXQ-0007VM-Jm; Fri, 31 Aug 2018 07:24:28 -0400 From: Jan Nieuwenhuizen To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch Organization: AvatarAcademy.nl 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Fri, 31 Aug 2018 13:24:25 +0200 In-Reply-To: <878t4nqzqv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 31 Aug 2018 00:02:48 +0200") Message-ID: <87mut2ok2e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, Alex Sassmannshausen , 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Ludovic Court=C3=A8s 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) This is a nice idea and it makes me remember that it would be useful to provide a way to avoid installing something that is cricitally broken, like Debian's apt-listbugs package/facility (https://packages.debian.org/sid/apt-listbugs). janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 07:46:03 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 11:46:03 +0000 Received: from localhost ([127.0.0.1]:39827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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= header.from= 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32022: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= 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 , 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use > (git) and (guix ci) to find the latest commit for which substitutes of > interest are available, and would return: > > (channel > ;; =E2=80=A6 > (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=E2=80=99t miss out on security updates, but mayb= e 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 09:02:08 2018 Received: (at 26608) by debbugs.gnu.org; 31 Aug 2018 13:02:08 +0000 Received: from localhost ([127.0.0.1]:39888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvj3v-0002g8-Qj for submit@debbugs.gnu.org; Fri, 31 Aug 2018 09:02:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvj3q-0002fU-Nw for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 09:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvj3i-0002Df-2D for 26608@debbugs.gnu.org; Fri, 31 Aug 2018 09:01:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvj3h-0002Da-Us; Fri, 31 Aug 2018 09:01:53 -0400 Received: from [193.50.110.186] (port=49170 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvj3h-0000CE-LZ; Fri, 31 Aug 2018 09:01:53 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Konrad Hinsen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <874lfarh6w.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 31 Aug 2018 15:01:52 +0200 In-Reply-To: (Konrad Hinsen's message of "Fri, 31 Aug 2018 12:33:19 +0200") Message-ID: <87k1o6pu4f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, Alex Sassmannshausen , 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Konrad Hinsen skribis: >> What do you mean by =E2=80=9Climit it to channels=E2=80=9D? =E2=80=98%d= efault-channels=E2=80=99 is an >> alias for the official Guix channel (IOW, Guix itself.) > > Fine, but I rarely care about all of Guix, or all of any other channel. > I care about the small subset of packages that I actually use. > > Better yet, with a per-manifest/profile approach, I could put my most > critical packages in a special profile and get updates for them more > quickly, while still working only with substitutes. Sure! The hypothetical procedure I gave can perform arbitrary checks; it could be passed a manifest. > BTW, just out of curiosity: for how many commits in Guix history all > packages could be built successfully? Is that the rule of the exception? We never have 100% of successful builds. Of course we do our best to keep the failure rate low, but sometimes there are unpopular packages that remain broken for some time, or there are packages for which we forgot to exclude some systems via =E2=80=98supported-systems=E2=80=99, and= of course there=E2=80=99s unintended breakage. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 03 10:11:07 2018 Received: (at 26608) by debbugs.gnu.org; 3 Sep 2018 14:11:07 +0000 Received: from localhost ([127.0.0.1]:44443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwpZK-0003e8-Nr for submit@debbugs.gnu.org; Mon, 03 Sep 2018 10:11:06 -0400 Received: from [82.153.16.8] (port=47017 helo=ronja.pompo.co) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwpZH-0003dC-9s; Mon, 03 Sep 2018 10:11:04 -0400 Received: from rosser (vodsl-8997.vo.lu [85.93.202.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ronja.pompo.co (Postfix) with ESMTPSA id 3C8A7402FA; Mon, 3 Sep 2018 14:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pompo.co; s=mail; t=1535983857; bh=3zF55RApxQW/X+upZzku+GEwteudvedpfMUF3yyndPY=; h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From; b=dGcGBQplM2cxJPiAJ65dE/mruEa2WYSs6OJFynsAs7kJeVQQNS6E97m2z/Lv683eC wcklV4yzz6f7FBGTEXaOYhia3HCwyO89s8HvlKRU+2kverTnV0NTrQNs4SjFvYt6BP 9aV680wXUDZ/bWLN93x9gpmNQZTW8r+/IDw7eoss= 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch In-reply-to: <878t4nqzqv.fsf@gnu.org> Date: Mon, 03 Sep 2018 16:10:36 +0200 Message-ID: <87r2iau0wz.fsf@pompo.co> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Ludo, Ludovic Courtès writes: > Hi Alex, > > (Cc’ing and , > which are related.) > > Alex Sassmannshausen skribis: > >> I don't know if this is what Konrad desires, but from my perspective, a >> desirable part of the definition of stable would be a that the build >> farms have produced a set of binaries/substitutes for a given Guix >> revision that is "good enough". > > 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 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alex@pompo.co Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hi Ludo, Ludovic Court=C3=A8s writes: > Hi Alex, > > (Cc=E2=80=99ing and , > which are related.) > > Alex Sassmannshausen skribis: > >> I don't know if this is what Konrad desires, but from my perspective, a >> desirable part of the definition of stable would be a that the build >> farms have produced a set of binaries/substitutes for a given Guix >> revision that is "good enough". > > 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use > (git) and (guix ci) to find the latest commit for which substitutes of > interest are available, and would return: > > (channel > ;; =E2=80=A6 > (commit "cabbag3")) ;the ideal commit This sounds incredibly interesting =E2=80=94 and it is testament once again= to the power of Guix that this kind of solution could be feasible! Thinking this through in my head somewhat, I had the following thoughts: - This procedure is invoked client side, where the channel is defined - That means the git searching is done client side, on every invocation of guix (I guess this might be cacheable?) - So the downside vis-a-vis a maintained "stable branch" would be a price in performance as experienced by the end user - The upside of course would be automatic curation of a stable branch that saves a ton of volunteer effort and work I have no idea what the performance cost would be. I guess you would use "guix weather" to turn the set of requested packages into a manifest which can then be checked with it. So the cost would be one of the following scenarios: Option a) - fetch set of packages in a given commit - query guix weather for 100% substitutes - iterate until a match - then perform the appropriate guix pull Option b) - perform a guix pull to the latest commit - query guix weather for 100% substitutes - until success, step back one step at a time through guix pull (because of the cost of guix pull this seems unfeasible) Option c) Implement some form of substitute cache set querying on build farms, as part of guix weather, so the 100% match is done on the build farm instead of the client. Dunno. There may be some things that already exist in Guix land that I'm missing. It's a super exciting approach for sure. > This has to be done with great care to prevent a downgrade attack and to > make sure the user doesn=E2=80=99t miss out on security updates, but mayb= e we > could provide a procedure that makes reasonable choices. Right =E2=80=94 so at the very least it would have to prevent us going "bac= k in time" from the guix pull commit we are currently at. The question of security updates is tricky at the moment already =E2=80=94 I would hazard a guess that many people bail out of upgrading when they can't get substitutes for their entire profile / system right now, which means they are not getting security upgrades for package (a) when a substitute for (b) fails. Thanks for your thoughts =E2=80=94 super intriguing! Alex From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 03 15:52:16 2018 Received: (at 26608) by debbugs.gnu.org; 3 Sep 2018 19:52:17 +0000 Received: from localhost ([127.0.0.1]:44593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwutU-0005XQ-Jx for submit@debbugs.gnu.org; Mon, 03 Sep 2018 15:52:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwutR-0005XA-Th for 26608@debbugs.gnu.org; Mon, 03 Sep 2018 15:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwutL-0003kX-3O for 26608@debbugs.gnu.org; Mon, 03 Sep 2018 15:52:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwutH-0003jN-Pw; Mon, 03 Sep 2018 15:52:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48602 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwutF-0000YD-SV; Mon, 03 Sep 2018 15:52:03 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Sassmannshausen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <87r2iau0wz.fsf@pompo.co> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 03 Sep 2018 21:52:00 +0200 In-Reply-To: <87r2iau0wz.fsf@pompo.co> (Alex Sassmannshausen's message of "Mon, 03 Sep 2018 16:10:36 +0200") Message-ID: <87zhwywe8v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Alex, Alex Sassmannshausen skribis: > Ludovic Court=C3=A8s 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use >> (git) and (guix ci) to find the latest commit for which substitutes of >> interest are available, and would return: >> >> (channel >> ;; =E2=80=A6 >> (commit "cabbag3")) ;the ideal commit > > This sounds incredibly interesting =E2=80=94 and it is testament once aga= in to > the power of Guix that this kind of solution could be feasible! Just to be clear: I don=E2=80=99t think this would be a substitute for a =E2=80=9Cstable=E2=80=9D branch; rather, I view as a way to have user-defin= ed policies such as =E2=80=9Cpull up to the latest commit for which there=E2=80=99s a s= ubstitute for IceCat.=E2=80=9D > Thinking this through in my head somewhat, I had the following thoughts: > - This procedure is invoked client side, where the channel is defined > - That means the git searching is done client side, on every invocation > of guix (I guess this might be cacheable?) On every invocation of =E2=80=98guix pull=E2=80=99 only. > I have no idea what the performance cost would be. I guess you would > use "guix weather" to turn the set of requested packages into a manifest > which can then be checked with it. As I imagine it, the cost would be a few HTTP queries to the Cuirass API. I should try to come up with an example to better explain what I had in mind! > The question of security updates is tricky at the moment already =E2=80= =94 I > would hazard a guess that many people bail out of upgrading when they > can't get substitutes for their entire profile / system right now, which > means they are not getting security upgrades for package (a) when a > substitute for (b) fails. That=E2=80=99s probably true, and I agree it=E2=80=99s problematic. What I typically do is =E2=80=9Cguix pull && guix package -n -u=E2=80=9D. = Then I look at things that would be built; if, say, LibreOffice is among them, I wait for a little while and try again later, until I can get enough substitutes. That usually works okay, but it fails if it turns out that one of the dependencies fails to build: substitutes never become available in that case. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 03 16:27:41 2018 Received: (at 26608) by debbugs.gnu.org; 3 Sep 2018 20:27:41 +0000 Received: from localhost ([127.0.0.1]:44619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwvRj-0006P4-8N for submit@debbugs.gnu.org; Mon, 03 Sep 2018 16:27:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwvRg-0006Oo-VS for 26608@debbugs.gnu.org; Mon, 03 Sep 2018 16:27:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwvRZ-0000SM-R7 for 26608@debbugs.gnu.org; Mon, 03 Sep 2018 16:27:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwvRX-0000R7-Qu; Mon, 03 Sep 2018 16:27:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48810 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwvRX-0003Co-49; Mon, 03 Sep 2018 16:27:27 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Sassmannshausen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <87r2iau0wz.fsf@pompo.co> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 03 Sep 2018 22:27:25 +0200 In-Reply-To: <87r2iau0wz.fsf@pompo.co> (Alex Sassmannshausen's message of "Mon, 03 Sep 2018 16:10:36 +0200") Message-ID: <87h8j6wclu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Sassmannshausen skribis: > Ludovic Court=C3=A8s 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use >> (git) and (guix ci) to find the latest commit for which substitutes of >> interest are available, and would return: >> >> (channel >> ;; =E2=80=A6 >> (commit "cabbag3")) ;the ideal commit The code below is an illustration of that. If you install it as ~/.config/guix/channels.scm, =E2=80=98guix pull=E2=80=99 will pull the late= st commit that was fully built on berlin.guixsd.org (see ), meaning that substitutes for Guix itself should be available, unless =E2=80=98guix publi= sh=E2=80=99 hasn=E2=80=99t =E2=80=9Cbaked=E2=80=9D them yet. It takes two GETs and ~1s to do that here. Ludo=E2=80=99. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=channels-test.scm Content-Description: the channels config (use-modules (guix http-client) (json) (srfi srfi-1) (ice-9 match)) (define (latest-evaluations jobset) "Return the latest evaluations of JOBSET." (filter (lambda (json) (string=? (hash-ref json "specification") jobset)) (json->scm (http-fetch "https://berlin.guixsd.org/api/evaluations?nr=30")))) (define (evaluation-complete? number) "Return true if evaluation NUMBER completed and all its builds were successful." (let ((builds (json->scm (http-fetch (string-append "https://berlin.guixsd.org/api/latestbuilds?nr=30&evaluation=" (number->string number)))))) (every (lambda (build) ;; Zero means build success. (= (hash-ref build "buildstatus") 0)) builds))) (define (latest-commit-successfully-built) "Return the latest commit for which substitutes are (potentially) available." (let* ((evaluations (latest-evaluations "guix-modular-master")) (candidates (filter-map (lambda (json) (match (hash-ref json "checkouts") ((checkout) (cons (hash-ref json "id") (hash-ref checkout "commit"))) (_ #f))) evaluations))) (any (match-lambda ((evaluation . commit) (and (evaluation-complete? evaluation) commit))) candidates))) ;; Pull the latest commit fully built on berlin.guixsd.org. ;; WARNING: This could downgrade your system! (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit (pk 'commit (latest-commit-successfully-built))))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 04 04:02:41 2018 Received: (at 26608) by debbugs.gnu.org; 4 Sep 2018 08:02:41 +0000 Received: from localhost ([127.0.0.1]:44990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fx6IL-0007Zt-Cn for submit@debbugs.gnu.org; Tue, 04 Sep 2018 04:02:41 -0400 Received: from [82.153.16.8] (port=36569 helo=ronja.pompo.co) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fx6II-0007ZX-TH; Tue, 04 Sep 2018 04:02:39 -0400 Received: from rosser (vodsl-8997.vo.lu [85.93.202.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ronja.pompo.co (Postfix) with ESMTPSA id 9658A402FA; Tue, 4 Sep 2018 08:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pompo.co; s=mail; t=1536048152; bh=GQP2IdXMJuN0f50IPjTghGMdDO6YbwC5eOFHkgfT8Bk=; h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From; b=WNBWWt3tv15EGYX8rnS4a6Yvkbk31Yj2Mmbxy+iBal9MgYUv980Jpj9E9HZaOuoL5 lRrMYpPrYxIfCf462cRpBPcR7FjrTiajjW0QrHkwGjIqeKRZoFqR93p8aOhR+Nfb+U Po3vHezlCJflOKTaxo4bfKJKV96rpAis2nSGTDPM= 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <87r2iau0wz.fsf@pompo.co> <87zhwywe8v.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch In-reply-to: <87zhwywe8v.fsf@gnu.org> Date: Tue, 04 Sep 2018 10:02:31 +0200 Message-ID: <87pnxtu1uw.fsf@pompo.co> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ludovic Courtès writes: > Hi Alex, > > Alex Sassmannshausen skribis: > >> Ludovic Courtès 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 sounds incredibly interesting — and it is testament once again to >> the power of Guix that this kind of solution could be feasible! > > Just to be clear: I don’t think this would be a substitute for a > “stable” branch; rather, I view as a way to have user-defined policies > such as “pull up to the latest commit for which there’s a substitute for > IceCat.” [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alex@pompo.co Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Ludovic Court=C3=A8s writes: > Hi Alex, > > Alex Sassmannshausen skribis: > >> Ludovic Court=C3=A8s 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 =E2=80=98latest-commit-with-substitutes-available=E2= =80=99 would use >>> (git) and (guix ci) to find the latest commit for which substitutes of >>> interest are available, and would return: >>> >>> (channel >>> ;; =E2=80=A6 >>> (commit "cabbag3")) ;the ideal commit >> >> This sounds incredibly interesting =E2=80=94 and it is testament once ag= ain to >> the power of Guix that this kind of solution could be feasible! > > Just to be clear: I don=E2=80=99t think this would be a substitute for a > =E2=80=9Cstable=E2=80=9D branch; rather, I view as a way to have user-def= ined policies > such as =E2=80=9Cpull up to the latest commit for which there=E2=80=99s a= substitute for > IceCat.=E2=80=9D Ah, I understand now. So the example you provided is a user-defined policy to install the latest version of Guix that is downloadable using substitutes (if guix publish has published those already). As you say, in a similar vein, the end user could for themselves define a policy that searches for a commit containing a specific successful build, or a set of specific successful builds. >> Thinking this through in my head somewhat, I had the following thoughts: >> - This procedure is invoked client side, where the channel is defined >> - That means the git searching is done client side, on every invocation >> of guix (I guess this might be cacheable?) > > On every invocation of =E2=80=98guix pull=E2=80=99 only. That makes sense, and is way better than I feared :-) >> I have no idea what the performance cost would be. I guess you would >> use "guix weather" to turn the set of requested packages into a manifest >> which can then be checked with it. > > As I imagine it, the cost would be a few HTTP queries to the Cuirass > API. I should try to come up with an example to better explain what I > had in mind! Your example helps visualize this, thanks. Your example depends on there being a jobset that comprises the set of packages you are interested in testing. I imagine it is possible to do the same for an individual package / job. The situation would be different if the end user wanted to perform a similar operation for an arbitrary set of packages on their end. It would probably involve something like this (probably naive): (define (latest-commit-successfully-built-pkg pkg) "Return the latest commit for the pkg for which substitutes are (potentially) available." ;; Like your version, but magically performs query ;; for pkg, not the guix-modular-master evaluation (let* ((evaluations (latest-evaluations pkg)) (candidates (filter-map (lambda (json) (match (hash-ref json "checkouts") ((checkout) (cons (hash-ref json "id") (hash-ref checkout "commit"))) (_ #f))) evaluations))) (map (match-lambda ((evaluation . commit) (and (evaluation-complete? evaluation) commit))) candidates))) (any (match-lambda ((evaluation . commit) commit) (apply lset-intersection equal? ;; Like latest-commit-successfully-built, but takes an ;; individual package name for which we return the ;; commit (map latest-commit-successfully-built-pkg %set-of-packages)))) Obviously the larger the set, the more requests are required, and the lower the chance of a commit being available / a downgrade occuring >> The question of security updates is tricky at the moment already =E2=80= =94 I >> would hazard a guess that many people bail out of upgrading when they >> can't get substitutes for their entire profile / system right now, which >> means they are not getting security upgrades for package (a) when a >> substitute for (b) fails. > > That=E2=80=99s probably true, and I agree it=E2=80=99s problematic. > > What I typically do is =E2=80=9Cguix pull && guix package -n -u=E2=80=9D.= Then I look > at things that would be built; if, say, LibreOffice is among them, I > wait for a little while and try again later, until I can get enough > substitutes. That usually works okay, but it fails if it turns out that > one of the dependencies fails to build: substitutes never become > available in that case. Interesting. Do you think this kind of thing might be useful to have in the Guix manual? Like, in a section about a "typical" desktop end-user might manage their system day to day? Alex From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 04 08:22:47 2018 Received: (at 26608) by debbugs.gnu.org; 4 Sep 2018 12:22:47 +0000 Received: from localhost ([127.0.0.1]:45111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxAM3-0003D2-BJ for submit@debbugs.gnu.org; Tue, 04 Sep 2018 08:22:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxAM1-0003Cl-KA for 26608@debbugs.gnu.org; Tue, 04 Sep 2018 08:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxALt-0002YG-7Q for 26608@debbugs.gnu.org; Tue, 04 Sep 2018 08:22:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxALt-0002Xk-0o; Tue, 04 Sep 2018 08:22:37 -0400 Received: from [193.50.110.186] (port=48646 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fxALs-0000u6-Oc; Tue, 04 Sep 2018 08:22:36 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Sassmannshausen Subject: Re: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> <87r2iau0wz.fsf@pompo.co> <87zhwywe8v.fsf@gnu.org> <87pnxtu1uw.fsf@pompo.co> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 04 Sep 2018 14:22:35 +0200 In-Reply-To: <87pnxtu1uw.fsf@pompo.co> (Alex Sassmannshausen's message of "Tue, 04 Sep 2018 10:02:31 +0200") Message-ID: <8736upcv04.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Alex, Alex Sassmannshausen skribis: > So the example you provided is a user-defined policy to install the > latest version of Guix that is downloadable using substitutes (if guix > publish has published those already). > > As you say, in a similar vein, the end user could for themselves define > a policy that searches for a commit containing a specific successful > build, or a set of specific successful builds. Exactly. >> As I imagine it, the cost would be a few HTTP queries to the Cuirass >> API. I should try to come up with an example to better explain what I >> had in mind! > > Your example helps visualize this, thanks. > > Your example depends on there being a jobset that comprises the set of > packages you are interested in testing. Yes, and it=E2=80=99s hacky in that the substitute server and jobset names = are hard-coded, but you get the idea. > I imagine it is possible to do the same for an individual package / job. Yes. > The situation would be different if the end user wanted to perform a > similar operation for an arbitrary set of packages on their end. It would be quite similar: you would query the set of builds of an evaluation of the =E2=80=9Cguix-modular=E2=80=9D jobset and check whether t= he packages of interest were built. >> What I typically do is =E2=80=9Cguix pull && guix package -n -u=E2=80=9D= . Then I look >> at things that would be built; if, say, LibreOffice is among them, I >> wait for a little while and try again later, until I can get enough >> substitutes. That usually works okay, but it fails if it turns out that >> one of the dependencies fails to build: substitutes never become >> available in that case. > > Interesting. Do you think this kind of thing might be useful to have in > the Guix manual? Like, in a section about a "typical" desktop end-user > might manage their system day to day? It would make sense to have such a section I guess. However, before teaching users how to work around deficiencies of our infrastructure our processes ;-), I=E2=80=99d like us to improve them much as possible. I=E2= =80=99m sure we have room for improvement for instance in Cuirass. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 03 14:24:58 2019 Received: (at 26608) by debbugs.gnu.org; 3 Dec 2019 19:24:58 +0000 Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icDn7-0004Bz-Os for submit@debbugs.gnu.org; Tue, 03 Dec 2019 14:24:58 -0500 Received: from mail-vs1-f44.google.com ([209.85.217.44]:38630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icCP3-00025O-7v; Tue, 03 Dec 2019 12:56:01 -0500 Received: by mail-vs1-f44.google.com with SMTP id y195so2964311vsy.5; Tue, 03 Dec 2019 09:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GHjyOG2u/CVhuUfv9Aq4NypJFKJ6ganIUx62RkNeRGk=; b=F3KlRfZJ5w+Ei/3APvfCOC5379tOHWi4RzOZxyiU99NVEipSUmHJuAyEfsn8a8QYh3 nh6q232RLXZL2tSxvNQD9i3fOTqqhIOHS4EJ1TRyfVSvoPGKxjOtxOK4khpdecIcoL6q 2VUMHhO5S4wyPx0u6EkI2gputnSuRZuo7nnE47f//bEC+SiL7mytux7fqW/yKhifqQmn UJXbddLBdD/9d4LX8qIzPSfCcmCiZZvgK/8NusdL8PBBe8gbgHwFNi2a8HbBVWlXlC4K 6xrn4qjb8XLui36w/ZoIb7uGd2vrebLC0tnF+Egjznn6g3UORBKxmnC1dV3b5fVkNWEA qFGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GHjyOG2u/CVhuUfv9Aq4NypJFKJ6ganIUx62RkNeRGk=; b=O00qfuvHKng8ZuRkmmNOc/9DYN2z6HMDQAkae8E9OW0/D00MlHh8OPmjBAbvL9BtPX eaEkhbM9MOVfeoNVtIXwXqYzp8KP44nOS+x7rwZHy3nFyaqq+6nLU/6NO+58oZRKmHFT rcI5o+/BFrH/5HgozNPdY01sX3nO57Uc4+5oL/liDFITRewFbDCsuZ9AgDlLAd8zDwEG 3mV6dZYu5peNv/lMbLBGlxKkH3Pxpzfexmbp3nPmJnyCQGeJN1A/Dirq1laa5LFdTzbQ eKGLxjZdY1ukG+hD+EB8DqZrH9Opv8S0HEmOV5UITh/Z7oheraXpVwOXzeMDJ7pkW0VN k+6Q== X-Gm-Message-State: APjAAAXQdZgkiqdIPUYEjYwdsy23pJHjgeGm4Bhn646BiXVDpTQgbLhB w3/hzUWjoo+cAlMaRL5pidjyqftNgulybLU4Y48Vdg== X-Google-Smtp-Source: APXvYqykeJ0nBuU8Bshrn2so/M6LXBhOG6muY19TLmUNUwPjAXCbOmD8bckymp1eIpH6EvMWp24r0Q1WDZkMYJdmhJg= X-Received: by 2002:a67:f1cc:: with SMTP id v12mr3567765vsm.78.1575395755280; Tue, 03 Dec 2019 09:55:55 -0800 (PST) MIME-Version: 1.0 From: Nome Grey Date: Tue, 3 Dec 2019 09:55:41 -0800 Message-ID: Subject: channels.scm supporting substitutes To: 26608@debbugs.gnu.org, 32022@debbugs.gnu.org, 22629@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000005fcd830598d0689e" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 26608 X-Mailman-Approved-At: Tue, 03 Dec 2019 14:24:56 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --0000000000005fcd830598d0689e Content-Type: text/plain; charset="UTF-8" Ludovic posted some channels.scm code in September 2018 supporting using more substitutes. Unfortunately his code no longer functions due to an upgrade of guile-json in guix. I've tried to learn enough guile to upgrade the code to the newer json structures, and posted my changes to github at https://github.com/nomr72/guix-substitutes-channel . It seems to run again now. Maybe I can learn enough to upgrade it to check the 'guix-master' evaluations to find the latest build of key packages. We'll see. --0000000000005fcd830598d0689e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ludovic posted some channels.scm code in September 2018 s= upporting using more substitutes.=C2=A0 Unfortunately his code no longer fu= nctions due to an upgrade of guile-json in guix.

I've tried to learn enough guile to upgrade the code= to the newer json structures, and posted my changes to github at https://github.com/= nomr72/guix-substitutes-channel .=C2=A0 It seems to run again now.

Maybe I can learn enough to = upgrade it to check the 'guix-master' evaluations to find the lates= t build of key packages.=C2=A0 We'll see.

--0000000000005fcd830598d0689e-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 11:42:04 2019 Received: (at 26608) by debbugs.gnu.org; 10 Dec 2019 16:42:04 +0000 Received: from localhost ([127.0.0.1]:56479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieiaK-0000BZ-2y for submit@debbugs.gnu.org; Tue, 10 Dec 2019 11:42:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieiaI-0000Aj-6m; Tue, 10 Dec 2019 11:42:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ieiaD-0003ff-1p; Tue, 10 Dec 2019 11:41:57 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53330 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ieiaC-0000zZ-Hf; Tue, 10 Dec 2019 11:41:56 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nome Grey Subject: Re: bug#26608: channels.scm supporting substitutes References: <874lxg77l4.fsf@dustycloud.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Frimaire an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 10 Dec 2019 17:41:54 +0100 In-Reply-To: (Nome Grey's message of "Tue, 3 Dec 2019 09:55:41 -0800") Message-ID: <87h828nne5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Nome Grey skribis: > Ludovic posted some channels.scm code in September 2018 supporting using > more substitutes. Unfortunately his code no longer functions due to an > upgrade of guile-json in guix. > > I've tried to learn enough guile to upgrade the code to the newer json > structures, and posted my changes to github at > https://github.com/nomr72/guix-substitutes-channel . It seems to run aga= in > now. Nice, thanks for sharing! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 07:33:31 2021 Received: (at 26608) by debbugs.gnu.org; 20 Aug 2021 11:33:31 +0000 Received: from localhost ([127.0.0.1]:33064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2mB-0000TY-1z for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:33:31 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:53163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2m5-0000Sg-HX; Fri, 20 Aug 2021 07:33:26 -0400 Received: by mail-wm1-f48.google.com with SMTP id f10so5755870wml.2; Fri, 20 Aug 2021 04:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=+PJs/N9ZGfameJFzjUwI1Rr/41mL5ZQXFXHf42OLuAQ=; b=JqGJskvs2XHRVFcTR5YWVUWEbO7UbMIaLT9XTET2bgdrbDtQShNnuwKEcySIKK+9LB OrQtcW85m6g8UMNeIT7hmNDSR8+IA4lT7bewoqTwC1MIkeHDNLVI4RNqY4lrzuEJV/iH 9VxaVKXfNsTA2FKPcEr0q+/Q8yFKttO9WfeoOcU5IWxFr8H0pOGF5/VSUebuHceICLMp Bw3d1jozZZLCGC2HXt0ndY5kHj1c0Vl0nrNZN3zaknazmkjTK/LjANYHkof6cBGSFC88 DpBwAuASMkrOnb9z+OzwXluY3XlbWviizC4r/KTui672nkeqCVhxFkWynK8QHFqPmiaQ 1vWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=+PJs/N9ZGfameJFzjUwI1Rr/41mL5ZQXFXHf42OLuAQ=; b=TLCTKyX/bgWeRfhP9qdAi4iBPujBbps3U8/38oQR5BhdfvuWW+nwC3kdxaM4qH7dRM 82YeKhaUjMrpmUQiwO/OUhWB88ik3kD11eHB5eXJDha+OUWJZn51jN1MqXW0Sr+2BJf0 YZSp2upMDfW5Rg2NuuAiIR3vx4oUyOOsA+XPm8R+LE4G+XRlfdBvePZuB0+/kaoMzrx6 JM0Y/X/s5W0KsT1aWVrdwpgYCV5+Yze03EjWB6fLKooVAPtOy/hpo432SoEZcmLRlqJn XYyeDu71p1YyWs0z7+eHMQOExhYUvp1I4W580L3HlprmqthPF/U3ek7ANSK0EDYrsiR7 HhzA== X-Gm-Message-State: AOAM533Kaj2qCXtSUtBT3rHlJV8sOlYugnHxkn+PJiF4nSbiwpyRCXwl 8Z+kRTxfmlGI/oe7edd2gQrGgXUUaT6Xvg== X-Google-Smtp-Source: ABdhPJxZEe24h1PlubydDQCunD4/SKQgQ4Gn9lv4fs0vajA4GDdUz7iEpBjHD8E71KihZEChRuxVTw== X-Received: by 2002:a7b:cbc2:: with SMTP id n2mr3102411wmi.155.1629459199756; Fri, 20 Aug 2021 04:33:19 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a18sm9585455wmg.43.2021.08.20.04.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 04:33:19 -0700 (PDT) From: zimoun To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#26608: bug#22629: =?utf-8?B?4oCcU3RhYmxl4oCd?= branch 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> <875zzs9wzl.fsf@netris.org> <874lfcxd2v.fsf_-_@gnu.org> <87wos8lzcj.fsf@pompo.co> <878t4nqzqv.fsf@gnu.org> Date: Fri, 20 Aug 2021 13:09:18 +0200 In-Reply-To: <878t4nqzqv.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 31 Aug 2018 00:02:48 +0200") Message-ID: <86mtpcnzj5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26608 Cc: 26608@debbugs.gnu.org, Konrad Hinsen , Alex Sassmannshausen , 22629@debbugs.gnu.org, 32022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, 31 Aug 2018 at 00:02, ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > (Cc=E2=80=99ing and , > which are related.) > > Alex Sassmannshausen skribis: > >> I don't know if this is what Konrad desires, but from my perspective, a >> desirable part of the definition of stable would be a that the build >> farms have produced a set of binaries/substitutes for a given Guix >> revision that is "good enough". > > 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 =E2=80=98latest-commit-with-substitutes-available=E2=80= =99 would use > (git) and (guix ci) to find the latest commit for which substitutes of > interest are available, and would return: > > (channel > ;; =E2=80=A6 > (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=E2=80=99t miss out on security updates, but mayb= e we > could provide a procedure that makes reasonable choices. >From my understanding, this bug can be close because: WDYT? All the best, simon