Re: poll: package-specs and version numbers

Previous thread: typo in krb5_address.3 by Markus Bergkvist on Sunday, July 13, 2008 - 11:41 pm. (1 message)

Next thread: memdup(3) by Alexey Dobriyan on Monday, July 14, 2008 - 5:49 am. (10 messages)
From: Marc Espie
Date: Monday, July 14, 2008 - 5:46 am

Current documentation says:

The version part starts at the first digit that follows a `-', and
goes on up to the following `-', or to the end of the package name,
if no flavor modifier is present.  It is highly recommended that
all packages have a version number.

I'd like to modify that to make the version number *mandatory*.
In the worst case, an artificial version of 0 would be okay.

The main reason for that is that the current fuzzy spec allows people
to build packages with really weird names, and then they figure out later
that they did it wrong.

With `stronger' specs guarantees, I can add more checks in the
pkg_* code (for package names and for dependency specifications) that
will give out more explicit diagnostics for wrong package names.

Any objections ?

From: Nikolay Sturm
Date: Monday, July 14, 2008 - 6:21 am

None at all!

Nikolay

-- 
"It's all part of my Can't-Do approach to life." Wally

From: Peter N. M. Hansteen
Date: Monday, July 14, 2008 - 7:42 am

Sounds like an excellent plan from where I'm sitting.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

From: Jim Razmus
Date: Monday, July 14, 2008 - 11:28 am

I like strong specifications.  Doesn't conflict with any porting I've
done, albeit I'm still pretty green.

Jim

From: Antoine Jacoutot
Date: Tuesday, July 15, 2008 - 1:44 am

None of course.
This is the right thing to do IMHO.

-- 
Antoine

Previous thread: typo in krb5_address.3 by Markus Bergkvist on Sunday, July 13, 2008 - 11:41 pm. (1 message)

Next thread: memdup(3) by Alexey Dobriyan on Monday, July 14, 2008 - 5:49 am. (10 messages)