From unknown Fri Aug 15 14:45:58 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#36371 <36371@debbugs.gnu.org> To: bug#36371 <36371@debbugs.gnu.org> Subject: Status: '--with-commit' does not support tags Reply-To: bug#36371 <36371@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:45:58 +0000 retitle 36371 '--with-commit' does not support tags reassign 36371 guix submitter 36371 Tobias Geerinckx-Rice severity 36371 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 05:24:51 2019 Received: (at submit) by debbugs.gnu.org; 25 Jun 2019 09:24:51 +0000 Received: from localhost ([127.0.0.1]:58641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfhh5-0004cC-2p for submit@debbugs.gnu.org; Tue, 25 Jun 2019 05:24:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:44399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfhh2-0004c4-64 for submit@debbugs.gnu.org; Tue, 25 Jun 2019 05:24:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42034) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfhh1-0006ub-5l for bug-guix@gnu.org; Tue, 25 Jun 2019 05:24:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfhh0-0003hD-9s for bug-guix@gnu.org; Tue, 25 Jun 2019 05:24:47 -0400 Received: from tobias.gr ([80.241.217.52]:49334) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfhgz-0003be-CK for bug-guix@gnu.org; Tue, 25 Jun 2019 05:24:46 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 70682856 for ; Tue, 25 Jun 2019 09:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=kBTmFaIGxTeK3rnA3K1/MCAoDUJqD0ymmpxq6oERkIc=; b= OMyciAX6NET5THRgTwTirXPsoUvzdsQSnnj2YoPm5Olm4X45gXM9iWGPWaiP5ubR pRPCWrsE+B0zdTy2H/KdwqeO1raOnCQa70XDbQF3Mold5BQy4NEW4hoA1FSuH/W2 KRRPx/YMBMSX+bedms4foZu1+VTBRhYN0CoP+vBhzwxWZIwpuNslLEU/2TzTC6wE Wu2KR++IMZDjWdiAi8UR40nbMkehMp6RL4DW0zht+N4De/xY4/c64LKL+1jd/P4v 5Z+M/tbxZ4Y/RfkLvt8ZUWY1qpdOEL7wkakggllNgtubziM1h8tA/eUiXc3PntsI zNQemf2K8wkVJIj+z1fKjQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d25c4a12 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 25 Jun 2019 09:24:34 +0000 (UTC) From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: guix build =?utf-8?Q?--with-git-reference=3D=E2=80=A6?= Date: Tue, 25 Jun 2019 11:24:33 +0200 Message-ID: <87mui6rp9q.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.241.217.52 X-Spam-Score: -1.4 (-) 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: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, bricewge on #guix informed me that there's no way to pass a git=20 tag as source transformation option. Indeed: =E2=80=98--with-commit=3DPACKAGE=3DCOMMIT=E2=80=99 This is similar to =E2=80=98--with-branch=E2=80=99, except that it bui= lds=20 from COMMIT rather than the tip of a branch. COMMIT must be a=20 valid Git commit SHA1 identifier. is quite different from (guix git-download)'s pleasantly liberal=20 notion of commit: (git reference (url "git://foo.org/fizbo") (commit "fizbo-4.5")) ; tag yay bricewge suggested that a single =E2=80=98--with-git-ref[erence]=3D=E2=80= =99 could=20 replace both =E2=80=98--with-branch=E2=80=99 and a new =E2=80=98--with-tag= =E2=80=99, and I agree.=20 (Although I prefer the full spelling, of course :-) Two questions: =2D Is this really not supported yet, or am I missing the obvious? =2D Why is the (extremely) git-specific =E2=80=98--with-commit=3D=E2=80=99 = option not=20 called =E2=80=98--with-git-commit=3D=E2=80=99? Was it intended to be mor= e generic=20 than it is now? Should the new option be =E2=80=98--with-reference=3D=E2= =80=99 as=20 well? That's pushing it a little far. And three questions in=20 one; I'm cheating. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXRHoUQAKCRANsP+IT1Vt eVLuAQDDbVEGkAi+LvrhOvKn7A3xgJ71k5r3RMZZUv/i0sByGAD/ZJWqZvJo4Zxu jGvzF1TXEj5RRdCAvGb4qxF1l+eBUQ0= =32KG -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 08:39:06 2019 Received: (at 36371) by debbugs.gnu.org; 25 Jun 2019 12:39:06 +0000 Received: from localhost ([127.0.0.1]:58872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfkj3-0007cR-Un for submit@debbugs.gnu.org; Tue, 25 Jun 2019 08:39:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfkj0-0007bv-3S for 36371@debbugs.gnu.org; Tue, 25 Jun 2019 08:39:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfkir-0001OO-8P; Tue, 25 Jun 2019 08:38:53 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=52928 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfkin-0004AT-1E; Tue, 25 Jun 2019 08:38:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#36371: guix build =?utf-8?Q?--with-git-reference=3D?= =?utf-8?Q?=E2=80=A6?= References: <87mui6rp9q.fsf@nckx> Date: Tue, 25 Jun 2019 14:38:44 +0200 In-Reply-To: <87mui6rp9q.fsf@nckx> (Tobias Geerinckx-Rice's message of "Tue, 25 Jun 2019 11:24:33 +0200") Message-ID: <871rzhon57.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36371 Cc: 36371@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! Tobias Geerinckx-Rice skribis: > bricewge on #guix informed me that there's no way to pass a git tag as > source transformation option. Indeed: > > =E2=80=98--with-commit=3DPACKAGE=3DCOMMIT=E2=80=99 > This is similar to =E2=80=98--with-branch=E2=80=99, except that it bu= ilds from > COMMIT rather than the tip of a branch. COMMIT must be a valid > Git > commit SHA1 identifier. Indeed: --8<---------------cut here---------------start------------->8--- $ guix build guile-gcrypt --with-commit=3Dguile-gcrypt=3Dv1.0.0 updating checkout of 'https://notabug.org/cwebber/guile-gcrypt.git'... guix build: error: cannot fetch commit v1.0.0 from https://notabug.org/cweb= ber/guile-gcrypt.git: unable to parse OID - contains invalid characters --8<---------------cut here---------------end--------------->8--- Internally, that uses the =E2=80=98git-checkout=E2=80=99 record type define= d in (guix git). What I would propose is to change =E2=80=98git-checkout-compiler=E2=80=99 s= o that it can determine with a simple heuristic like that of (@@ (guix swh) commit-id?) whether the string denotes a commit ID or a tag. WDYT? > - Why is the (extremely) git-specific =E2=80=98--with-commit=3D=E2=80=99 = option not > called =E2=80=98--with-git-commit=3D=E2=80=99? Was it intended to be mor= e generic than > it is now? Should the new option be =E2=80=98--with-reference=3D=E2=80= =99 as well? > That's pushing it a little far. And three questions in one; I'm > cheating. Things are named this way for simplicity; the only exception is =E2=80=98--with-git-url=E2=80=99 because =E2=80=98--with-url=E2=80=99 would= have been too vague. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 10:58:57 2019 Received: (at control) by debbugs.gnu.org; 27 Jun 2019 14:58:57 +0000 Received: from localhost ([127.0.0.1]:39223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVrU-0005bB-Ok for submit@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVrT-0005b0-Dh for control@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hgVrO-0006pS-7O for control@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:50 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45678 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hgVrI-0008Jt-QR for control@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:47 -0400 Date: Thu, 27 Jun 2019 16:58:43 +0200 Message-Id: <87blyjyt0c.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36371 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) retitle 36371 '--with-commit' does not support tags quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 06:38:45 2019 Received: (at 36371-done) by debbugs.gnu.org; 26 Jul 2019 10:38:45 +0000 Received: from localhost ([127.0.0.1]:40921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqxcb-0002bT-E4 for submit@debbugs.gnu.org; Fri, 26 Jul 2019 06:38:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqxcX-0002bD-Ov for 36371-done@debbugs.gnu.org; Fri, 26 Jul 2019 06:38:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hqxcN-00020L-Eh; Fri, 26 Jul 2019 06:38:31 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=57300 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hqxcK-0003So-LV; Fri, 26 Jul 2019 06:38:29 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#36371: guix build =?utf-8?Q?--with-git-reference=3D?= =?utf-8?Q?=E2=80=A6?= References: <87mui6rp9q.fsf@nckx> <871rzhon57.fsf@gnu.org> Date: Fri, 26 Jul 2019 12:38:25 +0200 In-Reply-To: <871rzhon57.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 25 Jun 2019 14:38:44 +0200") Message-ID: <877e85qdwe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36371-done Cc: 36371-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: -3.3 (---) Hello! Ludovic Court=C3=A8s skribis: > $ guix build guile-gcrypt --with-commit=3Dguile-gcrypt=3Dv1.0.0 > updating checkout of 'https://notabug.org/cwebber/guile-gcrypt.git'... > guix build: error: cannot fetch commit v1.0.0 from https://notabug.org/cw= ebber/guile-gcrypt.git: unable to parse OID - contains invalid characters > > Internally, that uses the =E2=80=98git-checkout=E2=80=99 record type defi= ned in (guix > git). > > What I would propose is to change =E2=80=98git-checkout-compiler=E2=80=99= so that it can > determine with a simple heuristic like that of (@@ (guix swh) commit-id?) > whether the string denotes a commit ID or a tag. Done in 177fecb57c0c9e15249bf6a49244c9dc6eb8439c. Thanks, Ludo=E2=80=99. From unknown Fri Aug 15 14:45:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Aug 2019 11:24:07 +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