From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gC4gCaEq3GCTHgAAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 10:26:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MHXiBKEq3GCQLAAA1q6Kng (envelope-from ) for ; Wed, 30 Jun 2021 08:26:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A2A5A14A65 for ; Wed, 30 Jun 2021 10:26:08 +0200 (CEST) Received: from localhost ([::1]:35702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyVXr-0002JJ-Jj for larch@yhetil.org; Wed, 30 Jun 2021 04:26:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyVXP-0002HK-HH for guix-devel@gnu.org; Wed, 30 Jun 2021 04:25:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyVXM-0007Wl-Ar; Wed, 30 Jun 2021 04:25:38 -0400 Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at [62.116.34.49]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GFDtf2rCMz1LZVs; Wed, 30 Jun 2021 10:25:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GFDtf2rCMz1LZVs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1625041530; bh=C2STUboj/a4VRoNRHqjb5QWKfYXjQ5+dg/rSqY0KzUg=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=gOvtqIIqUvMUkcv78N8QcyPVlB9/QO1ldveKXTFceDSHkvIJfFHomovpCWJN6ivjy X4iEA7P6RcfUnSpmcylGQwU1b7QgIqBoy7VGPJZWyPtAA916aP+L0PUitI/r6a1AJl bvaU1j1HkEvrcqF5EedOWjh2FXr7IpNEWBmPD2Hk= Message-ID: <5cbe22a7faa922b2756fdec968f6809340b33a10.camel@student.tugraz.at> Subject: Re: Wrap %default-guix-channel inside channel-with-substitutes-available by default? From: Leo Prikler To: Mathieu Othacehe Date: Wed, 30 Jun 2021 10:25:29 +0200 In-Reply-To: <871r8jn55o.fsf@gnu.org> References: <712a7bd9bac53b39f104ab302fba1783030e22f0.camel@student.tugraz.at> <871r8jn55o.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mekeor@posteo.de, guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625041568; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=C2STUboj/a4VRoNRHqjb5QWKfYXjQ5+dg/rSqY0KzUg=; b=KCWTMKi+K+lsw5QUJu+5LGVerFDFRb1gDGm03Q3ZDTeXB2V3/InKekHefp3/EIuP488R0e fRR997OM/6dPKvJmPWoglGuout33EwiDFNc3Umr2HuNtjiaSByyHFYp/yoEJE7HS+PKB+/ oZdPvADojjt9uaXPEL7VBfEsTcRvWSG26IXMidZrMCEaZGrT1Kho25Zxy9Pf+b6Ry1lMjn WQo/hvovLYXCNB8fw+2HZ5fEr6jVn5kSYOim2qyAneFW3qfrQp4f3kP1sMx2thNCCROhkp 5uleZfP26S46/aa/Q0AQ1ek4pkRl7XchBOdNa4pmsT0KR+bQheYTb/QsEK/ZAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625041568; a=rsa-sha256; cv=none; b=MR9u3B51M9QOz7T5HzLHJtoUJDO2xEIn6FdyenquRn4KWI5hnlc/7a0AoAqHq8DGauAdII 9jrfI49RWAol1ooBs5kIYg7xZ6hu3OAhvVPJiH0Cmi+WOm5CFMiLf1NO1PShM+meEFC8Dp c7bTkBGwwpW1Tt1v6qX1A5x3y/cfEem5vI/21BN9FFORXXQs+3qu9z3pDC4YSAspflOzU9 2Tpk7G/btGCnDW0efcC0s7HV4RJdOlhCQyBm02btRVjHOvBhZnfdTMnL4Sh1hNqcz2Q0yS RN3duMr3pRykZQJgbmV1sfKJ2+p3wAPRQ1S9jKREj5dmfUGRWpYgn1X2KEzFAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=gOvtqIIq; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=gOvtqIIq; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A2A5A14A65 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: wtLWcodxHSTS Am Mittwoch, den 30.06.2021, 10:11 +0200 schrieb Mathieu Othacehe: > Hello, > > > I think we do have the obligation to clearly document channels- > > with- > > substitutes-available and make it so that this particular piece of > > documentation can easily be found by everyone who is potentially > > affected by slow-downs. Perhaps we might even want to include an > > option in the installer to set up /etc/guix/channels.scm to only > > use > > channels with available substitutes. But using it as a default > > without > > communicating this fact to the users would be a poor idea in my > > opinion. > > I fear that a lot of users are not aware of this mechanism and do not > really understand why "guix pull" sometimes starts building stuff. > > We could maybe proceed this way: > > 1. Enable the channel-with-substitutes-available snippet by default. > > 2. Add a command line option --without-available-substitutes. > > 3. Add a new info message when the fetched commit is not the latest > commit, to minimize the risk you are mentioning above. Something > like: > > Skipping N new commits that do not have any available substitutes, > use the --without-available-substitutes option to update anyway. I don't think such verbosity leads to a good result, compare the infamous ". $GUIX_PROFILE/etc/profile" blurb. I think we should instead have --with-available-substitutes(*), so that we have --with-available-substitutes: Only pull stuff, that can be substituted (default): Pull the latest, don't care about substitutes --without-substitutes: Pull the latest, never substitute I think having default in the middle here and no potential for confusion between --without-available-substitutes and --without- substitutes is preferable. WDYT? Regards, Leo (*) Things get a little more complicated if you add other channels. Of course Guix CI only hosts the main channel, but what if someone has Guix Past along with a CI that builds Guix Past (or the same setup without substitutes)? When should this logic pull Guix Past and which commit?