From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7OG5-0001JB-Si for guix-patches@gnu.org; Sun, 07 May 2017 11:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7OG2-0000cR-Ok for guix-patches@gnu.org; Sun, 07 May 2017 11:38:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7OG2-0000cL-L2 for guix-patches@gnu.org; Sun, 07 May 2017 11:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7OG2-0000GQ-FH for guix-patches@gnu.org; Sun, 07 May 2017 11:38:02 -0400 Subject: bug#26264: [PATCH 0/1] Use '@' to separate name, version in package-full-name Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170326122555.22366-1-alex@pompo.co> <6da6e290-feed-e500-e53a-d308e5dc9dde@tobias.gr> <877f3bx4m3.fsf@gmail.com> <87h92d30lw.fsf@gnu.org> <22f867cf-18f8-c08c-259e-afe86bff5ac6@tobias.gr> <45019b9a-565a-82a9-a0de-249cfe211cfa@tobias.gr> Date: Sun, 07 May 2017 17:37:33 +0200 In-Reply-To: <45019b9a-565a-82a9-a0de-249cfe211cfa@tobias.gr> (Tobias Geerinckx-Rice's message of "Sat, 6 May 2017 20:32:14 +0200") Message-ID: <87bmr4ptj6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Tobias Geerinckx-Rice Cc: alex.sassmannshausen@gmail.com, 26264@debbugs.gnu.org Hello! Tobias Geerinckx-Rice skribis: > From 43892525fc981533445e60a649425791cc315d0a Mon Sep 17 00:00:00 2001 > From: Tobias Geerinckx-Rice > Date: Sat, 6 May 2017 14:32:12 +0200 > Subject: [PATCH 4/4] packages: Use "@" as a version separator. > > * guix/packages.scm (package-full-name): Use "@" instead of "-" to separa= te > PACKAGE-NAME and PACKAGE-VERSION. > --- > guix/packages.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/guix/packages.scm b/guix/packages.scm > index 44f2c32fb..802405102 100644 > --- a/guix/packages.scm > +++ b/guix/packages.scm > @@ -385,8 +385,8 @@ object." >=20=20 >=20=20 > (define (package-full-name package) > - "Return the full name of PACKAGE--i.e., `NAME-VERSION'." > - (string-append (package-name package) "-" (package-version package))) > + "Return the full name of PACKAGE--i.e., `NAME@VERSION'." > + (string-append (package-name package) "@" (package-version package))) WDYT of making it: (define* (package-full-name package #:optional (separator "@")) =E2=80=A6) ? (I think I suggested it somewhere, but maybe not. :-)) That would make the adjustments to places that need a hyphen slightly shorter. Thanks, and good luck with your new $DAYJOB! Ludo=E2=80=99.