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 AO2fEz0n3GD+DgAAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 10:11:41 +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 SIZeDz0n3GBPIAAA1q6Kng (envelope-from ) for ; Wed, 30 Jun 2021 08:11:41 +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 D0CC7146E1 for ; Wed, 30 Jun 2021 10:11:40 +0200 (CEST) Received: from localhost ([::1]:58868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyVJr-0005u1-TI for larch@yhetil.org; Wed, 30 Jun 2021 04:11:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyVJZ-0005ts-FI for guix-devel@gnu.org; Wed, 30 Jun 2021 04:11:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59746) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyVJV-0004Be-M3; Wed, 30 Jun 2021 04:11:17 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=55594 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyVJU-0000SL-OR; Wed, 30 Jun 2021 04:11:17 -0400 From: Mathieu Othacehe To: Leo Prikler Subject: Re: Wrap %default-guix-channel inside channel-with-substitutes-available by default? References: <712a7bd9bac53b39f104ab302fba1783030e22f0.camel@student.tugraz.at> Date: Wed, 30 Jun 2021 10:11:15 +0200 In-Reply-To: <712a7bd9bac53b39f104ab302fba1783030e22f0.camel@student.tugraz.at> (Leo Prikler's message of "Tue, 29 Jun 2021 23:50:44 +0200") Message-ID: <871r8jn55o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1625040700; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Cv/aXTID1fwjT1T+F+4jbgiV8LpYelylRvKwx/JO8P0=; b=KrAnm4fo8S2VrjQpy3NaGvMEFI0c1DE5XLNQCow2UIxYDc84Or5+hlzztOtb8yKxc5J87J OvqcMpzFEXRT4UCwvhyCnO0kVwkZOAKCsJ0BupIAabD69Uhfbau4K5ioKbbEYvGEzdK8Tq S4kBjJScsotVa7jD/LzWE2wRCX8Zg7N8tCIKdOGniS93e7QWqpIGijNqxR1bxSoktVj7pv 07OqMvb/DkW2KSqQ0cqfGxq7oA359dlbvfgY77GaBWCgFQLqaMkns+yGhJEESJ/pS5OTZp YcqO9upAF6codWTY6oZICUooJKDRWpY8QBj313lvfQ9bDI6k1Y3iVYralQTIiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625040700; a=rsa-sha256; cv=none; b=ick110vpxYyLY9X9vrBsWALzSKDW1rh1GfChR1forzWLLlYorca+/w250VRv77ygu5mRka b43254KyjucdYV0hNUQBXY+rXDtkoQI48VIHDA1/KAUFqE15qcs5Pz/5liHdEu6rEJczVS 1e2o7Zml5tRckZLsc69PExaIc6s718Q+52td1l5j2D3/S0GSg16rrGIjKHXQfmxwhvH5BK PAcPuyQ8AdZ4KNBa/fC223gMNzjMDUz8u6omdI/ptWz/H5rXvaYx5oL6L9R6wgvboWVhVc 3y5tVfFJn9afi0z+yedRyE15eFWcaQKRwljPq4iD7RZoHM4ZpwEAIL6TYbMV9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: D0CC7146E1 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: nLciJ2baMSte 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. WDYT? Thanks, Mathieu