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

Re: mass-commit: dependencies



On Friday 06 July 2012 01:17:47 Jonas Smedegaard wrote:
> Thanks to clarifications on IRC I now understand that the command being
> run depends on libconfig-model-perl 2.023-2 in unstable with a

in experimental.

> commandline like this:
> 
>   cme fix dpkg -from control -filter Depends
> 
> Trying that command on the CDBS-based libanyevent-xmpp-perl cause the
> following changes to debian/control:
> 
> c) is almost harmless and needless: Yes, Joey instructs to do so but
> really a dependency on debhelper 7 is implicitly satisfies as no older
> version is provided in any currently supported release of Debian. APT
> dependency resolving is already plenty burdened - we really should work
> actively to _reduce_ needless versioned dependencies.

IIRC, lintian complains if the dependency on debhelper is not versioned. [1]
I'll happily remove this feature if I'm wrong.

> d) is harmful: a recent cdbs _is_ needed.  In this particular case the
> CDBS snippet perl-makemaker.mk is included which was unavailable prior
> to cdbs 0.4.73.
> 
> It could be argued that d) is not harmful because only unstable (and
> testing) is targeted - backporting is unsupported officially.  In that
> case this particular versioned dependency is indeed unneded - but then
> so are versioned build-dependencies on debhelper even in compatibility
> level 8 and 9!

I would not recommend to remove debhelper > 9 as this would harm backport 
on squeeze.

Note that, by default cme will not remove versioned dependencies required 
for oldstable, provided the information is provided by madison.

> Don't get me wrong: I am _very_ excited about the potentials for
> Config::Model, promoted it to geeks in India, Vietnam, Singapore and
> Indonesia during my travel in the fall, and am embarrased not having
> taken time yet to dive into it yet myself.  I just feel here concretely
> that it is too noisy and invasive with no (in my tiny test) actual
> benefit :-/

Thanks :-)

> Do you mean I should adapt Config::Model or some other script?  If the
> latter, then where is it?

Note that I plan to spin off all Debian-dpkg model and code and to make it 
a Debian native package hosted on alioth. 

All the best

[1] https://github.com/dod38fr/config-model/blob/master/lib/Config/Model/Debian/Dependency.pm#L321

-- 
https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/
    http://ddumont.wordpress.com/        -o-   irc: dod at irc.debian.org


Reply to: