From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eBoyJ2pO3GG/RAEAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 16:19:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qJraI2pO3GGYcQAAauVa8A (envelope-from ) for ; Mon, 10 Jan 2022 16:19:06 +0100 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 3CA383505B for ; Mon, 10 Jan 2022 16:19:06 +0100 (CET) Received: from localhost ([::1]:39330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6wRs-0000EK-UQ for larch@yhetil.org; Mon, 10 Jan 2022 10:19:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6wQa-00008P-7N for guix-devel@gnu.org; Mon, 10 Jan 2022 10:17:44 -0500 Received: from 3.mo561.mail-out.ovh.net ([46.105.44.175]:46657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6wQN-0006ZU-LV for guix-devel@gnu.org; Mon, 10 Jan 2022 10:17:34 -0500 Received: from player694.ha.ovh.net (unknown [10.108.20.200]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 47101235EF for ; Mon, 10 Jan 2022 15:17:29 +0000 (UTC) Received: from ngraves.fr (201.238.0.109.rev.sfr.net [109.0.238.201]) (Authenticated sender: ngraves@ngraves.fr) by player694.ha.ovh.net (Postfix) with ESMTPSA id CB3A7260F7F6D; Mon, 10 Jan 2022 15:17:27 +0000 (UTC) X-OVh-ClientIp: 109.0.238.201 References: <87tueczl0o.fsf@ngraves.fr> User-agent: mu4e 1.6.10; emacs 28.0.50 To: zimoun Cc: Guix Devel Subject: Re: Branch with only available substitutes ? Date: Mon, 10 Jan 2022 16:16:47 +0100 In-reply-to: Message-ID: <87v8yrboxk.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 5623025612575924789 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrudehuddggeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeeivdehhfdtfffgleegffffieelhefgjeeiueetffegfeeuhfffheekueetiefhnecuffhomhgrihhnpehgnhhurdhorhhgpdihhhgvthhilhdrohhrghenucfkpheptddrtddrtddrtddpuddtledrtddrvdefkedrvddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieelgedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdprhgtphhtthhopehguhhigidquggvvhgvlhesghhnuhdrohhrgh Received-SPF: pass client-ip=46.105.44.175; envelope-from=ngraves@ngraves.fr; helo=3.mo561.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641827946; h=from:from:sender:sender:reply-to: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=D3JuP5oEbVIC3LPV9V/1DvGCEzb4h1w+efYD7/eBjQE=; b=YwGInpbKAdODTbYZP2yXhNsn5QktBu68wTLxuMtuzf/4wLCLW5P2ZEdFtsMspJ+cVOWuxu n/Igmee4EmClf/rwF5c6ZxCz7gOEafgarXq9BTeGUvDvJ5hgNpRBGhzIizFAsT97q4z/w5 CxaMwy9XPJhgZGPepA44cRGKBiP41GraWEO4IFxre9f1zdtG1rq6PRC8fZuh2VcKszkdRf XTZsJo0mN1nTs6XQDVGXc58EM33FqjWWCxAfTAWXkTnLcssz6Jn7PAyNZAZ74rPKRRFAJ3 Yzu2XF7CgUQDTk+DMQ6YYNC3aoL9thSkt2hcLE22RtmEKAd5oWbopirHPeK5DA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641827946; a=rsa-sha256; cv=none; b=dj2vC9KirF/USdcx6FKIUvub//VoC796ndN6IQUqy2d7fKbjeq4L0y/XRSW89EtcqgaihB FLd+Hw5g/s4/jg5s3XLVpuIniwFiJFf6lw44dIoy7cseZ09tHECa4HlJq67jFA0hPzQ6AK 3WHav2CutZrK0EjHK/5suRx6lO4fz0F80nR3vKyU0bsQRRppTUS21/z1l/bn6W+OoWXuCD knG3f0son76m4vPT1AUdw1Wye0q90BqBscBeFNEpNAzdXcnioknsoWR8X+zKrZthcH5rRs ocezoEJhJPD3ah5SjT87Towf82IvmYlRTREDaoDnW9E4cuHW74t3/8wDEIPUug== 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+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.61 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+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3CA383505B X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: v+M958qx3QyJ Also thanks for your reply, I'll try it ;) zimoun writes: > Hi, > > In case you missed it: > > > > which does not solve the issue but helps. :-) > > > On Sun, 9 Jan 2022 at 22:10, Nicolas Graves via Development of GNU > Guix and the GNU System distribution. wrote: > >> I find myself often waiting for heavy packages (ungoogled-chromium, >> cargo...) to be built as substitutes before updating my system and I >> find it a bit long to my personal taste. >> >> Would it be possible to add a branch in guix sources following only >> available substitutes, so that each time I pull, I can immediatly >> and quickly update. Or would that need to stay as someone's personal >> project ? > > Adding what you are proposing would not change your "complaint". ;-) > Each time you would pull, you would stay on the same revision because > the substitutes would not be ready yet and so no quick update. You > would have to wait and run again "guix pull" later, probably staying > on the same revision because the substitutes would not be ready. In > the meantime, you would miss new features or new security fixes for > others of some packages you are using. > > However, I agree that's annoying. Some time ago (before the link > above), I used a script along these lines: > > #!/bin/bash > > # url-cache-directory from guix/git.scm > # pjmkgl... = hash("https://git.savannah.gnu.org/git/guix.git") > CACHE=~/.cache/guix/checkouts > CHECKOUT=${CACHE}/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq > > printf "Updating local checkout:\n'$CHECKOUT'..." > git -C $CHECKOUT fetch -q > echo " done." > > guix pull --commit=$(git -C $CHECKOUT \ > log \ > --before=$(date --date='2 weeks ago' +%Y-%m-%d) \ > --format="%h" | head -n1) \ > $@ > > echo "done." > exit 0 > > to lag by 2 week behind origin/master and so be almost sure to have > the substitutes -- if their build success-ed. ;-) > > Well, yeah it's annoying to run "guix pull", check with "guix > weather", and depending on the result upgrade or not -- note that the > exit status cannot be used [1]. When all that could be automatized. > #47929, as Mathieu said, is grouping "guix pull" and "guix weather". > Maybe we could imagine an option to "guix upgrade" coupling "guix > weather"; somehow the converse of 'no-substitutes' or the converse of > 'fallback', i.e., do not try to locally build if the substitutes is > not available. I do not know. > > 1: > > Cheers, > simon