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 +NoWLxIG3GFJKAEAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 11:10:26 +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 IDqiKxIG3GEZtAAAauVa8A (envelope-from ) for ; Mon, 10 Jan 2022 11:10:26 +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 8239614608 for ; Mon, 10 Jan 2022 11:10:26 +0100 (CET) Received: from localhost ([::1]:43572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6rdB-0004el-NI for larch@yhetil.org; Mon, 10 Jan 2022 05:10:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6rcx-0004eU-UN for guix-devel@gnu.org; Mon, 10 Jan 2022 05:10:12 -0500 Received: from [2607:f8b0:4864:20::d30] (port=43746 helo=mail-io1-xd30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6rcw-0002R7-34 for guix-devel@gnu.org; Mon, 10 Jan 2022 05:10:11 -0500 Received: by mail-io1-xd30.google.com with SMTP id l3so16746812iol.10 for ; Mon, 10 Jan 2022 02:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SxXeXPLnfvVmE2QG/0p5o1WeYsxGelEpJcOCarBnqc4=; b=qm5qolBXCjcHUVJUBmxt4o6v2aby9qDo5vGQfQZww3P1tIDt6IyyAjptNsrpWxGzDq xBkUUbJNMucYMOobQrzvU3TXXzAMREQfLXqjD93tKy8FVEfD53IoQbiKSzLwhBEVX34D TieY8pqSlyWvOQKUQ83FV2bKD5h7zIbUAx0l01iIeunTNzXjN9lVVk8hWC+aQjvpwlIA yPZ6Xg6wVXq8DtELAP+ZI4g/YgR8kU2ws8mSGPg7Igb1nV4AWHwFvcSHtMJKfLHGX1AP sAknG97AdNZncEWVeWla3ouDZUM8+ZpsZuEaYZ8AXt+Ngi8S0Ja+lMTh2DOxzwxMgfkm zSPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SxXeXPLnfvVmE2QG/0p5o1WeYsxGelEpJcOCarBnqc4=; b=GRzQPSlPcM5BA/hHG5hXR/VgX5+FldbGC/1J89avMhevmObmEKioSUlWMQlTY39YST t4xbFYlkp5IF1031e2WMU+g81Oa8F6TLbk1YT+aW3XMMD4XanpJbLe1YjTZExHsBJJgs DsQ2zU9cbzU2nAfxfvVZ6RIfhnu6tCunWN1J7JqVAAU270ihNbhftTwNnO0CKR5w+x+G 2VIwXjgkx4mSExQYTEIIxrO+uhIj+HyY7N6F9mSUd+FsrBeba9BCVKJKQoFMNT5oFTaU w9B6a/WXtNdzMhneA16oPR80HKDYxUyzWTB99/DP9BS/Fq689rJeSIb+Az7wl/uPPIX9 7Cyg== X-Gm-Message-State: AOAM530qs5U7Ce04Vfd8RJFmfMwA4XV2O4AaBxU5buV3tVHWHLXdBwB8 mNMAHh6avqtJTtMH0NBpdLb2e0myBvXSXUAbYDsgRq/r64s= X-Google-Smtp-Source: ABdhPJxvEUgnglzLbQtNhDX9RcW5GlZYkCQN7DGnJItnPNysaUxgMqcRu2nWi3Dfe9Yvxn+f8tBbgkKzDkPswHMB0So= X-Received: by 2002:a02:6284:: with SMTP id d126mr32956717jac.293.1641809408925; Mon, 10 Jan 2022 02:10:08 -0800 (PST) MIME-Version: 1.0 References: <87tueczl0o.fsf@ngraves.fr> In-Reply-To: <87tueczl0o.fsf@ngraves.fr> From: zimoun Date: Mon, 10 Jan 2022 11:09:57 +0100 Message-ID: Subject: Re: Branch with only available substitutes ? To: Nicolas Graves Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=zimon.toutoune@gmail.com; helo=mail-io1-xd30.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1641809426; 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:dkim-signature; bh=SxXeXPLnfvVmE2QG/0p5o1WeYsxGelEpJcOCarBnqc4=; b=hxrQNLwQe+8XuVZlsOFe7fe8kwr6NIrh/Ou8R5gsbULjbOkMxcSB1YYNpjfZCGX9sN/Vv/ O4bUVP+Xt6dGZKemf8LoskVvFvtBgALmVJml/nRezoxbHESR1V26nvcx5MU+c2WOc2VQv7 sWNp8pLyUjKMAJ6CNYgHuzOqvAkrG3EdyL5Qt57DMwXB+glH4D36QmEmlqP5Pa08evdhWb s2shRETOmCQ3Vp72RntmN+KGUkqpCsWtEl2kx+lZRit77v5KX6LSxNiKLt77ZGKI1OgQmc 5WckyS5eytnFe/Cmq+ZDkpqcuzYd2/qbmA4B0kI8ubUu4r7E/4g08imNEAalEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641809426; a=rsa-sha256; cv=none; b=HfZYdmtZWotKLR/fuf3G/3rZ1rDJhEutdFA4PCHfK6B7RptDVqaz94icyaRv4VW0kyWvee y6vDNWLkyTUoKtkA1pLenoZYa8sICURtcZ7ZltouuGLuh82mpZEhB7tj9YIBcrU8uIWCN2 eYwz1AE2vP5WehnYKxRfWYGjEv9NoXvsTHH7y3fqjYAbTuLlt9D+aPuE7UQwS2jWxuN00N 5OkzxaMfOejlfF1YdmnMPXy4PaG2MeqOSf7y0r/QoS+cs1ecWpROQm345p58UTkFs85rSO 0fn2vqGc2xfsJluCZQu03UBHafCPdvc6SzIDwGD6YyeLD1VRZonuDV0vM6Oy6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qm5qolBX; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qm5qolBX; dmarc=pass (policy=none) header.from=gmail.com; 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: 8239614608 X-Spam-Score: -8.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: zSoHH7eVZkEm 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: --8<---------------cut here---------------start------------->8--- #!/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 --8<---------------cut here---------------end--------------->8--- 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