From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#36371: 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" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42113) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfhhH-00075a-HS for bug-guix@gnu.org; Tue, 25 Jun 2019 05:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfhhG-0003uu-Fh for bug-guix@gnu.org; Tue, 25 Jun 2019 05:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfhhG-0003uf-CH for bug-guix@gnu.org; Tue, 25 Jun 2019 05:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfhhG-0004cg-6n for bug-guix@gnu.org; Tue, 25 Jun 2019 05:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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 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) 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) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36371@debbugs.gnu.org --=-=-= 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----- --=-=-=--