On Tue, Apr 20, 2004 at 01:24:29AM +0200, Mich?le Garoche wrote:
> Le 20 avr. 2004, ? 1:13, Daniel Macks a ?crit :
> >On Tue, Apr 20, 2004 at 12:59:41AM +0200, Mich?le Garoche wrote:
> >>
> >>Could it be possible to note in chapter reference, for field package
> >>that the name should begin with a letter and that the version could  
> >>not have letters at beginning ?
> >
> >I think the second part is recommended but not required by Debian
> >Policy (see the link from Epoch) but it sure makes things less
> >confusing! Any input from other admin-folks on a policy statement?
> 
> Quoted at the end of paragraph 5.6.11  
> <http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f- 
> Version>
> 
> [Quote]
> Note that the purpose of epochs is to allow us to leave behind mistakes  
> in version numbering, and to cope with situations where the version  
> numbering scheme changes. It is not intended to cope with version  
> numbers containing strings of letters which the package management  
> system cannot interpret (such as ALPHA or pre-), or with silly  
> orderings (the author of this manual has heard of a package whose  
> versions went 1.1, 1.2, 1.3, 1, 2.1, 2.2, 2 and so forth).
> [/Quote]

I interpret that to mean Epoch is not designed just keep incrementing
as a hack to get arbitrary versions to sort correctly (for example to
use 1:2.0 to make 2.0 be higher than 2.0pre1). It doesn't seem to
forbid versions "a1", "a2", "b1", etc. which *do* sort correctly.

> and for upstream version at the beginning of the same paragraph
> [Quote]
> The upstream_version may contain only alphanumerics[28] and the  
> characters . + - : (full stop, plus, hyphen, colon) and should start  
> with a digit.
> [/Quote]

That's the exact sentence on which I based my comment, in particular
the "should start with" being weaker (a suggestion) than "may contain
only" (a requirement). The description of the sorting alogrithm does
not require a leading digit, nor does the parsing alogrithm for %f
(for full-package and .deb names) and other things that handle this
information. See for example Fink's SourceForge Tracker bugs #766799.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to