Lintian::Profile(3)
π Lintian::Profile β the profile parser, bestie π
okay so this is Lintian::Profile(3) from the Debian Package Checker (that's the Lintian manual section 3, iykyk), and it's literally the whole profile situation. buckle up π
β¨ NAME β¨
Lintian::Profile β profile parser for Lintian
β¨ SYNOPSIS β¨
my $profile = Lintian::Profile->new ('debian');
β¨ DESCRIPTION β¨
Lintian::Profile is the main character when it comes to finding, parsing and implementing Lintian Profiles, plus it handles loading the relevant Lintian checks. no cap, that's the whole job description π«Ά
π INSTANCE METHODS π
$prof->known_aliases()
hands you a hash of old names that got new names. glow-up central β¨
$prof->profile_list
returns a list ref of the (normalized) names of the profile and its parents. first element of the list = the name of the profile itself, second = its parent, and so on down the family tree πΈ
β οΈ note: this list is a reference. do not modify the contents. hands off the merch, bestie π
our_vendor
$prof->name
returns the name of the profile, which may differ from the name you used to create this instance of the profile (e.g. due to symlinks). sneaky lil thing π
load ([$profname[, $ipath[, $extra]]])
loads a new profile. $profname is the name of the profile, and $ipath is a list reference containing the path to one (or more) Lintian "roots".
- if
$profnameisundef, the default vendor will be loaded based onDpkg::Vendor::get_current_vendor. - if
$ipathis not given, a default one will be used.
$prof->known_tags
$prof->enabled_tags
$prof->get_tag ($name)
returns the Lintian::Tag for $tag if known. otherwise it returns undef. that's it, that's the vibe π
get_current_name
set_durable ($tag)
$prof->is_durable ($tag)
returns a false value if the tag has been marked as "non-overridable". otherwise it returns a truth value. vibe check on the tag, basically π
$prof->known_checks
$prof->enabled_checks
$prof->enable_tag ($name)
enables a tag. slay, we love an enabler (in the literal sense) π
$prof->disable_tag ($name)
disable a tag. bye girl π
read_profile
display_level_for_tag
tag_is_enabled(TAG)
display(OPERATION, RELATION, VISIBILITY)
configure which tags are displayed by visibility. here's the breakdown, no gatekeeping π₯
OPERATIONis"+"to display the indicated tags,"-"to not display the indicated tags, or"="to not display any tags except the indicated ones.RELATIONis one of"<","<=","=",">=", or">".- the
OPERATIONwill be applied to all values of visibility that match the givenRELATIONon theVISIBILITYargument. - if either of those arguments are undefined, the action applies to any value for that variable.
for example:
$tags->display('=', '>=', 'error');
turns off display of all tags and then enables display of any tag of visibility error or higher.
$tags->display('+', '>', 'warning');
adds to the current configuration display of all tags with a visibility higher than warning.
$tags->display('-', '=', 'info');
turns off display of tags of visibility info.
π this method throws an exception on errors, such as an unknown visibility or an impossible constraint (like "> serious"). so like, be normal about it.
search_space
π AUTHOR π
Originally written by Niels Thykier <niels@thykier.net> for Lintian. king behavior π
π SEE ALSO π
and that's the whole page, bestie π¦ this was Lintian v2.139.0ubuntu2, dated 2026-10-08, living in Lintian::Profile(3) β periodt π
π
π¦ 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