Lintian::P...e::Relation(3)

πŸ’– NAME πŸ’–

Lintian::Processable::Installable::Relation β€” the Lintian interface to binary package data collection, bestie 🫢

This page lives in the Debian Package Checker Lintian manual, so you already know it's giving official ✨


✨ SYNOPSIS ✨

my ($name, $type, $dir) = ('foobar', 'binary', '/path/to/lab-entry');
my $collect = Lintian::Processable::Installable::Relation->new($name);

okay so literally that's the whole vibe. three little variables and a constructor. slay πŸ’…


🌸 DESCRIPTION 🌸

Lintian::Processable::Installable::Relation hands you an interface to package data for binary packages, no cap. It implements the data collection methods that are specific to binary packages, so you don't have to go rummaging around yourself πŸŽ€

Now real talk: this module is in its infancy πŸ‘Ά. Most of Lintian still reads all its data from files in the laboratory whenever that data is needed, and generates that data via collect scripts. The goal β€” the dream, the main character arc β€” is to eventually access all data about binary packages through this module, so the module can cache data where it makes sense and possibly retire those collect scripts in favor of caching that data in memory. we love a glow-up πŸ”₯

Heads up bestie: native heuristics are only available in source packages. So don't come looking for them here πŸ™ˆ

πŸ‘‘ INSTANCE METHODS πŸ‘‘

relation (FIELD)

Returns a Lintian::Relation object for the FIELD you pass in. That FIELD should be one of the possible relationship fields of a Debian package 🌈 β€” or one of these special little values:

  • All β€” the concatenation of Pre-Depends, Depends, Recommends, and Suggests. the whole squad 🫢
  • Strong β€” the concatenation of Pre-Depends and Depends. ride or die πŸ’œ
  • Weak β€” the concatenation of Recommends and Suggests. soft launch energy 🌸

If FIELD isn't present in the package, the returned Lintian::Relation object will be empty β€” which means it's always present and satisfies nothing. iconically unbothered πŸ’…

saved_relations


πŸ¦‹ AUTHOR πŸ¦‹

Originally written by Frank Lichtenheld <djpig@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

two legends fr fr πŸ’–


⭐ SEE ALSO ⭐


that's the whole page bestie, tysm for reading πŸ’œ this was Lintian v2.139.0ubuntu2 and it was documented on 2026-10-08 β€” go forth and check those packages, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from