From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 31 05:58:37 2018 Received: (at 32022) by debbugs.gnu.org; 31 Aug 2018 09:58:37 +0000 Received: from localhost ([127.0.0.1]:39762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgCK-0002VU-Sk for submit@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvgCJ-0002VF-HA for 32022@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvgCB-0008GS-81 for 32022@debbugs.gnu.org; Fri, 31 Aug 2018 05:58:30 -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: 32022 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.