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 ms5.migadu.com with LMTPS id +J+oAHCbGWOwrQAAbAwnHQ (envelope-from ) for ; Thu, 08 Sep 2022 09:36:16 +0200 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 mDmSAHCbGWO6XgEAauVa8A (envelope-from ) for ; Thu, 08 Sep 2022 09:36:16 +0200 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 8D475120E5 for ; Thu, 8 Sep 2022 09:36:15 +0200 (CEST) Received: from localhost ([::1]:36216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWC58-0007nR-Ho for larch@yhetil.org; Thu, 08 Sep 2022 03:36:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWC4w-0007mb-5h for bug-guix@gnu.org; Thu, 08 Sep 2022 03:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWC4v-0001gb-S9 for bug-guix@gnu.org; Thu, 08 Sep 2022 03:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWC4v-00054k-NE for bug-guix@gnu.org; Thu, 08 Sep 2022 03:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57559: guix pull fails on http status code 503 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Sep 2022 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57559 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , =?UTF-8?Q?Andr=C3=A9?= A. Gomes , 57559@debbugs.gnu.org Received: via spool by 57559-submit@debbugs.gnu.org id=B57559.166262254919491 (code B ref 57559); Thu, 08 Sep 2022 07:36:01 +0000 Received: (at 57559) by debbugs.gnu.org; 8 Sep 2022 07:35:49 +0000 Received: from localhost ([127.0.0.1]:57096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWC4i-00054J-IE for submit@debbugs.gnu.org; Thu, 08 Sep 2022 03:35:48 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:36657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWC4g-000545-A2 for 57559@debbugs.gnu.org; Thu, 08 Sep 2022 03:35:47 -0400 Received: by mail-wr1-f43.google.com with SMTP id b17so11187217wrq.3 for <57559@debbugs.gnu.org>; Thu, 08 Sep 2022 00:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date; bh=ZoslQb8JwdhCwjz1Pgt4J7SWScStcaJfwC68sHsaajo=; b=RdfEb9wxJKbvzkEZyPDe2tEP+bjBYy3RBTwz7Lz1Oxt+GS2Kh9zI7R9E5IsSpB3BLs 2LdHr7reb9/9AZ9rfKRZ1nPGKt2y11/vbm9VdFSMwdGfPfSOUaOOvK8tWIjLFYyseKM0 QM/+x+jansLpbjHyQAgdhBioSDaKPdHCP3vtQz/XwWbqFILwreDJ0mF5Oj92tHkW48bj YF7g9g1Nx4UjSY0VqhK+mQk4PaBpfPVGms+U91T1pD3Fo05o+yixPD2tliJ8nRkeTAZX ys/73WJme7EuYjxAGkAOUbxoEjYGXb1iLNjnhDOY0Xpbbl7+kcbO3YSSCwy7/RvKfDta DACw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date; bh=ZoslQb8JwdhCwjz1Pgt4J7SWScStcaJfwC68sHsaajo=; b=F+tBwbXwr0ErjB8X4wfOdpgQQtAx2JV5XzU4GBr5BzJte65oVKnD9SjnG9ZdTdcItJ GMuE6GSb8yiwvHPS5E+YVvmo92goqLMXPJfgrDt+sPhJxPQ9qzTld+NXLLX3W1o/ysdH P1eLa1R86Vc+bp6X2Md7LegigClnfwtiBV/Kx7PQ4mPS7XavtR7Ov5o6YsVL0xHf/kcS wE8xya8oz084xIJjkolsSNJODzpZ4UIulvR1c1EDrYgJ5ktQgIhHmZiiepP+MmWprgvk It16qjbZUrj78CGKrS5o5oNhKmNNpebbODzvduyGheQa5EIDC+JytzxYhNFN4tAho0Vp DPJw== X-Gm-Message-State: ACgBeo32JE8DKRxd+NqxNJCfx92pFc46iw0+oJfR/KVxo5vk95xxBqUG EFcYYJGdpDANd4Mi7bsKPXEaun/NnEg= X-Google-Smtp-Source: AA6agR60z6gXOT1K2nE+yn0P106EV1x+kuTrsc3K0S9nXmFw17FA+cbAItGD7GzuivWqcW1BD2nbuw== X-Received: by 2002:adf:da50:0:b0:223:a1f5:fa68 with SMTP id r16-20020adfda50000000b00223a1f5fa68mr4069795wrl.528.1662622540253; Thu, 08 Sep 2022 00:35:40 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id i4-20020a5d5224000000b0022a293ab1e9sm3069811wra.11.2022.09.08.00.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 00:35:39 -0700 (PDT) From: zimoun In-Reply-To: References: <86wnagzm1v.fsf@gmail.com> Date: Thu, 08 Sep 2022 09:25:29 +0200 Message-ID: <86k06exr86.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662622575; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZoslQb8JwdhCwjz1Pgt4J7SWScStcaJfwC68sHsaajo=; b=Pw8EkBRL+aLsQXTunzxRaKx6TwnUzUGPZWQPJojojEPKlnos3xGtmhoWlLLyxxOKLlfvRR rOoGCstYXqRI0UIAxhmrXcFYUnKcJZ6+f/USBV1fzHGQRJVQhJjYADOFIEFL2Jrg/Jm96+ zKbPqbYqjeMkF9tBhIOv3cu63AZSlGqaOxk9FW7JIAjEfeswkbS/8mrL2aT0n+9vib4WZE SOr9T8CYA6w4YsgVCJo80kP/yY+2SjZzlfzYURON5Igp+i2a+Btr+EjGr+Z/2QQnLmeYV3 RR5D/HVktdLRBlo87zacXQ33mTYhzfb9gtRCPOna1fvDd8BnPOHcAR4eQ/PcTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662622575; a=rsa-sha256; cv=none; b=C4oAVSG9gRJPFcEbbsKgKdb5NGDjvMJtTOpNH0cMixDyskQDsZ7V/jPETaMQB//uag4ycB MmYvRq+k78/4gIQuqTjn5MaZOlnYgMYYiRMr7hRI8KLNyjRi6bLCkSczTdJ8xPPyLqMDkL m/YG5MNj7zCxbaU2WwZgJUAvuDHU+2cE/KCIClUrMYDcHd59g3xGPaJsB+wE2pxW/fPbhM VgEsBKjpQeK5rJKt1tdl0yzh5W6C0RFF4QsA5rOXa3URS6d380JI39yXyfBxsvIE1k599H XpaHJwD5jiV65EwJKWFIn2Z6hwUXZ2ItvmTSb+fU/iMHgpGk87gZ8FiKCweKuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RdfEb9wx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RdfEb9wx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8D475120E5 X-Spam-Score: 7.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: n+VdK4TBqhdm Hi Maxime, On Thu, 08 Sep 2022 at 02:55, Maxime Devos wrote: >> Well, %default-guix-channel is somehow a corner use-case when the >> regular use-case seems about a failure of additional channels. > > The =E2=80=98Guix is unavailable=E2=80=99 was just a simple example. For = the example,=20 > you can replace it, with, say nonguix. Automatically removing the=20 > additional channels upon 503 is undesirable I'd think, though the error=20 > messages will be different. My point is that =E2=80=99Guix is unavailable=E2=80=99 is special and it ap= pears to me expected to raise an error. Other said, 1. if %default-guix-channel (or its mirrors) is unreachable, then stop the pull; as it is currently done. 2. if an extra channel is unreachable, then keep the last local revision of this channel and try the others. For sure, #2 can break the whole pull if something in the Guix channel changed *and* the channel depends on this something. But we cannot do more than raise an error. Cheers, simon