daklib.lintian¶
Utility functions for lintian checks in dak
@contact: Debian FTPMaster <ftpmaster@debian.org> @copyright: 2009, 2010 Joerg Jaspert <joerg@debian.org> @copyright: 2009 Chris Lamb <lamby@debian.org> @license: GNU General Public License version 2 or later
Functions
|
Generates package reject messages by comparing parsed lintian output with tag definitions. |
|
Parses Lintian output and returns a generator with the data. |
- daklib.lintian.generate_reject_messages(parsed_tags, tag_definitions, log=<function <lambda>>) Iterable[str] [source]¶
Generates package reject messages by comparing parsed lintian output with tag definitions. Returns a generator containing the reject messages.
- Parameters:
parsed_tags – Parsed lintian tags as returned by
parse_lintian_output()
tag_definitions – YAML.load lintian tag definitions to reject on
- Returns:
Reject message(s), if any