From unknown Mon Aug 11 21:13:16 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#72174 <72174@debbugs.gnu.org> To: bug#72174 <72174@debbugs.gnu.org> Subject: Status: guix download does not support Mercurial Reply-To: bug#72174 <72174@debbugs.gnu.org> Date: Tue, 12 Aug 2025 04:13:16 +0000 retitle 72174 guix download does not support Mercurial reassign 72174 guix submitter 72174 PIERRE AUGIER severity 72174 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 18 05:21:13 2024 Received: (at submit) by debbugs.gnu.org; 18 Jul 2024 09:21:13 +0000 Received: from localhost ([127.0.0.1]:36912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUNK3-00078T-Gj for submit@debbugs.gnu.org; Thu, 18 Jul 2024 05:21:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:47308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUN4O-0006ff-PS for submit@debbugs.gnu.org; Thu, 18 Jul 2024 05:05:03 -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 1sUN4G-0004Yi-HU for bug-guix@gnu.org; Thu, 18 Jul 2024 05:04:52 -0400 Received: from zm-mta-out-3.u-ga.fr ([152.77.200.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUN4D-00055W-IR for bug-guix@gnu.org; Thu, 18 Jul 2024 05:04:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=univ-grenoble-alpes.fr; s=2020; t=1721293480; bh=LAS0YJJeYx12UFfzbDm9F3uVpn+n08xxqDMSc5ztqWo=; h=Date:From:To:Subject:From; b=opwQaLsRC+C7t8+p+mHIGHVGYZ9lMAbgVZxG7bvZQZTnHJGlk4tuI9pw3JZIAVp3I RmUBavt2o87fOYO3jK6vsJhm+te2MNjF4MJpZldoQjsiVtJTk9zjhYMrzTzhI64RDd LkPrsK7heJWkjtFQBezk3m2c2Tcnvf8lSCIEEiaqSongfAVVVTVkr01JcXj9P65sn8 tHSiVqS/B93EVQmcOEga9GlyLKa6KKBVsNIEbpk/MXbbgG779nNfeTUsEAwFoAUh8h PM1CXKwZghSziteWRbH55NjhJ4xDj6LveeFuez+KibvOQ1MUmGdBx+E6yO8AoesN7S dRXyKOAb0B0GQ== Received: from mailhub.u-ga.fr (mailhub-1.u-ga.fr [129.88.178.98]) by zm-mta-out-3.u-ga.fr (Postfix) with ESMTP id 8281240233 for ; Thu, 18 Jul 2024 11:04:40 +0200 (CEST) Received: from mailhost.u-ga.fr (mailhost2.u-ga.fr [129.88.177.242]) by mailhub.u-ga.fr (Postfix) with ESMTP id 800EF10005E for ; Thu, 18 Jul 2024 11:04:40 +0200 (CEST) Received: from zm-mbx10.u-ga.fr (zm-mbx10.u-ga.fr [152.77.200.34]) by mailhost.u-ga.fr (Postfix) with ESMTP id 7D74D6006E for ; Thu, 18 Jul 2024 11:04:40 +0200 (CEST) Date: Thu, 18 Jul 2024 11:04:40 +0200 (CEST) From: PIERRE AUGIER To: bug-guix@gnu.org Message-ID: <1753693157.3691505.1721293480459.JavaMail.zimbra@univ-grenoble-alpes.fr> Subject: guix download does not support Mercurial MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [194.254.66.79] X-Mailer: Zimbra 10.0.8_GA_4611 (ZimbraWebClient - FF115 (Linux)/10.0.8_GA_4611) Thread-Index: L/SXOqDIMVz+1wzryuCkvVzyLg4uGw== Thread-Topic: guix download does not support Mercurial X-Greylist: Whitelist-UGA MAILHOST (SMTP non authentifie) depuis 152.77.200.34 Received-SPF: pass client-ip=152.77.200.56; envelope-from=pierre.augier@univ-grenoble-alpes.fr; helo=zm-mta-out-3.u-ga.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 18 Jul 2024 05:21:10 -0400 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: -2.3 (--) https://foss.heptapod.net/fluiddyn/fluidsim is a Mercurial repository. ``` guix download --commit=62c4dbe4f786 https://foss.heptapod.net/fluiddyn/fluidsim ``` fails with: ``` SWH: revision "62c4dbe4f786" originating from https://foss.heptapod.net/fluiddyn/fluidsim could not be found guix download: warning: revision 62c4dbe4f786 of https://foss.heptapod.net/fluiddyn/fluidsim could not be fetched from Software Heritage guix download: error: Git error: unexpected http status code: 404 ``` I studied `guix download -h` which shows that `guix download` only supports Git repositories. Since there is `hg-download`, it would make sense that the command `guix download` support Mercurial. -- Pierre Augier - CR CNRS http://www.legi.grenoble-inp.fr LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels BP53, 38041 Grenoble Cedex, France tel:+33.4.56.52.86.16 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 22 03:11:37 2024 Received: (at 72174) by debbugs.gnu.org; 22 Jul 2024 07:11:38 +0000 Received: from localhost ([127.0.0.1]:56733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVnCr-00064V-Lp for submit@debbugs.gnu.org; Mon, 22 Jul 2024 03:11:37 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:64107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVnCp-00064G-M1 for 72174@debbugs.gnu.org; Mon, 22 Jul 2024 03:11:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=FvOTVz7JmZCmzHMQJCmF5rmYOXljnarDiyt0Hvg1uz4=; b=ox96V6WP817KMGZ1pFXU7RUTs3OEQmXEuVF+xD1SMzCzJQcsExzPQQib gr69fOIUuHX+iPM8DCB6IHuzDwexCKWiKJeiSlfYxdVnpuSODKo/HYwFQ zX4Mm/KHy/twetKKFNQHsUhuwjUl4u4p2RXVTp55MSQP4pC1iyF+wwSZM U=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,227,1716242400"; d="scan'208";a="176410787" Received: from unknown (HELO ribbon) ([193.50.110.239]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 09:11:27 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: PIERRE AUGIER Subject: Re: bug#72174: guix download does not support Mercurial In-Reply-To: <1753693157.3691505.1721293480459.JavaMail.zimbra@univ-grenoble-alpes.fr> (PIERRE AUGIER's message of "Thu, 18 Jul 2024 11:04:40 +0200 (CEST)") References: <1753693157.3691505.1721293480459.JavaMail.zimbra@univ-grenoble-alpes.fr> Date: Mon, 22 Jul 2024 09:11:25 +0200 Message-ID: <878qxtlx42.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 72174 Cc: 72174@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, PIERRE AUGIER skribis: > I studied `guix download -h` which shows that `guix download` only suppor= ts Git repositories. Since there is `hg-download`, it would make sense that= the command `guix download` support Mercurial. Indeed, only Git is supported at this point. Supporting Mercurial and other VCSes would be nice though there=E2=80=99s no plan to do so at this p= oint (Git support was a low-hanging fruit since Git is already tightly integrated). Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 22 03:11:43 2024 Received: (at control) by debbugs.gnu.org; 22 Jul 2024 07:11:43 +0000 Received: from localhost ([127.0.0.1]:56736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVnCw-00064s-VT for submit@debbugs.gnu.org; Mon, 22 Jul 2024 03:11:43 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:47228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVnCu-00064N-P5 for control@debbugs.gnu.org; Mon, 22 Jul 2024 03:11:41 -0400 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.09,227,1716242400"; d="scan'208";a="92661052" Received: from unknown (HELO ribbon) ([193.50.110.239]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 09:11:32 +0200 Date: Mon, 22 Jul 2024 09:11:30 +0200 Message-Id: <877cddlx3x.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #72174 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control 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 (/) severity 72174 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 22 12:39:08 2024 Received: (at 72174) by debbugs.gnu.org; 22 Jul 2024 16:39:08 +0000 Received: from localhost ([127.0.0.1]:58498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVw44-0007Sr-9L for submit@debbugs.gnu.org; Mon, 22 Jul 2024 12:39:08 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:40898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVw42-0007SN-2q for 72174@debbugs.gnu.org; Mon, 22 Jul 2024 12:39:07 -0400 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4266ea4e4bdso5205305e9.3 for <72174@debbugs.gnu.org>; Mon, 22 Jul 2024 09:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721666276; x=1722271076; 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=kT0u2slbUN/MThUcXoeRRnzaIK2tVGNP8Qfm5rXDoD0=; b=Jv4y1xoY1X6Yj6emGAF/02o4aqS7cFKlmJSgIaaVakHg0FUz5ZNB2t0yevOvDO+dGq R5YbenrENauwDAEDT0HRLh9chtvvmZ+yXYc/M/jz4zJp0Bn3JjHXP/XF7r87Q+tSDrtj atfvst4bnQM9EJSnKtnL4Cw8FfEN6n+k9Qj7EPGqcOoCW9WuHFyGGtoRaKWUlfw9tLcl EsIMW+NRpdMhf35Wpx83cF+LBOjwpQMUcezC3X0GxHQMcclYh59NPlmr+kgp2jfTLeJV XyRbfzq4n1ZkJn72AdaCnXg1p2QgquPTr8Rmz/8Loz5dwWOT0epzlPrD5QS9oHGU6yve wjjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721666276; x=1722271076; 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=kT0u2slbUN/MThUcXoeRRnzaIK2tVGNP8Qfm5rXDoD0=; b=jFTMdg7g94WiP3mwuLd9m/vUQ8IL4dFt9RntWQzf8pHyId9nYh2clNeMWqbKJfJ9gw hV7qzhtGru1b3timsNn/u8GnqmlmPQI10xBzpxwU1L33BVCRU55HybMaaKhcCMCkO2fh OOUvGULBOZI3LEoaZzqZFX2PBzAfiZmN0m1qgfhRcuurWXPjAJpwLfRm4kLfXEWdh1IF CzzHZhWRc69qkitd+SabpVm+eiQWzuZlPRbp3nX49AV8F9TmTpanRpzhc+qF97j0mJ0t nq8wblyOLie8gMgSIfjuA+JQNdi0mc5jlpRBTRj9vXemHVvPq6zP3B/Y4GPC4aJDV8G6 lVAQ== X-Gm-Message-State: AOJu0YwFFVD8rvgbEvajJP8V92mcpWlW+EYuQzLWU76WL+Owimp/s1nO G8fqNucMxC3Zq9q8osSzHvtG+G8aT27XOMVvpghgJPMAUXfdC/dybFmxrw== X-Google-Smtp-Source: AGHT+IEi0YBv25mObpJfYAjYoQH+MD/2sOcTfpXvaaxkxAeCjJDjiR23rigy6EJX6TECbyrw8ia56w== X-Received: by 2002:a05:600c:3b06:b0:426:67e0:3aa with SMTP id 5b1f17b1804b1-427daa34843mr35040805e9.1.1721666275670; Mon, 22 Jul 2024 09:37:55 -0700 (PDT) Received: from lili (2a02-8429-6820-f501-155c-29e9-ef9d-8cf9.rev.sfr.net. [2a02:8429:6820:f501:155c:29e9:ef9d:8cf9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d2a9466bsm162690035e9.41.2024.07.22.09.37.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 09:37:54 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= , PIERRE AUGIER Subject: Re: bug#72174: guix download does not support Mercurial In-Reply-To: <878qxtlx42.fsf@gnu.org> References: <1753693157.3691505.1721293480459.JavaMail.zimbra@univ-grenoble-alpes.fr> <878qxtlx42.fsf@gnu.org> Date: Mon, 22 Jul 2024 17:51:12 +0200 Message-ID: <87ttghfmrz.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: 72174 Cc: 72174@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 Mon, 22 Jul 2024 at 09:11, Ludovic Court=C3=A8s wrote: >> I studied `guix download -h` which shows that `guix download` only >> supports Git repositories. Since there is `hg-download`, it would >> make sense that the command `guix download` support Mercurial.=20 > > Indeed, only Git is supported at this point. Supporting Mercurial and > other VCSes would be nice though there=E2=80=99s no plan to do so at this= point > (Git support was a low-hanging fruit since Git is already tightly > integrated). Somehow, =E2=80=9Cguix download=E2=80=9D does not rely on the module =E2=80= =99(guix git-download)=E2=80=99 that provides =E2=80=99git-fetch=E2=80=99 but it rel= ies on the module =E2=80=99(guix git)=E2=80=99. Therefore, =E2=80=9Chg-download=E2=80=9D is = not helpful here and somehow a brick seems lacking. :-) Maybe I misread, my understanding in short is that =E2=80=9Cgit-download=E2= =80=9D or =E2=80=9Chg-download=E2=80=9D works with fixed-output derivations, hence th= e hash must be known beforehand; source code is fetched via a derivation that the guix-daemon processes. Instead, =E2=80=9Cguix download=E2=80=9D fetches using code from user side = and not from guix-daemon side and the source is fetched inside some user=E2=80=99s cache= that is then copied to the store. This way there is no hash check. The code behind =E2=80=9Cguix download=E2=80=9D supporting Git is implement= ed with guile-libgit2 =E2=80=93 tightly integrated ;-); see latest-repository-commit calling update-cached-checkout from (guix git). It would be possible to implement the equivalent for Mercurial or redesign =E2=80=9Cguix download= =E2=80=9D; in both cases, todo. :-) HTH Cheers, simon