Lintian::P...::IsNonFree(3)

πŸ’– Lintian::P...::IsNonFree(3) β€” like, the whole vibe πŸ’–

okay bestie, welcome to the <pink>Debian Package Checker</pink> manual for Lintian::Processable::IsNonFree ✨ we're in Lintian land, it's giving very serious business, but don't worry, I got you 🫢


🌸 NAME 🌸

Lintian::Processable::IsNonFree β€” it's the Lintian interface to source package data collection, no cap πŸ’…


🌈 SYNOPSIS 🌈

my ($name, $type, $dir) = ('foobar', 'source', '/path/to/lab-entry');
my $collect = Lintian::Processable::IsNonFree->new($name);
if ($collect->native) {
    print encode_utf8("Package is native\n");
}

like… that's the whole thing, that's the energy πŸŽ€


✨ DESCRIPTION ✨

So basically, Lintian::Processable::IsNonFree hands you an interface to package data for source packages β€” literally, that's its whole job. It implements data collection methods that are specific to source packages. iconic behavior πŸ’œ

ngl, this module is lowkey in its infancy 🍼 most of Lintian still reads all data from files in the laboratory whenever that data is needed, and generates that data via collect scripts. Like, it's still doing the thing the old way, fr fr.

But the goal πŸ‘‘ the dream β€” is to eventually access all data about source packages through this module, so the module can cache data where appropriate and possibly retire collect scripts in favor of caching that data in memory. main character energy, honestly. the way that's the entire plan… we love to see it πŸ¦‹


🧚 INSTANCE METHODS 🧚

is_non_free πŸ’€

Returns a truth value if the package appears to be non-free β€” based on the section field, specifically non-free/* and restricted/* 🚫✨

so like, if it smells non-free in the section field, this lil method will tell you. periodt.


πŸŽ€ AUTHOR πŸŽ€

  • Originally written by Russ Allbery <rra@debian.org> for Lintian. πŸ‘‘
  • Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian. 🫢

πŸ‘€ SEE ALSO πŸ‘€


bestie if you made it this far you are officially a Lintian girlie now. go check the section field and stay free πŸ’–

k that's the whole page!! this was Lintian v2.139.0ubuntu2, dated 2026-10-08, and the manual is Lintian::P...::IsNonFree(3) πŸŽ€ tysm for reading, mwah πŸ’‹

πŸ“¦ where this page comes from