From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#19219: Package names with digits following dashes Date: Wed, 23 Dec 2015 11:05:52 +0300 Message-ID: <87vb7pmvxb.fsf@gmail.com> References: <20141129203122.GA15720@debian> <87ppbws61p.fsf@gnu.org> <874mfssrxd.fsf@gnu.org> <87si3ah1d1.fsf@gnu.org> <87h9jblks4.fsf@gnu.org> <87k2o7h3ux.fsf@gnu.org> <8737uu9pro.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBeQw-0007cx-0f for bug-guix@gnu.org; Wed, 23 Dec 2015 03:06:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBeQs-0004PI-RL for bug-guix@gnu.org; Wed, 23 Dec 2015 03:06:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBeQs-0004P7-Nr for bug-guix@gnu.org; Wed, 23 Dec 2015 03:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aBeQs-000232-D5 for bug-guix@gnu.org; Wed, 23 Dec 2015 03:06:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737uu9pro.fsf@gnu.org> (Mathieu Lirzin's message of "Tue, 22 Dec 2015 22:23:26 +0100") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: 19219@debbugs.gnu.org Mathieu Lirzin (2015-12-23 00:23 +0300) wrote: [...] > In fact I think that having the same character for separating words and > version is a design flaw. Wow, I didn't think about it before. And I totally agree! > This brings non desirable limitations when > choosing a package name (as shown in this bug report) and/or requires a > complex parsing algorithm. We could use a reserved character instead > (just like we do for multiple outputs). Great idea! I also think it would be a right decision to have different separators for package name words, versions and outputs. > My proposition would be to have > ':' for versions and '/' for outputs, like this: > > guile:1.8/doc > xterm-256-color:320 > emacs:24.5/out > > WDYT? The choice of the separator characters doesn't really matter I think. I would prefer '_' and ':', i.e. 'emacs-foo-bar_24.5:out'. -- Alex