On Sat, Feb 10, 2007 at 04:59:09PM +0100, Max Horn wrote:
> Hi folks,
> 
> I felt a bit bored today and thus decided to run the validator over  
> all .info files in the 10.4 unstable tree. I got a smattering of  
> errors and warnings (see the attached file). I already emailed some  
> maintainers to ask them specifically to fix some of the issues listed  
> there. But I am wondering about the following one:
> 
> Error: Package revision may only contain lowercase letters,  
> numbers,'.' and '+' (emacs21-nox.info)

I had emailed bmaret about the hyphenated Revision problem a few days
ago, and I believe he fixed many of them.

> So right now, our validator doesn't allow "-" in the package  
> revisions. I think this has (or at least, used to have) a good reason  
> -- the dash is used as a separator and various fink commands use it  
> to parse version-revision strings. This becomes ambiguous if the  
> revision (or version, for that matter) contains dashes.

Correct. It's a carry-over from the dpkg world, where "stuff after the
last hyphen" is the revision.

> OTOH, as far as I can tell, we do not properly specify the allowed  
> values for "Revision" (at least <http://fink.sourceforge.net/doc/ 
> packaging/reference.php#fields> doesn't).
> 
> Hence we should
> 
> 1) Decide whether we want to allow "-" in revision or not; in fact,  
> decide what specifically we want to allow (only numbers? the same as  
> in the name field? maybe only numbers? only numbers and  
> underscores?... ?)

Revision currently accepts the same set of chars as Version, with the
exception that hyphen is forbidden. Underscores are a delimiter in
.deb package-names, and aren't allowed anywhere in any of the
name/version-related fields.

dan

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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to