From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qOq6NBFjzl9cYAAA0tVLHw (envelope-from ) for ; Mon, 07 Dec 2020 17:14:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GF+FMBFjzl/tcgAAB5/wlQ (envelope-from ) for ; Mon, 07 Dec 2020 17:14:57 +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 97FA59403A7 for ; Mon, 7 Dec 2020 17:14:57 +0000 (UTC) Received: from localhost ([::1]:36522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmK6C-0008Iu-JY for larch@yhetil.org; Mon, 07 Dec 2020 12:14:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmK3O-0006Wp-Fs for guix-patches@gnu.org; Mon, 07 Dec 2020 12:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmK3O-0005Ek-8L for guix-patches@gnu.org; Mon, 07 Dec 2020 12:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmK3O-0002a5-46 for guix-patches@gnu.org; Mon, 07 Dec 2020 12:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45104] pull: Add a "with-substitutes" option. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Dec 2020 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Mathieu Othacehe , 45104@debbugs.gnu.org Received: via spool by 45104-submit@debbugs.gnu.org id=B45104.16073611209911 (code B ref 45104); Mon, 07 Dec 2020 17:12:02 +0000 Received: (at 45104) by debbugs.gnu.org; 7 Dec 2020 17:12:00 +0000 Received: from localhost ([127.0.0.1]:55349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmK3L-0002Zn-Ux for submit@debbugs.gnu.org; Mon, 07 Dec 2020 12:12:00 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:43260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmK3K-0002ZU-Nj for 45104@debbugs.gnu.org; Mon, 07 Dec 2020 12:11:59 -0500 Received: by mail-wr1-f41.google.com with SMTP id y17so4080868wrr.10 for <45104@debbugs.gnu.org>; Mon, 07 Dec 2020 09:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=om+lleiirzyMuPAXOh0kk5eg3+YBg5eeG6AyF2Y5TAc=; b=gDDpVTcq0H8vOrXgg+HjnxP2+Ml0K+oD7ExTkP1/H8Yxa903K4ehstJbVelVI+Kgxx KfINLA7cAoxTv608svK7hjry/hdVZPI3QkhLpIEJLT9sNFgv8MFroqCUlIaN3sbI50nC lNnZn4cxj3TZFGmqD82BW9V6Gwyi0wBW0KubSWE1+SAcu39PVBMRNxog6lqsp+qPQZDR /1P94RR6ETvV47HzjFyRju++WMYAb9r/FTmx/N8V9pPIvQ6qzAM3Jr9h2OrLNxv4rcZt jFHDTN72TTyG3eN19rvkfX6IZiEk2Tfq3T26PRAuGhPAVQqmFsYfxG50eNz9HDQjDHB9 ncqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=om+lleiirzyMuPAXOh0kk5eg3+YBg5eeG6AyF2Y5TAc=; b=t9Ks8MSB/sxKsYcStwdwO4VajxegYB3fyCfN0iOlwj11y4BdKNOQCjQtpFgItk6Jd3 /FFyx8km8izL7MnBXugf3PkwIZZ7T6+PeuIrbRaiyeK4MkBu5vU6s2TQVxqBAwi8OQTt nr6S/jX+wmwWOj7TE9CZwg9SZGFXlCK5LnU423FSp8YwMf8TgvVUaRl3gFBLNxJQtsbU vESaf41AQVZnFA0x9SFx8Oeh9dFUqKKIM08ujajEzCGWW5fYkfMso+AqQlOi3C9MU9tK zM4g2lpOgAQW+U7XyzpFrSTOroLMV6VJuxj3yBiMOTwdeO6qJ6iLO0XCIRbFDCWgBRQx 0hVg== X-Gm-Message-State: AOAM532SvNKf6MTdPvYaatSPONA9nqyW35dAfqLsnST+zfPCGzlR1gs7 2c7T8B+C4w4ZYT2Vz3+d1y87JFB3ie4= X-Google-Smtp-Source: ABdhPJwsLZNH0KcZVj1WTEOOKjdpQB0ohSk6QrKkx1ga1JwgPqOuhu5mRU/7hocbiUd1zF/7bqwE0A== X-Received: by 2002:adf:9b95:: with SMTP id d21mr21024846wrc.335.1607361112562; Mon, 07 Dec 2020 09:11:52 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id r2sm14477813wrn.83.2020.12.07.09.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 09:11:52 -0800 (PST) From: zimoun In-Reply-To: <87eek1vd4g.fsf@gnu.org> References: <87eek1vd4g.fsf@gnu.org> Date: Mon, 07 Dec 2020 18:05:16 +0100 Message-ID: <86k0tt5yyb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=gDDpVTcq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 97FA59403A7 X-Spam-Score: -1.20 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: auvsaKRrjp6h Hi Mathieu, On Mon, 07 Dec 2020 at 16:39, Mathieu Othacehe wrote: > When "guix pull" is run before the CI server is done baking substitutes, > the user may need to build some derivations, which can be long on > low-end hardware. Yeah=E2=80=A6 > This patch adds an option to "guix pull" so that it updates to the > latest commit with available substitutes. Cool! It improves my ugly bash to pull 2 weeks behind. :-) > This work is still in progress, but I'd like to gather some impressions > on that before going further. With your patch, it is possible to never pull something. Because the push are faster than the CI is able to build. Therefore, an improvement could to be to check the latest commit on the CI, if not available fallback to the previous, repeat until one is available or repeat X time and raise a warning. Cheers, simon