logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Lintian::Reporting::Util - Lintian utility functions

Description

This module contains a number of utility subs that are nice to have for the reporting framework, but on their own did not warrant their own module. Most subs are imported only on request.

Functions

load_state_cache(STATE_DIR) [Reporting tools only] Load the state cache from STATE_DIR. save_state_cache(STATE_DIR, STATE) [Reporting tools only] Save the STATE cache to STATE_DIR. find_backlog(LINTIAN_VERSION, STATE) [Reporting tools only] Given the current lintian version and the harness state, return a list of group ids that are part of the backlog. The list is sorted based on what version of Lintian processed the package. Note the result is by design not deterministic to reduce the risk of all large packages being in the same run (e.g. like gcc-5 + gcc-5-cross + gcc-6 + gcc-6-cross).

Name

Lintian::Reporting::Util - Lintian utility functions

See Also

lintian(1) Lintian v2.122.0ubuntu1 2025-05-01 Lintian::Reporting::Util(3)

Synopsis

use Lintian::Reporting::Util qw(load_state_cache find_backlog); my $cache = load_state_cache('path/to/state-dir'); my @backlog = find_backlog('2.12', $cache);

See Also