Debian Bug report logs - #615073
lintian: Provide (dd-)list of packages affected by a specific tag

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <lintian-maint@debian.org>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Stefano Zacchiroli <zack@debian.org>

Date: Fri, 25 Feb 2011 14:30:01 UTC

Severity: wishlist

Merged with 566948

Found in versions lintian/2.3.1, lintian/2.4.3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#615073; Package lintian. (Fri, 25 Feb 2011 14:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Fri, 25 Feb 2011 14:30:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stefano Zacchiroli <zack@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian.debian.org: provide (dd-)list of packages affected by a specific tag
Date: Fri, 25 Feb 2011 15:27:53 +0100
Package: lintian
Version: 2.4.3
Severity: wishlist

It would be nice if lintian.d.o could provide, for each tag-specific page
(e.g. http://lintian.debian.org/tags/description-contains-homepage.html), a
plain text list of all packages affected by the tag. An extra bonus would be
providing both a plain text list and an associated dd-list.

The intended use cases are ease other automatic processing of the information
provided by lintian, such as input for bapase, and MBF.

Thanks for considering (and for lintian!),
Cheers.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils               2.21.0.20110216-2 The GNU assembler, linker and bina
ii  diffstat               1.54-1            produces graph of changes introduc
ii  dpkg-dev               1.15.8.10         Debian package development tools
ii  file                   5.04-6            Determines file type using "magic"
ii  gettext                0.18.1.1-3        GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl        0.1.24+b1         Perl interface to libapt-pkg
ii  libclass-accessor-perl 0.34-1            Perl module that automatically gen
ii  libipc-run-perl        0.89-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2.1         parse Debian changelogs and output
ii  libtimedate-perl       1.2000-1          collection of modules to manipulat
ii  liburi-perl            1.58-1            module to manipulate and access UR
ii  locales                2.11.2-11         Embedded GNU C Library: National L
ii  man-db                 2.5.9-4           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.1-17         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii  libtext-template-perl         1.45-2     Text::Template perl module
ii  man-db                        2.5.9-4    on-line manual pager

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#615073; Package lintian. (Sat, 26 Feb 2011 10:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sat, 26 Feb 2011 10:27:09 GMT) (full text, mbox, link).


Message #10 received at 615073@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: Stefano Zacchiroli <zack@debian.org>, 615073@bugs.debian.org
Subject: Re: Bug#615073: lintian.debian.org: provide (dd-)list of packages affected by a specific tag
Date: Sat, 26 Feb 2011 11:21:14 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2011-02-25 15:27, Stefano Zacchiroli wrote:
> Package: lintian
> Version: 2.4.3
> Severity: wishlist
> 
> It would be nice if lintian.d.o could provide, for each tag-specific page
> (e.g. http://lintian.debian.org/tags/description-contains-homepage.html), a
> plain text list of all packages affected by the tag. An extra bonus would be
> providing both a plain text list and an associated dd-list.
> 
> The intended use cases are ease other automatic processing of the information
> provided by lintian, such as input for bapase, and MBF.
> 
> Thanks for considering (and for lintian!),
> Cheers.
> 
> [...]

Hey,

For now you can pull the raw log[1] and do:

  grep $tag lintian.log | cut -f 2 -d: | sort -u

To get the name of all packages that are affected by a tag - depending
on the tag it may list binary packages (e.g.
description-contains-homepage is one of these).

~Niels

[1] (large file) http://lintian.debian.org/lintian.log
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNaNQYAAoJEAVLu599gGRCr0QP/14Mlps/5KQAbirKiohKW0/P
oYRf+6EakXPisjXLEceQpSTIX1LX7Giu2JAQ3ZrIVV2k7NAgQ55uHrlhauGgqpiQ
m3QfMczG9CkMcuvbIzXAjepF0wbQ/opXmllgWQDmcamJLN1S0deAegRC8Aq9khHo
FDGjekhve4zDYctzdBainBAaxGilbkZp7PLMHwxcCEuDuOEvT9Dq5cw3GmmNwI0b
eWwEPFu8rkgU93cq+pVeO0laaOPDKGgMCNFP8oZLyO3s13zj6biIFvplGNoV9CrK
O8dr446b8DyxHQImFmk8KoKY74Y0Vbv2vKSxDzolymA/sj2Q3kyr3xzqDeqPRQL+
3o+lucdhmC1F6Bx3WncYN34uVvOgI59gnxF6Ou6sTJOoNr2Gwb9gzSL/peOw0PgM
MMykfosPMzvKN3gvsNWTiKN/c2SQAbGMilByvfp58xn6ofDTdpgI2m18TNC9zLsW
iL5yYDwEg63TnfR56GvRxHXdMuqGk/eKfeV0QomRA9KuTzPcDnJCe3yjUdL/QRn7
xP8suJZHPoSpmrJHdRiK4gkn++PtsBwJ8l9b7O9G7sUfxWRAs5SkC/YCKKdQB0OB
MbzhrZndwer1wddOcrx+Q1JCQ4P3+2ywzj5/XVmpvXMWm0ETLaozPY3pikCbKDBt
EyOc2hiwTY9ln0xs+w8W
=2pOH
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#615073; Package lintian. (Sun, 27 Feb 2011 15:15:10 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sun, 27 Feb 2011 15:15:10 GMT) (full text, mbox, link).


Message #15 received at 615073@bugs.debian.org (full text, mbox, reply):

From: Stefano Zacchiroli <zack@debian.org>
To: 615073@bugs.debian.org
Subject: Re: Bug#615073: lintian.debian.org: provide (dd-)list of packages affected by a specific tag
Date: Sun, 27 Feb 2011 16:12:41 +0100
[Message part 1 (text/plain, inline)]
On Sat, Feb 26, 2011 at 11:21:14AM +0100, Niels Thykier wrote:
> For now you can pull the raw log[1] and do:
> 
>   grep $tag lintian.log | cut -f 2 -d: | sort -u
> 
> To get the name of all packages that are affected by a tag - depending
> on the tag it may list binary packages (e.g.
> description-contains-homepage is one of these).

Thanks.

As I didn't want to download the whole lintian.log, I applied the
following screen-scraping recipe of mine:

  $ wget http://lintian.debian.org/tags/description-contains-homepage.html
  $ grep 'h2 class="tag"' description-contains-homepage.html | sed 's|.*>\([^<]\+\)</a.*|\1|'

it's clearly fragile, as all screen-scraping, but it avoids the need of
downloading the whole lintian.log, which might be handy if people wants
to process data related to a single tag.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Capossela .......| ..: |.......... -- C. Adams
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#615073; Package lintian. (Sun, 27 Feb 2011 21:33:07 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sun, 27 Feb 2011 21:33:07 GMT) (full text, mbox, link).


Message #20 received at 615073@bugs.debian.org (full text, mbox, reply):

From: Stefano Zacchiroli <zack@debian.org>
To: 615073@bugs.debian.org
Subject: Re: lintian.debian.org: provide (dd-)list of packages affected by a specific tag
Date: Sun, 27 Feb 2011 22:29:29 +0100
[Message part 1 (text/plain, inline)]
On Fri, Feb 25, 2011 at 03:27:53PM +0100, Stefano Zacchiroli wrote:
> It would be nice if lintian.d.o could provide, for each tag-specific page
> (e.g. http://lintian.debian.org/tags/description-contains-homepage.html), a
> plain text list of all packages affected by the tag. An extra bonus would be
> providing both a plain text list and an associated dd-list.
> 
> The intended use cases are ease other automatic processing of the information
> provided by lintian, such as input for bapase, and MBF.

I've briefly discussed on IRC this issue with Raphael Geissert.  He is
not particularly keen of adding new functionalities to lintian.d.o web
interface, on the very reasonable basis that most of it can be provided
by some CGIs that query UDD (or some replica of it).

I don't care much where the report come from, as long as the feature
request of "parsing-friendly per-tag information" can be implemented.

The idea of simplifying lintian.d.o reporting is appealing, although
there might be performance concerns in switching from static HTML
reports to dynamic ones.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Capossela .......| ..: |.......... -- C. Adams
[signature.asc (application/pgp-signature, inline)]

Forcibly Merged 566948 615073. Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Fri, 04 Nov 2011 22:09:06 GMT) (full text, mbox, link).


Changed Bug title to '[reporting] Provide (dd-)list of packages affected by a specific tag' from 'lintian.debian.org: provide (dd-)list of packages affected by a specific tag' Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Sun, 20 Nov 2011 12:39:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#615073; Package lintian. (Fri, 03 Feb 2012 10:03:17 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Fri, 03 Feb 2012 10:03:22 GMT) (full text, mbox, link).


Message #29 received at 615073@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: 615073@bugs.debian.org
Subject: Re: lintian.debian.org: provide (dd-)list of packages affected by a specific tag
Date: Fri, 03 Feb 2012 11:00:32 +0100
Hi,

I have been thinking a bit on this and it shouldn't be very difficult to
generate a dd-list list for each tag.  We can use dd-list's --dctrl
option, which allows us to control the maintainer and uploader for each
package (without needing --sources)[1].

This pretty much reduces the problem to creating a "tag -> (maintainer,
uploaders)" mapping and getting dd-list/devscripts on lintian.d.o.

~Niels

[1]
$ echo '
Package: lintian
Maintainer: Jabba The Hutt <jab@hutt.sw>
Uploaders: Han solo <han@solo.sw>
' | dd-list --dctrl
Han solo <han@solo.sw>
   lintian (U)

Jabba The Hutt <jab@hutt.sw>
   lintian




Changed Bug title to 'lintian: Provide (dd-)list of packages affected by a specific tag' from '[reporting] Provide (dd-)list of packages affected by a specific tag'. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Mon, 29 Jan 2018 13:48:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 30 07:21:24 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.