Lintian::Pool(3)

πŸ’– Lintian::Pool β€” bestie edition πŸ’–

okay so this is the Lintian::Pool(3) page, which like, lives in the Lintian manual set (the Debian Package Checker one, you know the vibe) πŸ’… and it's all about a Pool of processables. Yes bestie, a whole pool. We're pooling. We're processable. Slay.


🌊 NAME 🌊

Lintian::Pool β€” Pool of processables. That's it, that's the whole name, and honestly? Iconic.


✨ SYNOPSIS ✨

here's the vibe, copy it exactly bestie, no cap:

use Lintian::Pool;

my $pool = Lintian::Pool->new;
$pool->add_file('foo.changes');
$pool->add_file('bar.dsc');
$pool->add_file('baz.deb');
$pool->add_file('qux.buildinfo');
foreach my $gname ($pool->get_group_names){
   my $group = $pool->get_group($gname);
   process($gname, $group);
}

like, you make a pool, you toss your files in (.changes, .dsc, .deb, .buildinfo β€” the whole little family 🫢), and then you loop over the group names and go process them. main character energy fr fr.


πŸ› οΈ METHODS πŸ› οΈ

  • $pool->groups β€” hands you back a hash reference to the list of processable groups that are currently in the pool. the key is a unique identifier built from name and version. periodt.
  • "savedir"
  • $pool->basedir β€” gives you the base directory for the pool. most likely it's a temporary directory, so don't get too attached πŸ’€
  • $pool->add_group($group) β€” adds a group to the pool. that's the whole job, she's simple, she's efficient πŸ‘‘
  • $pool->process β€” process the pool. yes queen, do the thing.
  • quantity
  • $pool->get_group_names β€” returns the name of all the groups in this pool.
⚠️ do NOT modify the list nor its contents, bestie. not even a little. hands off πŸ™ˆ
  • $pool->get_group($name) β€” returns the group called $name, or "undef" if there's no group called $name. it's giving "sorry babe, not in this pool" 😭
  • $pool->empty β€” returns true if the pool is empty. vibe check: is the pool empty? this tells you 🌸

πŸ’œ AUTHOR πŸ’œ

Originally written by Niels Thykier <niels@thykier.net> for Lintian. shoutout to the legend, we stan πŸŽ€


🌈 SEE ALSO 🌈


and that's the page bestie!! πŸ¦‹ it's from Lintian v2.139.0ubuntu2, dated 2026-10-08 β€” so like, go off, read your manpage, and remember: keep the pool tidy and don't touch the group names list. mwah πŸ’…πŸ’–β­

πŸ“¦ where this page comes from