SysTutorials

Linux Manual Pages › Section 3

lintianinspectchangelog(3)

Lintian::Inspect::Changelog — Parse a literal version string into its constituents

Synopsis

 use Lintian::Inspect::Changelog;
 my $version = Lintian::Inspect::Changelog->new;
 $version->set('1.2.3-4', undef);

Description

A class for parsing literal version strings

Class Methods

new ()
Creates a new Lintian::Inspect::Changelog object.
find_closes
Takes one string as argument and finds “Closes: #123456, #654321” statements as supported by the Debian Archive software in it. Returns all closed bug numbers in an array reference.

Instance Methods

parse (STRING)
Parses STRING as the content of a debian/changelog file.
errors
entries

Author

Originally written by Felix Lechner <felix.lechner [at] lease-up.com> for Lintian.

See Also

lintian(1)