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

Re: debian/compat and CDBS.



Am Montag, den 17.03.2008, 18:53 +0900 schrieb Charles Plessy:
> Le Mon, Mar 17, 2008 at 10:03:47AM +0100, Andreas Tille a écrit :
> > On Mon, 17 Mar 2008, Charles Plessy wrote:
> > 
> > >cdbs does not need debian/compat and will chose the highest level
> > >available. I tend to remove compat files those days, but of course it is
> > >adding a degree of freedom between builds.
> > 
> > I have no strong feelings about it - I just thought something was
> > missing and having the file does not really harm IMHO.
> 
> I thought that letting CDBS chose could facilitate backports.

I don't know, if that works well. There are sometimes significant
behaviour changes. In your case you just assume, that what you do also
works (as expected) in backports. But you don't know this, if you don't
explicitly set the compat level.

> But on the
> other hand, we can decide to use by default the highest level available
> in Stable, unless a specific function is needed.

The default recommendation is to use the highest level available for new
packages. For existing packages only change, if levels have been
deprecated (compat levels 1-3) or if you need a feature from a newer
level (e.g. level 5 for -dbg packages) [1]. I think, you shouldn't pick
up level 6 by default. There are IMO currently not much nor compelling
improvements. Level 5 as default should be ok for existing packages atm.
However, that's your choice.

[1] There was a thread recently on (IIRC) -mentors or -devel about this
topic.

Regards, Daniel


Reply to: