Subject: warn if packages do not adhere to Debian's Perl naming policy
Date: Wed, 31 Mar 2010 01:21:11 +0900
Package: lintian
Version: 2.3.4
Severity: wishlist
Jonas Smedegaard <[email protected]> writes:
> On Sun, Feb 28, 2010 at 05:40:53PM +0900, Ansgar Burchardt wrote:
>>
>>Steve Langasek <[email protected]> writes:
>>
>>>> Ubuntu includes several Perl module packages that do not adhere
>>>> Debian's naming policy[1]. Once Debian includes these modules in
>>>> a differently named package, there are problems if one tries to
>>>> install both packages at the same time. See [2] or [3] for
>>>> examples.
>>>
>>> Do you have a proposal for how to identify these packages? Ubuntu
>>> packages are also expected to comply with this part of Debian
>>> policy, so this doesn't change anything unless we can automatically
>>> identify the ones that don't.
>>
>> I did search for package containing files in
>> /usr/(lib|share)/perl5. Most problematic packages were already
>> renamed, I only filed a bug report for gtk2-ex-formfactory-perl [1]
>> (already fixed). I also identified a package that was renamed in
>> Debian, but where the old package has not been removed from Ubuntu
>> yet [2].
>
> Perhaps file a bug against lintian to watch this kind of pattern?
That is a good idea.
Could lintian warn if packages include files in /usr/(lib|share)/perl5
and the package name does not adhere to the Debian Perl Policy [1]?
To further avoid false positives it should be enough to warn only for
packages named "*-perl" (but not "lib*-perl") or "perl-*".
See the initial mail [2] on [email protected] and the discussion for a
suggested mass-bug filing [3] on [email protected] for details why this
might be a problem.
Regards,
Ansgar
[1] <http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-package_names>
[2] <http://lists.debian.org/debian-perl/2010/02/msg00055.html>
[3] <http://lists.debian.org/debian-devel/2010/03/msg00701.html>
Subject: Re: Bug#575940: warn if packages do not adhere to Debian's Perl
naming policy
Date: Tue, 30 Mar 2010 10:51:54 -0700
On Wed, 31 Mar 2010, Ansgar Burchardt wrote:
> Jonas Smedegaard <[email protected]> writes:
> > Perhaps file a bug against lintian to watch this kind of pattern?
>
> Could lintian warn if packages include files in /usr/(lib|share)/perl5
> and the package name does not adhere to the Debian Perl Policy [1]?
> To further avoid false positives it should be enough to warn only for
> packages named "*-perl" (but not "lib*-perl") or "perl-*".
This isn't exactly right; a package which has perl language bindings
will ship things in /usr/*/perl5 but it doesn't need to conform to the
perl naming policy.
In general, if something is distributed in /usr/bin (certainly if it's
not actually written in perl), it doesn't need to conform to the perl
naming policy. There are probably other exceptions as well, and it
would probably be ok to ignore packages which (while named
differently) Provides: the appropriate lib*-perl name.
Don Armstrong
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
http://www.donarmstrong.comhttp://rzlab.ucr.edu
Changed Bug title to '[new check] Warn about perl packages which do not follow the Perl naming policy' from 'warn if packages do not adhere to Debian's Perl naming policy'
Request was from Adam D. Barratt <[email protected]>
to [email protected].
(Sat, 03 Apr 2010 16:21:11 GMT) (full text, mbox, link).
Changed Bug title to 'lintian: Warn about perl packages which do not follow the Perl naming policy' from '[new check] Warn about perl packages which do not follow the Perl naming policy'.
Request was from Chris Lamb <[email protected]>
to [email protected].
(Mon, 29 Jan 2018 13:48:30 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.