Hi, On Mon, 15 Oct 2007, Russ Allbery wrote: > Raphael Hertzog <[EMAIL PROTECTED]> writes: > > > Package: lintian > > Version: 1.23.34 > > Severity: normal > > > I worked on creating a Dpkg::Deps module for dpkg and used lib/Dep.pm as > > inspiration for some parts. I think I discovered some errors in that > > code while writing Dpkg::Deps. > > Hm, ideally it would be cool if lintian could use that down the road. I > know I hurt my head when trying to expand that code to support OR and full > version implication, and the fewer times that people have to write it, the > better.
This will be possible. All Dpkg::* modules are currently installed in /usr/share/perl5/ so they are globally available. However since we're early in that process of "modularization" we don't want to make any promise of API stability. And they sometimes lack good POD documentation. It's up to you if you can live with a strong dpkg dependency in case of incompatible changes. BTW, I did my best to support all kinds of dependencies. But I'm sure a review could be useful... :-) Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/