Re: Debian policy about "experimental" ?
Le Dimanche 21 Septembre 2003 22:12, Santiago Vila a écrit :
> On Sun, 21 Sep 2003, jjluza wrote:
> > I read this :
> > http://lists.debian.org/debian-devel-announce/2003/
> > debian-devel-announce-200308/msg00010.html
> > So we should put development packages (like cvs snapshot) in
> > experimental, not in unstable. But there is a problem, and I don't find
> > any solution to solve it. For example, let's take mozilla and
> > mozilla-snapshot packages : - the first one has a version number (1.4)
> > higher than the second one (0.0....)
> > - the second one is obviously more recent than the first one.
> > The announcement tells we should get out "-snapshot" from the name of the
> > package, before puting it in experimental.
> > So there is no difference in the package name anymore.
> > So now, since cvs package version is 0.0.date, apt always ask for
> > upgrading to an older version (the stable one : 1.4 for mozilla).
> > I'm right, or do I make a mistake ? If I'm right, What is the solution ?
> If the snaphots are betas for version 1.5, the solution is to give it
> a version number like 2:1.4.20030921-1, so that whenever 1.5 is
> officially released you can upload it to unstable as 2:1.5-1.
> [ If the snapshots are betas for 1.4.1, use 2:188.8.131.5230921-1 instead,
> etc. ]
Le Dimanche 21 Septembre 2003 22:52, vous avez écrit :
> On Sun, Sep 21, 2003 at 10:01:40PM +0200, jjluza <email@example.com> was heard
> > Le Dimanche 21 Septembre 2003 20:14, Simon Law a écrit :
> > > On Sun, Sep 21, 2003 at 08:09:57PM +0200, jjluza wrote:
> > > > The announcement tells we should get out "-snapshot" from the name of
> > > > the package, before puting it in experimental. So there is no
> > > > difference in the package name anymore. So now, since cvs package
> > > > version is 0.0.date, apt always ask for upgrading to an older version
> > > > (the stable one : 1.4 for mozilla).
> > > >
> > > > I'm right, or do I make a mistake ? If I'm right, What is the
> > > > solution ?
> > >
> > > Apt supports pinning. See man apt_preferences for more details.
> > >
> > > Simon
> > Yes, I know this solution, but in fact, I asked for a solution in debian
> > policy, without needing to edit a file, what -snapshot allowed.
> > But maybe there is no other solution ?
> Well, you could always make the snapshot's version larger than the
> non-snapshot version. I think some packages use stuff like
> 1.4+cvs0.0.date. Then you get the reverse problem going from experimental
> to unstable, of course..
Yes ! I think you give me the better solution
I thought about a solution like 1.5+pre... but I were not convinced by the
relevance of this solution.
So yours one are good : now I should decide if I put a '+' or a '.' ... wooh,
difficult to choose. I think I'll use '+'
To Daniel : I don't think there is a problem to go from experimental to
unstable since we need to use -t experimental with apt-get, when we want to
install a package in it. So the problem is cleanly solved, I think.