From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yCGBJgoW9mQmZQAAG6o9tA:P1 (envelope-from ) for ; Mon, 04 Sep 2023 19:38:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yCGBJgoW9mQmZQAAG6o9tA (envelope-from ) for ; Mon, 04 Sep 2023 19:38: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 1C06044D5B for ; Mon, 4 Sep 2023 19:38:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Fu9EaVHs; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693849098; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7A5ZENWLF8QMTgIKJTLiPLWsJQ58SPJPZ6V8WstQxGA=; b=LJpQXQXO9Bt2x5rqk4S6UrABSOL8o22ahXyTYZ8NjGA883rWQY75ZRMt2ylrivQcLQ5POR 0RfIanH2FF3+rVnjrkGOP2+Hy9/tGT8l0YtLYkbmVltrBsTWbFUccDombwKUQrCDVqqDfJ CltRiErNBE6uvBSIA1TSR4l9siun6Fo9K99JEH9J8Dh82X+xJUrZOPnt+BCyjsLBpEhP5h aiTCAW3Jh0CRb4KoOty5tHxS8p8QCNGybdQIdlSi36nuBegNQWGB8sikYQVI7ByhAA87Pi 0OgTqvrwQT3phGVoL9iHI9VijB2Wi31MqLJ3x7bAl3xKxB2uQomY8yfP33NV3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693849098; a=rsa-sha256; cv=none; b=ujfBxBRM/EycY4vtUp3xqGG2mp+ApONHWGxmpiVwP6EWK3EUjdHSkNY9RRxoyKSAS4jhs5 /x1tkwjyGdfEsRr/zsRMK0StJhNoQ3twZijs0EZHXWRPOgNDWYgBSFmQYpim5zWotxYfay E89QPO909MlKLDCYF4ISReGk8dleB2lQOX59JH1fZkY/ElSFJh0p+9tg8DkQ568esBaHOv rIv7znhgVXoop8j9jFaCtz7hY5+b7LI2OK2Oq0Sz3PmzNz65KKpT0CDMH7TBb2E9CYhvzl BzjYAenNwbPCViFuN5rIGYExa9AVqU/FP7bDtCWZNcE5AyPrbuBFAEzafP0LiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Fu9EaVHs; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdDWW-0007a8-BJ; Mon, 04 Sep 2023 13:38:04 -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 1qdDWU-0007XL-Rk for bug-guix@gnu.org; Mon, 04 Sep 2023 13:38:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdDWU-0000wc-Io for bug-guix@gnu.org; Mon, 04 Sep 2023 13:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdDWU-0000jd-Gc for bug-guix@gnu.org; Mon, 04 Sep 2023 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65740: No fallback to SWH for .guix-channel dependencies Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Sep 2023 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65740 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65740@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16938490562789 (code B ref -1); Mon, 04 Sep 2023 17:38:02 +0000 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 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: 1C06044D5B X-TUID: +9/oStVpamgQ 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