Re: Version numbers with dates

2000-10-12 Thread Colin Watson
Yves Arrouye <[EMAIL PROTECTED]> wrote: >I want to package something based on date (development snapshot) but >w/o epochs (as I'm not sure where to start the epoch and how to drop it >later). You can never drop an epoch. Once you've introduced one, you have to keep it or a higher epoch for the lif

Re: Version numbers with dates

2000-10-12 Thread Colin Watson
Yves Arrouye <[EMAIL PROTECTED]> wrote: >I want to package something based on date (development snapshot) but >w/o epochs (as I'm not sure where to start the epoch and how to drop it >later). You can never drop an epoch. Once you've introduced one, you have to keep it or a higher epoch for the li

RE: Version numbers with dates

2000-10-10 Thread Yves Arrouye
> Epochs are just for when things go wrong. Read the packaging manual, > section 5, carefully. That's when I got confused :) Not by the manual, by the fact that KDE packages use (or used to use) epochs while all my tests show it's okay... Thanks for the clarification that I can do that... YA

Re: Version numbers with dates

2000-10-10 Thread Julian Gilbey
On Tue, Oct 10, 2000 at 03:01:35PM -0700, Yves Arrouye wrote: > Hi, > > I'm sure this is an FAQ. But can I use a version number like: > > > 1.6.20001010-1 > > and then later on > > 1.7-1 > > with success? Yes. Just try: bash$ dpkg --compare-versions 1.6.20001010-1 lt 1.7-1; echo $? 0 bash

Version numbers with dates

2000-10-10 Thread Yves Arrouye
Hi, I'm sure this is an FAQ. But can I use a version number like: 1.6.20001010-1 and then later on 1.7-1 with success? I want to package something based on date (development snapshot) but w/o epochs (as I'm not sure where to start the epoch and how to drop it later). I tried these examples wi

RE: Version numbers with dates

2000-10-10 Thread Yves Arrouye
> Epochs are just for when things go wrong. Read the packaging manual, > section 5, carefully. That's when I got confused :) Not by the manual, by the fact that KDE packages use (or used to use) epochs while all my tests show it's okay... Thanks for the clarification that I can do that... YA

Re: Version numbers with dates

2000-10-10 Thread Julian Gilbey
On Tue, Oct 10, 2000 at 03:01:35PM -0700, Yves Arrouye wrote: > Hi, > > I'm sure this is an FAQ. But can I use a version number like: > > > 1.6.20001010-1 > > and then later on > > 1.7-1 > > with success? Yes. Just try: bash$ dpkg --compare-versions 1.6.20001010-1 lt 1.7-1; echo $? 0 bas

Version numbers with dates

2000-10-10 Thread Yves Arrouye
Hi, I'm sure this is an FAQ. But can I use a version number like: 1.6.20001010-1 and then later on 1.7-1 with success? I want to package something based on date (development snapshot) but w/o epochs (as I'm not sure where to start the epoch and how to drop it later). I tried these examples w