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

Re: lintian: r132 - trunk/lib



On Thu, Apr 08, 2004 at 04:24:08PM +0200, Jeroen van Wolffelaar wrote:
> On Thu, Apr 08, 2004 at 04:03:15PM +0200, djpig@debian.org wrote:
> > Author: djpig
> > Date: 2004-04-08 16:03:14 +0200 (Thu, 08 Apr 2004)
> > New Revision: 132
> > 
> > Added:
> >    trunk/lib/DebVersions.pm
> > Log:
> > Import a Perl module of mine used for comparison of dpkg version
> > numbers written purely in Perl. It is more "low-level" and sometimes simpler
> > to use (and to debug) then Dep.pm.
> 
> To be honest, I'm a bit wary of another implementation of version
> compare... there is iirc already a perl module doing so (devscripts uses
> it), and it just adds another place where possible bugs etc in version
> compare can be. dpkg's implementation changed and was also fixed later,
> it's not yet in policy, it could be a hell to change all version compare
> implementations there are withing debian...

You're right. When I wrote this module a year ago I searched for
existing replacements but to be honest, not finding
/usr/share/devscripts/Devscripts/Versort.pm is nothing I'm ashamed
off... But you're right the modules look very similar.
Perhaps we should try to coordinate the creation of a stand-alone
Perl module that can then be shared between packages.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: