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

Re: Package name separators



Previously Miles Bader wrote:
> Right, but unfortunately it's common for *both* the package name and the
> version to contain hyphens -- that's why it's annoying.  One can simply
> disallow hyphens in versions, but they seem to turn up in the source
> versions from which packages are made.

Simply solution that Debian uses: version is the versionnumber of the package.
upstream version is the upstream version (duh), and release version is
the version of the package. The upstream version and release version
are seperated by a -. The release version is not allowed to contain a
- and can therefore always be found by taking the string after the last
- in the full version.

Confused yet? Example:

   2.1.3-2.1     : upstream version 2.1.3, package release version 2.1
   2.2.17-pre3-2 : upstream version 2.2.17-pre3, package release version 2

We've used that for years and it works very well.

Wichert.

-- 
  _________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Attachment: pgpE2iTJ9YIgu.pgp
Description: PGP signature


Reply to: