Bug#547345: lintian: False positive in HTML documentation detection

2009-09-18 Thread Mikhail Gusarov
Package: lintian
Version: 2.2.14
Severity: wishlist

python-pytils ships example Django code in /usr/share/doc/python-pytils,
including Django templates which iconveniently have extension .html
(/usr/share/doc/python-pytils/examples/examples-django/pytilsex/templates/*.html)

templates/**/*.html is a canonical templates location in Django projects, so
I suggest excluding such files from documentation search for
possible-documentation-but-no-doc-base-registration test.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (750, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils  2.19.51.20090723-1 The GNU assembler, linker and bina
ii  diffstat  1.47-1 produces graph of changes introduc
ii  dpkg-dev  1.15.3.1   Debian package development tools
ii  file  5.03-1 Determines file type using magic
ii  gettext   0.17-8 GNU Internationalization utilities
ii  intltool-debian   0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl   0.1.24 Perl interface to libapt-pkg
ii  libipc-run-perl   0.84-1 Perl module for running processes
ii  libparse-debianchange 1.1.1-2parse Debian changelogs and output
ii  libtimedate-perl  1.1600-9   Time and date functions for Perl
ii  liburi-perl   1.37+dfsg-1Manipulates and accesses URI strin
ii  man-db2.5.6-1on-line manual pager
ii  perl [libdigest-sha-p 5.10.0-25  Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch2.19.51.20090723-1 Binary utilities that support mult
pn  libtext-template-perl none (no description available)
ii  man-db2.5.6-1on-line manual pager

-- no debconf information



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



Bug#547345: lintian: False positive in HTML documentation detection

2009-09-18 Thread Russ Allbery
Mikhail Gusarov dotted...@dottedmag.net writes:

 python-pytils ships example Django code in /usr/share/doc/python-pytils,
 including Django templates which iconveniently have extension .html
 (/usr/share/doc/python-pytils/examples/examples-django/pytilsex/templates/*.html)

 templates/**/*.html is a canonical templates location in Django projects, so
 I suggest excluding such files from documentation search for
 possible-documentation-but-no-doc-base-registration test.

I'm going to, in general, exclude anything in the examples directory from
that check, since examples are probably not going to be documentation in
the sense that doc-base cares about.

Do you know of a case where that won't take care of it?

-- 
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#547345: lintian: False positive in HTML documentation detection

2009-09-18 Thread Mikhail Gusarov

Twas brillig at 13:54:34 18.09.2009 UTC-07 when r...@debian.org did gyre and 
gimble:

 RA I'm going to, in general, exclude anything in the examples
 RA directory from that check,

Ah, right. Makes sense.

 RA Do you know of a case where that won't take care of it?

I did not see any packages with templates in /usr/share/doc/, but
outside of examples directory.

-- 
  http://fossarchy.blogspot.com/


pgpDNESnstVh7.pgp
Description: PGP signature