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

Bug#779675: lintian: Add flag --list-tags that will list all tags Lintian knows about



As another use case for a --list-tags:

In discussing things in #debian-mentors or #debian-qa it's not uncommon that I 
want to look up information from the long description of a tag... but first I 
need to guess what the tag is. The long description often has really useful 
rationale and links to policy, bugs or other documentation.

My current crappy solution is

$ dpkg -L lintian | xargs grep -hs ^Tag:

My wishlist is:

$ lintian-info --list-tags | grep encoding
debian-changelog-file-uses-obsolete-national-encoding
debian-news-file-uses-obsolete-national-encoding
debian-control-file-uses-obsolete-national-encoding
debian-copyright-file-uses-obsolete-national-encoding

$ lintian-info -t debian-copyright-<tab><tab>
debian-copyright-file-uses-obsolete-national-encoding
debian-copyright-is-symlink


(perhaps lintian-info -t could take a glob or regex as an alternative to a 
simple tag name)

-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


Reply to: