[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#184368: sematic error, 2.3.1 The package name



On Tue, Mar 11, 2003 at 07:48:11PM -0800, Osamu Aoki wrote:
> On Tue, Mar 11, 2003 at 03:57:07PM -0600, Drew Scott Daniels wrote:
> > Package: debian-policy
> > 
> > Section 2.3.1 says:
> > "Package names must consist of lower case letters (a-z), digits (0-9),
> > plus (+) and minus (-) signs, and periods (.)."
> > 
> > It should say something like:
> > "Package names must not consist of anything other than lower case letters
> > (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.)."
> > 
> > because it is not desirable, and not the current convention to make
> > packages contain all of the items in the list. eg why force apt to have
> > digits, plus and minus signs and periods. It would have to have a name
> > like apt00+-.. to be valid.
> 
> Please do not push pedantic argument too much :-)
> 
> Double negative expressions are error prone and difficult to understand
> for non-native speakers.  I think it is fine as is since the original
> text uses "consist of" instead of "contain".

How about:

 "Package names must consist only of lower case letters (a-z), digits
  (0-9), plus (+) and minus (-) signs, and periods (.)."

inserting the word only?

> 
> BTW, I have never seen any package name starting any of "+", "-", or
> ".", nor I have seen any package name with repeated ".".  I guess common
> sense rules.

Policy 2.3.1: must begin with an alphanumeric.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

        Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry



Reply to: