From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: New CLI syntax for package version Date: Sun, 10 Jan 2016 09:32:06 +0100 Message-ID: <878u3x4yyh.fsf@elephly.net> References: <874mem8mwx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIBQB-0008SS-H8 for guix-devel@gnu.org; Sun, 10 Jan 2016 03:32:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIBQA-0008Ho-J7 for guix-devel@gnu.org; Sun, 10 Jan 2016 03:32:19 -0500 In-reply-to: <874mem8mwx.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Courtès writes: > In , we came to the conclusion that we need a > new syntax to denote a specific package version on the command line. > > The current syntax is described in the manual (info "(guix) Invoking > guix package"). Basically, ‘guile-1.8’ refers to version 1.8.x of > Guile; however, this syntax has proved to be ambiguous for packages > whose name contains digits. > > For the new syntax, the proposals so far are: > > 1. slash, > > guile:1.8/doc > xterm-256-color:320 > emacs:24.5/out That’s really “colon”, rather than “slash”. The slash is used to separate the output, which reminds me of paths. > 2. underscore, > > emacs_24.5:out I do not like this one. > 3. at, > > guile@1.8 > guile@1.8:doc I like the “@” because it reads as “guile at [version] 1.8”. A colon to separate the output name from the rest works just as well as a slash (proposed above); I have no preference here. ~~ Ricardo