Lintian::Group(3)
πΈ Lintian::Group β a group of objects that Lintian can process π
okay so this is Lintian::Group, straight out of the Debian Package Checker manual, section 3. it's giving β¨object-oriented perlβ¨ and honestly? kinda iconic. let's get into it π«Ά
β¨ SYNOPSIS β¨
use Lintian::Group;
my $group = Lintian::Group->new('lintian_2.5.0_i386.changes');
like, that's it. that's the whole vibe check. one use, one new, and you're in π
π¦ DESCRIPTION π¦
so. instances of this perl class are sets of processables. periodt.
here's the tea on what a group can hold:
- at most one source package per set
- at most one changes or buildinfo package per set
- but multiple binary packages β provided that the binary isn't already chillin' in the set
no cap. that's the rule and she enforces it π
π METHODS π
the basics
$group->pooldirβ returns or sets the pool directory this group is using. she's flexible like that π
the processable getters
$group->source_name,$group->source_version, **$group->binaryβ returns a hash reference to the binary processables in this group.$group->buildinfoβ returns the buildinfo processable in this group.$group->changesβ returns the changes processable in this group.$group->sourceβ returns the source processable in this group.$group->udebβ returns a hash reference to the udeb processables in this group.
the settings + bookkeeping girlies
jobsβ returns or sets the max number of jobs to be run in parallel πβοΈπβοΈπβοΈ
careful bestie: if the limit is 0, then there is no limit at all on the number of parallel jobs. she'll go absolutely feral, fr fr π
processing_start,processing_end,cacheβ cache for some items. (yes all three are listed together here, iykyk π)profileβ a hash with active jobs."saved_direct_dependencies""saved_direct_reliants"$group->nameβ returns a unique identifier for the group, built off the source and version. her government name, if you will πprocessβ process the group. that's the whole description, she's mysterious and we respect it π§
adding stuff
$group->add_processable($proc)β adds$procto$group. okay so here's where the boundaries come in:- at most one source and one changes
$proccan live in a$group - there can be multiple binary
$proc's, as long as they are all unique - successive buildinfo
$proc's are silently ignored π€«
- at most one source and one changes
β οΈ this will error out if you try to add an extra source or changes$procto the group. other than that, she'll return a truth value if$procwas actually added π
getting stuff back out
get_processablesβ returns an array of all processables in$group. the full roster πget_installablesβ returns all binary (and udeb) processables in$groupπ
if $group doesn't have any binary processables, you just get an empty list back. that's it, that's the whole thing.
dependency detective work π
direct_dependencies (PROC)β ifPROCis part of the underlying processable group, this method returns a listref containing all the direct dependencies ofPROC. ifPROCis not part of the group, this returnsundef.
Note: only strong dependencies (Pre-DependsandDepends) are considered. no weak stuff allowed.
Note: self-dependencies, if any, are not included in the result. no being your own bestie here π βοΈ
direct_reliants (PROC)β ifPROCis part of the underlying processable group, this method returns a listref containing all the packages in the group that rely onPROC. ifPROCis not part of the group, this returnsundef.
Note: only strong dependencies (Pre-DependsandDepends) are considered. same deal as above.
Note: self-dependencies, if any, are not included in the result. periodt.
spelling things π β¨
spelling_exceptionsβ returns a hashref of words that the spell checker should just... ignore. these words are generally based on the package names in the group, so we don't get false-positive "spelling error" drama when packages have "fun" names π
Example: Packagealot-doc(#687464) β yeah.alot. she said what she said.
π AUTHOR π
originally written by Niels Thykier <niels@thykier.net> for Lintian. king behavior, honestly π
π SEE ALSO π
lintian(1)Lintian::Processable
π bye bestie π
that's the whole page! this was Lintian v2.139.0ubuntu2, dated 2026-10-08. go forth and group your processables responsibly, you absolute main character π¦β¨π
π¦ where this page comes from
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms