Bug#527363: lintian: please display a warning or informational tag if doc packages are recommended

2009-09-14 Thread Raphael Geissert
tag 527363 patch
thanks

Attached patch implements it. There's an additional commit that makes the code 
a bit easier to read.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


lintian-lib-recommends-doc.mbox
Description: application/mbox


Bug#527363: lintian: please display a warning or informational tag if doc packages are recommended

2009-06-17 Thread Russ Allbery
retitle 527363 [checks/fields] shared library packages should not recommend 
documentation
thanks

Y Giridhar Appaji Nag app...@debian.org writes:

 With Install-Recommends being the default, I've noticed that a lot of
 documentation packages are pulled in.  These are sometimes large and
 not strictly [should] be found together with this one [package] in
 all but unusual installations.

[...]

 It would be good if there were a lintian warning or informational tag
 like doc-package-in-recommends with a suggestion that the dependency
 be downgraded to suggests.

Based on subsequent debian-devel discussion, there seems to be a lot of
disagreement with lowering documentation packages in general to Suggests
and a lot of people who feel that documentation should come with at
least some packages in all but unusual installations.

I think the one thing that everyone agrees on is that library packages
shouldn't recommend documentation packages, so I'll leave that part of
this bug open, but noting the rest here for future reference.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#527363: lintian: please display a warning or informational tag if doc packages are recommended

2009-05-07 Thread Y Giridhar Appaji Nag
Package: lintian
Version: 2.2.10
Severity: wishlist

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi lintian team,

With Install-Recommends being the default, I've noticed that a lot of
documentation packages are pulled in.  These are sometimes large and not
strictly [should] be found together with this one [package] in all but
unusual installations.

- From policy 7.2 Binary Dependencies - Depends, Recommends, Suggests, Enhances,
Pre-Depends

Recommends

This declares a strong, but not absolute, dependency.

The Recommends field should list packages that would be found together
with this one in all but unusual installations.

Suggests

This is used to declare that one package may be more useful with one or
more others. Using this field tells the packaging system and the user that
the listed packages are related to this one and can perhaps enhance its
usefulness, but that installing this one without them is perfectly
reasonable.

It would be good if there were a lintian warning or informational tag like
doc-package-in-recommends with a suggestion that the dependency be downgraded
to suggests.

Thank you for your work on lintian.

Giridhar

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils   2.19.1-1  The GNU assembler, linker and bina
ii  diffstat   1.46-1produces graph of changes introduc
ii  dpkg-dev   1.14.26   Debian package development tools
ii  file   5.00-1Determines file type using magic
ii  gettext0.17-6GNU Internationalization utilities
ii  intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl 5.47-1Perl extension for SHA-1/224/256/3
ii  libipc-run-perl0.82-1Perl module for running processes
ii  libparse-debianchangel 1.1.1-2   parse Debian changelogs and output
ii  libtimedate-perl   1.1600-9  Time and date functions for Perl
ii  liburi-perl1.37+dfsg-1   Manipulates and accesses URI strin
ii  man-db 2.5.5-1   on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-19 Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarchnone (no description available)
ii  libtext-template-perl 1.45-1 Text::Template perl module
ii  man-db2.5.5-1on-line manual pager

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJKAqTCAAoJENbfLHnbvsrcu68IAIb9vZJjthEx/0PjJP45EIiU
lEe0X97jhiC27x0oBV+57SCZ9bObrhkymeQq9HLt2K1LNJufe9PXWHXv2qllJKam
6oR0j5MQBm0m0DY6JXDiECd5SYybfjX6k9qjg9ahMbUD1bFQCthlXLmUcOZP6wdy
C40BE/DzrVt0/B3/mgAxsAtsTIiFyQR59D2ys5RwqtUgRuQRIWsQXvmuiSCc4LFM
5sg21QnH00lqFD3w2pWlEzgFT/5y6Pzy8KXfbOlVqTh7mef2cDNA2ysnRLZKb9ti
eFtxfcwGhizehzl9jnefczpsefOIzRwozvzDRbibCT4TJwzzsvE1CHaEb77FFLc=
=F6JM
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#527363: lintian: please display a warning or informational tag if doc packages are recommended

2009-05-07 Thread Y Giridhar Appaji Nag
On 09/05/07 14:37 +0530, Y Giridhar Appaji Nag said ...
 With Install-Recommends being the default, I've noticed that a lot of
 documentation packages are pulled in.  These are sometimes large and not
 strictly [should] be found together with this one [package] in all but
 unusual installations.

[snip...]

 It would be good if there were a lintian warning or informational tag like
 doc-package-in-recommends with a suggestion that the dependency be
 downgraded to suggests.

ofcourse, only if the package recommending the documentation package itself it
not a documentation package.

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/


signature.asc
Description: Digital signature