Lintian::Reporting::Util(3)

πŸ’– Lintian::Reporting::Util(3) πŸ’–

okay bestie, welcome to Lintian::Reporting::Util(3), the littlest member of the Lintian fam who does NOT get her own module because she simply did not warrant one. iconic behaviour honestly.


✨ NAME ✨

Lintian::Reporting::Util β€” Lintian utility functions πŸ› οΈ


🌸 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);

like, that's it. that's the whole vibe check. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this module is basically a lil grab-bag πŸŽ€ of utility subs that are nice to have for the reporting framework, but that on their own did not warrant their own module. they're the group-chat members who show up, do their one job flawlessly, and dip.

and heads up: most subs are imported only on request. so don't expect them to just appear, you gotta ask for them by name, fr fr.


πŸ‘‘ FUNCTIONS πŸ‘‘

  • load_state_cache(STATE_DIR) β€” [Reporting tools only] Load the state cache from STATE_DIR. she pulls up with the cache, no questions asked. 🫢
  • save_state_cache(STATE_DIR, STATE) β€” [Reporting tools only] Save the STATE cache to STATE_DIR. putting it back where it belongs, respectfully. ✨
  • 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 bestie: 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). yes the randomness is the whole point, do not "fix" it, it's giving intentional. πŸ’€

🌈 SEE ALSO 🌈


and that's a wrap, bestie!! πŸŽ€ this lil page came from Lintian v2.139.0ubuntu2, dated 2026-10-08, and it's the manual for Lintian::Reporting::Util(3). go forth and cache responsibly. πŸ¦‹πŸ’–

πŸ“¦ where this page comes from