LINTIAN::PROCESSABLE::SOURCE::FORMAT(3)

πŸ’– Lintian::Processable::Source::Format β€” the vibe check on source formats πŸ’–

okay bestie, welcome to Lintian::Processable::Source::Format(3), a page straight out of the Debian Package Checker (Lintian) manual, and yes it's a whole module whose entire job is being the Lintian interface to source format info. tiny module, big shoes, we love her for it πŸŽ€


✨ NAME ✨

Lintian::Processable::Source::Format β€” it's the Lintian interface to source format. that's the whole name, no notes πŸ’…


🌸 SYNOPSIS 🌸

so you literally just do this:

my $collect = Lintian::Processable::Source::Format->new;

and boom, you have a thing. main character energy fr fr.


πŸ¦‹ DESCRIPTION πŸ¦‹

Lintian::Processable::Source::Format provides an interface to source format information. that's it, that's the description. lowkey iconic for how little it says while doing so much 🫢


πŸ‘‘ INSTANCE METHODS πŸ‘‘

⭐ source_format

this is the method. its name is source_format. the page does not tell us more about it and neither will I, because inventing facts is not the move πŸ’€

🌈 native

returns true if the source package is native and false otherwise. simple as that bestie.

the way this works: it's generally determined from the source format, though β€” plot twist β€” in the 1.0 case, the nativeness is figured out by looking for the diff.gz, using the name of the source package and its version. detective work, honestly πŸ”₯

and listen:

If the source format is 1.0 and the version number is absent, this will return false β€” because native packages are a lot rarer than non-native ones. it's just playing the odds, no cap.

also, important one:

Note: if the source format is missing, it is assumed to be a 1.0 package. πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

Originally written by Russ Allbery <rra@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian. two queens, one module, we thank them for their service ✨


πŸ“ SEE ALSO πŸ“


and that's the whole page, bestie!! 🧚 this was Lintian v2.139.0ubuntu2, dated 2026-10-08, signing off β€” go read those SEE ALSOs, iykyk πŸŒΈπŸ’–πŸŒΈ

πŸ“¦ where this page comes from