Gentoo Archives: gentoo-pms

From: Walter <walter.stanish@×××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] ABNF of PMS
Date: Wed, 10 Jul 2013 11:02:35
Message-Id: CACwuEiMqp0PqniBcnMgQfEEnhnye6jQuFUnTAU9gFXsa-kdtwA@mail.gmail.com
In Reply to: Re: [gentoo-pms] ABNF of PMS by Ulrich Mueller
1 >> Right now it can be used to generate test data for package managers
2 >> and other software, though I would like to extend it to generate code
3 >> for various languages as well.
4 >
5 >> You can find it at https://github.com/globalcitizen/gentoo-pms-abnf
6 >
7 > Could you account for the tightened package name spec? It has been
8 > updated some time ago [1]:
9
10 I just looked at the PMS URL at http://dev.gentoo.org/~ulm/pms/5/pms.html.
11 Is that not the latest version? If not, perhaps it should be taken offline.
12
13 > 3.1.2 Package Names
14 >
15 > A package name may contain any of the characters [A-Za-z0-9+_-].
16 > It must not begin with a hyphen or a plus sign, and must not end in
17 > a hyphen followed by anything matching the version syntax described
18 > in section 3.2.
19
20 In any case, the change here seems to be from:
21 "... must not end in a hyphen followed by [one or more digits]" ... to ...
22 "... must not end in a hyphen followed by [anything matching the
23 version syntax described in section 3.2]"
24
25 It's certainly possible to update. Right now, since package names
26 can't include dots, any normal version syntax is pretty much banned
27 anyway. Probably the only thing that would be accepted is a whole
28 integer based version, with no ".x.x" subversioning present.
29
30 - Walter

Replies

Subject Author
Re: [gentoo-pms] ABNF of PMS Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-pms] ABNF of PMS Ulrich Mueller <ulm@g.o>