From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36371: guix build =?UTF-8?Q?--with-git-reference=3D=E2=80=A6?= Date: Fri, 26 Jul 2019 12:38:25 +0200 Message-ID: <877e85qdwe.fsf@gnu.org> References: <87mui6rp9q.fsf@nckx> <871rzhon57.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55761) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqxd0-0003dq-RR for bug-guix@gnu.org; Fri, 26 Jul 2019 06:39:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqxcx-00042T-Kp for bug-guix@gnu.org; Fri, 26 Jul 2019 06:39:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqxcu-0003x6-5J for bug-guix@gnu.org; Fri, 26 Jul 2019 06:39:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqxcs-0002c8-1L for bug-guix@gnu.org; Fri, 26 Jul 2019 06:39:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: 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") 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: Tobias Geerinckx-Rice Cc: 36371-done@debbugs.gnu.org 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.