logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Lintian::Processable::Source::Repacked - Lintian interface to source package data collection

Author

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

Description

Lintian::Processable::Source::Repacked provides an interface to package data for source packages. It implements data collection methods specific to source packages. This module is 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. The goal is to eventually access all data about source packages via this module so that the module can cache data where appropriate and possibly retire collect scripts in favor of caching that data in memory.

Instance Methods

repacked Returns true if the source package has been "repacked" and false otherwise. This is determined from the version name containing "dfsg" or similar.

Name

Lintian::Processable::Source::Repacked - Lintian interface to source package data collection

See Also

lintian(1) Lintian v2.122.0ubuntu1 2025-05-01 Lintian::Processable::Source::Repacked(3)

Synopsis

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

See Also