From unknown Tue Jun 17 20:15:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65740 <65740@debbugs.gnu.org> To: bug#65740 <65740@debbugs.gnu.org> Subject: Status: No fallback to SWH for .guix-channel dependencies Reply-To: bug#65740 <65740@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:15:31 +0000 retitle 65740 No fallback to SWH for .guix-channel dependencies reassign 65740 guix submitter 65740 Simon Tournier severity 65740 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 13:37:36 2023 Received: (at submit) by debbugs.gnu.org; 4 Sep 2023 17:37:36 +0000 Received: from localhost ([127.0.0.1]:52504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdDW3-0000is-W6 for submit@debbugs.gnu.org; Mon, 04 Sep 2023 13:37:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdDVz-0000hx-TE for submit@debbugs.gnu.org; Mon, 04 Sep 2023 13:37:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdDVn-0007NI-C9 for bug-guix@gnu.org; Mon, 04 Sep 2023 13:37:19 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdDVk-0000b5-VB for bug-guix@gnu.org; Mon, 04 Sep 2023 13:37:19 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-31985ebed68so82942f8f.0 for ; Mon, 04 Sep 2023 10:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693849035; x=1694453835; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7A5ZENWLF8QMTgIKJTLiPLWsJQ58SPJPZ6V8WstQxGA=; b=Fu9EaVHs8LZTVRVqF25AdNz3/0boooUd4W5AEsefPlfK63MSMLZ7j870zZyV5l8/0+ 4agC5hHds/USm1SxkYOjUcqW7dqQLIM7gzllmRJL/HAwb69xtUeULzqMK8yr3nbogQ2f mK92eJNxLnx4D7O2iqNGXUgNgP7KqINHv8m28aLZxwQilKK91Vcy+G3jAQEoBDsaEWbR 9Og0F+EXMqKLKwCRDlWCqtaRuths8XPu9+JRiw471KiBXkSVdyWDh7KDGtp2d9FIrsP3 nKifnnSlNVbKquJXfS4sMHJxysVq2/82NL2ZYb3CBDMoE7Fu2OYweJT5SEJzv7l8yERr 8NAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693849035; x=1694453835; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7A5ZENWLF8QMTgIKJTLiPLWsJQ58SPJPZ6V8WstQxGA=; b=dwvgih5zhOyZirgQO4dOKEKkQNswEIjkcAKlayadPbVe7prvLgHJJtrWuRFo+CdNek d4l7B5shTqq9y+xO7iIp7z/fIJ+PnL8uj5wr0x9uHx3RckPwji4HeHPOaNRyJA+vnnyA gmgCK3X/MBQjdwNYEqnE+3ByHDSlkS/q+OvAZeSWitqRoICNE4w39yaSB9L2nSrVb45Z WHeeQYbNxJQ8hI9dpADNYzHS/6/TMpzWMxLSGm04l1q3sNdHLTQbSUsNvhFgB55yu85a LobAKew58G9o/Yy2XZvRBpdKb8DkCLL+uhtwCAnC+cVgf3ZVLC3qevqMqC22IYx4+4wl DMIQ== X-Gm-Message-State: AOJu0Ywz/0WmUxv+LLjmXSYBsVxG1PhHr0GSGFfN86aDUjkwbFQAWqRW mztDNr1pFclUnQ57kJTOu0DUxwdPyaM= X-Google-Smtp-Source: AGHT+IE8qcbDTSFiX6cmSzQuMdBDIft3z94ExRJ9qhXDRvQRQifL259izI83fttXcF/uy46drXPa6A== X-Received: by 2002:a05:6000:141:b0:31a:e29f:5eab with SMTP id r1-20020a056000014100b0031ae29f5eabmr7046607wrx.7.1693849035367; Mon, 04 Sep 2023 10:37:15 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y8-20020adff148000000b00317c742ca9asm14852884wro.43.2023.09.04.10.37.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Sep 2023 10:37:14 -0700 (PDT) From: Simon Tournier To: bug-guix@gnu.org Subject: No fallback to SWH for .guix-channel dependencies Date: Mon, 04 Sep 2023 19:09:39 +0200 Message-ID: <875y4pq2zw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Consider this channels.scm file: --8<---------------cut here---------------start------------->8--- $ cat /tmp/channels.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "710d9050524213a83e4ce9efe9765d7fbc233839")) (channel (name 'bimsb) (url "https://github.com/BIMSBbioinfo/guix-bimsb.git") (branch "master") (commit "240a599f77dab7dcb8d2ed091b90056e58a46c51"))) --8<---------------cut here---------------end--------------->8--- Then, assume Github is down forever. Guix will lookup to Software Heritage (SWH) for the channel bimsb. So far, so good. However, then it fails: --8<---------------cut here---------------start------------->8--- $ guix time-machine -C /tmp/channels.scm -- describe Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Updating channel 'bimsb' from Git repository at 'https://github.com/BIMSBbi= oinfo/guix-bimsb.git'... /tmp/channels.scm:95:6: warning: channel 'bimsb' lacks 'introduction' field= but '.guix-authorizations' found Updating channel 'guix-past' from Git repository at 'https://gitlab.inria.f= r/guix-hpc/guix-past'... guix time-machine: error: Git error: failed to resolve address for gitlab.i= nria.fr: Name or service not known --8<---------------cut here---------------end--------------->8--- The main reason is because the channel bimsb contains the file .guix-channel which reads, --8<---------------cut here---------------start------------->8--- (channel (version 0) (dependencies (channel (name guix-past) (url "https://gitlab.inria.fr/guix-hpc/guix-past")) (channel (name guix-science) (url "https://github.com/guix-science/guix-science.git")))) --8<---------------cut here---------------end--------------->8--- And Guix is not able to fallback to SWH for these channels. Corollary, even if it was able, what is the correct revision of the guix-past or guix-science channels? This report is about two bugs: 1. transparent fallback to SWH for .guix-channel dependencies 2. pin all channels when running =E2=80=9Cguix describe=E2=80=9D, even the= ones from .guix-channel dependencies. This #2 is annoying because it makes the workflow: guix time-machine -C channels.scm -- shell -m manifest.scm unpractical when user relies on channels with dependencies. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 16:40:45 2023 Received: (at 65740) by debbugs.gnu.org; 8 Sep 2023 20:40:45 +0000 Received: from localhost ([127.0.0.1]:45744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeiHT-0007X7-S6 for submit@debbugs.gnu.org; Fri, 08 Sep 2023 16:40:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeiHP-0007Ws-5C for 65740@debbugs.gnu.org; Fri, 08 Sep 2023 16:40:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeiHH-0003ek-4r; Fri, 08 Sep 2023 16:40:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=SXNL/+EQtSye8mYcgtH4Oend4iEu4LrMEyV/adVSMkw=; b=WBBu115GjzBZoeSBZkYp MgHrKMOYBg5IUerdEwvFiIR6kVGAxO8If5GnOgg5VSFgZKyAbWmBF5AhoPnIzFmL82OVolzx3r+hD bt/dMFneWQaDs4TrO/8tmx9KwvWx+9fCzb4Fn2uLu/XFcbjcO+AlzREg6V6woRgAzTihYcHoeAEWB hsf1fD5n5OGryEosFgHyQlc133+KCAuM4aw6vmTsfHskSn7Xr5PD+MzcpN8MIX/w+V0oTugCyvbKW U1RXksy+WvYxtvSsZr2NIX0PEF1iEcEX4HRrNv7/kHm20aehmYmCLezVzvFKRn7/HAnkdpm94d2hn ryBwR1Ifr7XV/g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#65740: No fallback to SWH for .guix-channel dependencies References: <875y4pq2zw.fsf@gmail.com> Date: Fri, 08 Sep 2023 22:40:27 +0200 In-Reply-To: <875y4pq2zw.fsf@gmail.com> (Simon Tournier's message of "Mon, 04 Sep 2023 19:09:39 +0200") Message-ID: <87wmx01jr8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65740 Cc: 65740@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Simon Tournier skribis: > The main reason is because the channel bimsb contains the file > .guix-channel which reads, > > (channel > (version 0) > (dependencies > (channel > (name guix-past) > (url "https://gitlab.inria.fr/guix-hpc/guix-past")) > (channel > (name guix-science) > (url "https://github.com/guix-science/guix-science.git")))) > > And Guix is not able to fallback to SWH for these channels. Yes, but that=E2=80=99s expected: we=E2=80=99re not specifying any commit, = only the URL, so there cannot be any sort of fallback. > Corollary, even if it was able, what is the correct revision of > the guix-past or guix-science channels? > > This report is about two bugs: > > 1. transparent fallback to SWH for .guix-channel dependencies > > 2. pin all channels when running =E2=80=9Cguix describe=E2=80=9D, even t= he ones from > .guix-channel dependencies. #1 happens, but only when channels are pinned (returned by =E2=80=98guix #describe=E2=80=99). Re #2, I don=E2=80=99t think there=E2=80=99s such a bug, is there? In the = example below, =E2=80=98guix describe=E2=80=99 shows 4 channels (including dependen= cies), not 2: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix time-machine -C <(echo '(cons (channel (name (quote b= imsb)) (url "https://github.com/BIMSBbioinfo/guix-bimsb.git")) %default-cha= nnels)') -- describe -f channels [...] (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "4dd33fc62899134606f36f92594cf160b972f685") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (channel (name 'bimsb) (url "https://github.com/BIMSBbioinfo/guix-bimsb.git") (branch "master") (commit "240a599f77dab7dcb8d2ed091b90056e58a46c51")) (channel (name 'guix-science) (url "https://github.com/guix-science/guix-science.git") (branch "master") (commit "1ad5192cff0d7b34a2f74592c6896f901d1c9ccd")) (channel (name 'guix-past) (url "https://gitlab.inria.fr/guix-hpc/guix-past") (branch "master") (commit "1e25b23faa6b1716deaf7e1782becb5da6855942"))) --8<---------------cut here---------------end--------------->8--- Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 08:33:09 2023 Received: (at 65740-done) by debbugs.gnu.org; 9 Sep 2023 12:33:09 +0000 Received: from localhost ([127.0.0.1]:46357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qex9A-0000SN-Uh for submit@debbugs.gnu.org; Sat, 09 Sep 2023 08:33:09 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qex98-0000Ro-Np for 65740-done@debbugs.gnu.org; Sat, 09 Sep 2023 08:33:07 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fe4f3b5f25so8352445e9.0 for <65740-done@debbugs.gnu.org>; Sat, 09 Sep 2023 05:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694262778; x=1694867578; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ya6SHp9M5gMBWYKUiYCoL3x0YsCq4+RJV+3OxRB0Sm8=; b=jHZ0kBiEp/1q8bi9FzZv+t02fFpct1JZQWtjxaKxtDIMUkw2FKyDthN84r8JTkWUYH RMpv1xfZU1eQmSZSacLvRIz3+GCSnlcfSbryi9aRYj0R3ZfLJ8KzHmlUXSo17vlZC9I4 0rwiVxBS+FV0NgPLaT3vUl5IeWGPHA/W0tiEtdhguZpiwPJMajEVB2TGHkC5HVa1WDcj 5VqgE1ELxlleWqN/F7q/J1JDjaOG/VHrtlMnYK+iYoZGzHB7Sb/lizIEOuUF8I7dvN+p CJFeHyCo2lT7k+HpmOFKxgT3Csi4L0XmSmEHbM/WRax2fa9kjJm76r/Swovo4bA78mlL ldsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694262778; x=1694867578; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ya6SHp9M5gMBWYKUiYCoL3x0YsCq4+RJV+3OxRB0Sm8=; b=ItvWhXyt89YqVkTzJc6hDopvfLZfmPFh2xfI4QyW4aLa1fWVvCH4iI+S3jRXm7hHLe /Yq/Wkz3O+s+je4QypnR1yqMXCUMsRahw5LiEvmOhOQiLmcy/HIz7vmIc6bZDCNoz5r3 HxChU3Pd7Ce/WfDh6edXr5Utlc0JfloIKV/5Gt8hB9QoxNl2brjYE2vb1+BRGtW2WMbQ J9IIab7fAKeE1tkeWRTJORMitMJAkkpF9ejJ+2PfqSetbAL+n1KvZ7sopDGRbZCV5wbL n/rrkgEaZCY4v3zPTiPEDNvuOS6OlbgMgKfRbO5sc2mAyEmcMj+66sIn1+98Aan/8hrE fleQ== X-Gm-Message-State: AOJu0YwgJ+QUgmjcJ6irtfqAZTYa7wnNTOpWfqXfXSNFCONO+6yQoAEF SknMRElN14cDL87Wz/gpS/joqUcci9I= X-Google-Smtp-Source: AGHT+IE+yqwSUKOJfnV759vDuuT5o4IChNZ/nAXoIW4FWgfGo5wvUcTBuhNiaI5DpCx/Ibs96XQKRQ== X-Received: by 2002:a5d:6892:0:b0:317:8fd:f01a with SMTP id h18-20020a5d6892000000b0031708fdf01amr3697427wru.7.1694262777773; Sat, 09 Sep 2023 05:32:57 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id e11-20020adffc4b000000b0031f65cdd271sm4679613wrs.100.2023.09.09.05.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:32:57 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#65740: No fallback to SWH for .guix-channel dependencies In-Reply-To: <87wmx01jr8.fsf@gnu.org> References: <875y4pq2zw.fsf@gmail.com> <87wmx01jr8.fsf@gnu.org> Date: Sat, 09 Sep 2023 12:04:23 +0200 Message-ID: <86o7ibslw8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65740-done Cc: 65740-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, 08 Sep 2023 at 22:40, Ludovic Court=C3=A8s wrote: >> This report is about two bugs: >> >> 1. transparent fallback to SWH for .guix-channel dependencies >> >> 2. pin all channels when running =E2=80=9Cguix describe=E2=80=9D, even = the ones from >> .guix-channel dependencies. > > #1 happens, but only when channels are pinned (returned by =E2=80=98guix > #describe=E2=80=99). > > Re #2, I don=E2=80=99t think there=E2=80=99s such a bug, is there? In th= e example > below, =E2=80=98guix describe=E2=80=99 shows 4 channels (including depend= encies), not 2: My bad! I had probably not done what I always recommend: =E2=80=9Cguix describe=E2= =80=9C. Sorry for the noise. Cheers, simon From unknown Tue Jun 17 20:15:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 08 Oct 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator