From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wE5MEz7PGWM/MQAAbAwnHQ (envelope-from ) for ; Thu, 08 Sep 2022 13:17:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SCZcEj7PGWMTqAAAG6o9tA (envelope-from ) for ; Thu, 08 Sep 2022 13:17:18 +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 D1C0FB10B for ; Thu, 8 Sep 2022 13:17:17 +0200 (CEST) Received: from localhost ([::1]:52074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWFX2-00027G-Fy for larch@yhetil.org; Thu, 08 Sep 2022 07:17:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWFVq-00024O-Rt for bug-guix@gnu.org; Thu, 08 Sep 2022 07:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWFVq-00036k-IL for bug-guix@gnu.org; Thu, 08 Sep 2022 07:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWFVq-0002Qx-CX for bug-guix@gnu.org; Thu, 08 Sep 2022 07:16:02 -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 11:16:02 +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.16626357499330 (code B ref 57559); Thu, 08 Sep 2022 11:16:02 +0000 Received: (at 57559) by debbugs.gnu.org; 8 Sep 2022 11:15:49 +0000 Received: from localhost ([127.0.0.1]:57369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWFVd-0002QP-6p for submit@debbugs.gnu.org; Thu, 08 Sep 2022 07:15:49 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:39898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWFVa-0002Q9-Da for 57559@debbugs.gnu.org; Thu, 08 Sep 2022 07:15:48 -0400 Received: by mail-wr1-f49.google.com with SMTP id n12so1560855wru.6 for <57559@debbugs.gnu.org>; Thu, 08 Sep 2022 04:15: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=1iFc7x1C7Ix9Jsi/BlhXN+lVw671d8wVdqGcIIbGfA4=; b=cdPHoN0/apzKSjXxyUAAV6zNpTaXEVkHc0EwNpmVXKNeRiIotEA0B4kPS6Tclx/00J Kve2TmARsJUxjS500r5pZJsxkBbd8yZoLqNfQ6df0hjay3iHzVje1t39tLWPc/5Fsm/y Q3yYN8gnfdioxIJiaU8+ZBx3bFmQ/8t3hRWYMgZrM491itWr5HqPAfaRNcrh2u8WSt7Q cxmNhMM8uMBR9u7SYe1Mz+oX/D7/qYTF6JWOBs0zxDFP4GYI3XIe7eu9jFho9YYv2kFi HOlDOK6DTIa5lDY+wA9BnSAYnTbZaJqEoQwZow11uw8FCGGEmmothy/EpefP9zYXB3jd ttMg== 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=1iFc7x1C7Ix9Jsi/BlhXN+lVw671d8wVdqGcIIbGfA4=; b=hwxXrDNfhEUghz7mZDcyGrrrhjK1D2xEr2Nk+/cTx2IfCaR7VKnH7Wd1Cr17RpCML1 S/mJRy10ySNVyaEJUyxQsZfs1KIZwMBl3HVGQnsac/oWkO3+QvvnVn1P3DYaU3Nrk6pO tTRFG8rE6quVrit38pE8khqEjBRFTNgRXqR285s5GP+Ug4QTwnjeiCFQtzroaW3jSI3x DuGopS7+MUZG63lL+V5+lIQhphCnTrAH4K8loxn2dJKqr5G5BHAVUxTOeRF9wSpF8TSt dq9hNmaqcVC4Dzj+sbOZ3+vZpnM4iw4vxMt2AOuwkDflo44zmxMhBz5Hw+BD8JzG57Wp Xr9A== X-Gm-Message-State: ACgBeo3EFCwWyNZ8HZ2O4ceV/hUVkEC/9vcqkWSQmeafOV5htuzbVvLb Uh6U10UbRD+rHewV3rrW6mh2Fkwsh/o= X-Google-Smtp-Source: AA6agR5IfMrkm8rhBO09JESMh3MijfQuT50qoRnHmO0SvFfaaNAtGBMUsQWP3HntKUxctYXNgatmxQ== X-Received: by 2002:adf:e38f:0:b0:228:68f0:4f85 with SMTP id e15-20020adfe38f000000b0022868f04f85mr4997750wrm.570.1662635740356; Thu, 08 Sep 2022 04:15:40 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c23-20020a05600c0ad700b003a6896feef7sm2203432wmr.39.2022.09.08.04.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 04:15:39 -0700 (PDT) From: zimoun In-Reply-To: References: <86wnagzm1v.fsf@gmail.com> <86k06exr86.fsf@gmail.com> Date: Thu, 08 Sep 2022 13:11:47 +0200 Message-ID: <86v8pyw26k.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=1662635837; 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=1iFc7x1C7Ix9Jsi/BlhXN+lVw671d8wVdqGcIIbGfA4=; b=LKBSwbsnCjWnzRD/jWtg/312XEIVzhLdXciY//5sbPvIOb0rnPjjT4yIW8yZuxvAPPfklF OVi5RdTivR3fGe2MSFKIS7lmEnPB02zCJqncbWIwj/FK6syg8hYQ+f+J/33bjE/etq5+Fn Vkzu58vc7y7pC3Wp+7gINB3zkpLxisy2m+YxDNOfwXt9FYltPZpx4Kpf2i/V+ADYdnrhzw tgxbSaJi8PM/8xjns1+1grblJlcjGjadZeYeCSB1Hu2oS9RXgT5sKf1maLLPBgN0NupbhX i1OnToM2KkJOuE9FQfKfmTHH/aIte4Ej/+bUbjHYgP/bics4FAs2I0Vbr3TJZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662635837; a=rsa-sha256; cv=none; b=aFxTENAufBD4KbUAvSusO+Ry/wjpyD77uV87Mlucs9vAo8LpprqJ15h4VAvoFSnjQCxEkS DmUSUxIC0/ew3focGmO082tDpWsa9l5jaZvQ4Oyk9PqT9FnArO0ST2jWmxWWDTIW9AYwow i/gpfcKyh8jXJFvfUQW0mgqIvmAwtG7+vckT4WCzmC3fOeKExkQzpSPvrrx630WdqZ+wjz rxakKGrAXyGPopiojiXkvxT+C0wz/cQe8dh4dNjYiojWaYoB+rhxJfWvG5qnomPRqegiwH yzptp/7k8Bma5jcFyyKMRAL4gku8yMEhFovsKUDn2KhGrqXPxWDyCwga1xLdkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="cdPHoN0/"; 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: 6.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="cdPHoN0/"; 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: D1C0FB10B X-Spam-Score: 6.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: ongi4CczZpPz Hi Maxime, On Thu, 08 Sep 2022 at 11:23, Maxime Devos wrote: > Looking at 'latest-channel-instances', the code for deciding what the > latest version is, is the same for the guix channel and any other > channel.=C2=A0 As such, the 'Guix is unavailable' is, currently, not spec= ial. Well, =E2=80=99latest-channel-instances=E2=80=99 relies on =E2=80=99latest-= channel-instance=E2=80=99 which tests =E2=80=99guix-channel?=E2=80=99, --8<---------------cut here---------------start------------->8--- (define (guix-channel? channel) "Return true if CHANNEL is the 'guix' channel." (eq? 'guix (channel-name channel))) --8<---------------cut here---------------end--------------->8--- then, for instance, the occurrences are: --8<---------------cut here---------------start------------->8--- 12 candidates: ./guix/channels.scm:79: guix-channel? ./guix/channels.scm:192:(define (guix-channel? channel) ./guix/channels.scm:199: (if (and (guix-channel? chan) ./guix/channels.scm:424: (when (guix-channel? channel) ./guix/channels.scm:437: (when (guix-channel? channel) ./guix/channels.scm:778: (guix-channel? (channel-instance-channe= l instance))) ./guix/channels.scm:903: (item (if (guix-channel? channel) ./guix/scripts/pull.scm:775: (match (find guix-channel? channels) ./guix/scripts/pull.scm:788: (remove guix-channel? channe= ls)))) ./gnu/packages/package-management.scm:125: g= uix-channel? ./gnu/packages/package-management.scm:618: (delay (match (or (find guix-c= hannel? (current-channels)) ./gnu/ci.scm:478: (find guix-channel? channels)) --8<---------------cut here---------------end--------------->8--- And my point is that the Guix channel is special when pulling. Therefore, we could split the cases when the Guix channel is unreachable and when other extra-channels are unreachable; because the impact are different, IMHO. As I pointed earlier in the thread, the main issue is when these extra channels are unreachable; as Andr=C3=A9 have initially reported. Cheers, simon