On Tue, Sep 15, 2015 at 09:13:11AM -0500, Kate Stewart wrote:
>    Stefano was kind enough to look at our draft for Package External
> Identifiers, and had the following feedback that he agreed could be shared
> with the team.  I've responded in the text with some follow up
> comments, and questions.

Thanks Kate; some feedback below.

> > You probably also want to define a precise concrete syntax for those
> > identifiers, and ensure that all "weird" characters that might
> > appear in Debian package versions are supported. Stuff like "~",
> > "+", ":" comes to mind.
> 
> Is there a BNF grammar for recognizing valid package identifiers in
> Debian (ie. with all the permitted weird characters?)

It's not a BNF, but there's a rigorous description of what is allowed in
a package version in the Debian Policy:

  https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

FWIW, there is a similar (but much simpler) definition also for package
names:

  https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source

> The SPDX tech team should probably do this exercise with the other
> external repositories we're trying to represent as well, so we
> minimize the chance of making bad assumptions.

Sounds like a good idea, yes.

Hope this helps!
Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  [email protected] . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to