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

Bug#17621: PROPOSED]: About versions based on dates



Manoj Srivastava <srivasta@datasync.com> writes:

>      Native Debian packages (i.e., packages which have been written
>      especially for Debian) whose version numbers include dates should
>      always use the `YYYY-MM-DD' format. 

That's a stunningly bad idea.  From Chapter 5 of the Packaging manual:

|     <upstream-version>
|          This is the main part of the version. It is usually version
|          number of the original (`upstream') package of which the `.deb'
|          file has been made, if this is applicable. Usually this will be
|          in the same format as that specified by the upstream author(s);
|          however, it may need to be reformatted to fit into dpkg's format
|          and comparison scheme.
|
|          The comparison behaviour of dpkg with respect to the
|          <upstream-version> is described below. The <upstream-version>
|          portion of the version number is mandatory.
|
|          The <upstream-version> may contain only alphanumerics and the
|          characters `+' `.' `-' `:' (full stop, plus, hyphen, colon) and
|          should start with a digit. If there is no <debian-revision> then
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|          hyphens are not allowed; if there is no <epoch> then colons are
           ^^^^^^^^^^^^^^^^^^^^^^^^
|          not allowed. 

-- 
James


Reply to: