From mboxrd@z Thu Jan 1 00:00:00 1970 From: carl hansen Subject: bug#19219: New command-line syntax for package + version? Date: Fri, 1 Jan 2016 19:18:04 -0800 Message-ID: References: <87si3ah1d1.fsf@gnu.org> <87h9jblks4.fsf@gnu.org> <87k2o7h3ux.fsf@gnu.org> <8737uu9pro.fsf@gnu.org> <87oad8vxkx.fsf_-_@gnu.org> <87io3fo8sl.fsf@gnu.org> <20151231011631.GB23122@jasmine> <20151231100934.231cee5b@debian-netbook> <87k2nti9ab.fsf@gnu.org> <20160101212540.GC11284@jasmine> <20160101214518.GA12106@jasmine> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a033c0fc3eb0528515643 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFCih-0000sG-VR for bug-guix@gnu.org; Fri, 01 Jan 2016 22:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFCic-0005Pk-S1 for bug-guix@gnu.org; Fri, 01 Jan 2016 22:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFCic-0005Pg-Ot for bug-guix@gnu.org; Fri, 01 Jan 2016 22:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFCib-000596-VL for bug-guix@gnu.org; Fri, 01 Jan 2016 22:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160101214518.GA12106@jasmine> 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: Leo Famulari Cc: 19219@debbugs.gnu.org, Mathieu Lirzin --001a113a033c0fc3eb0528515643 Content-Type: text/plain; charset=UTF-8 On Fri, Jan 1, 2016 at 1:45 PM, Leo Famulari wrote: > > > I did this: > $ apt-cache pkgnames | tr -d 'a-zA-Z0-9' | tr -d - | tr -d '\n' > > The only remaining characters were '.' and '+'. > > > I did: ls -1 /var/cache/apt/archive/ | tr -d 'a-zA-Z0-9' | tr -d - | tr -d '\n' Got: . + % ~ _ typical pkgnames, as seen in the file system: zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb zoo_2.10-27_amd64.deb zynjacku_6-4build1_amd64.deb Note pkgname: package-name _ upstreamversion - localversion _ otherstuff version delimited by _ may have optional subversions split by - (like when an upstream version is remade on hydra, but is only locally different somehow.) For your comtemplation. I believe on debian the : is used when the package starts a new numbering scheme, like when they decide the old scheme was crazy. --001a113a033c0fc3eb0528515643 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Jan 1, 2016 at 1:45 PM, Leo Famulari <leo@famulari.name>= ; wrote:


I did this:
$ apt-cache pkgnames | tr -d 'a-zA-Z0-9' | tr -d - | tr -d '\n&= #39;

The only remaining characters were '.' and '+'.


I did:
ls -1 /var/ca= che/apt/archive/ | tr -d 'a-zA-Z0-9' | tr -d - | tr -d '\n'=
Got:=C2=A0 . + % ~ _

typical pkgnames, as seen in the file system:
zli= b1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb
zoo_2.10-27_amd64.deb
zynja= cku_6-4build1_amd64.deb

Note pkgnam= e:

package-name=C2=A0 _=C2=A0 upstr= eamversion - localversion _ otherstuff

version delimited by _
may have opt= ional subversions split by -
(like when an upstream version is remade on= hydra, but is only locally different somehow.)

For your comtemplation.

I believe on debian the : is used when the package starts a new numbering= scheme, like when
they decide the old = scheme was crazy.



--001a113a033c0fc3eb0528515643--