|
39.
|
|
|
Beside giving access to the details of the parsed file via the L<"data"> method, Parse::DebianChangelog also supports converting these changelogs to various other formats. These are currently:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:55
|
|
40.
|
|
|
Format as known from L<dpkg-parsechangelog(1)>. All requested entries (see L<"METHODS"> for an explanation what this means) are returned in the usual Debian control format, merged in one stanza, ready to be used in a F<.changes> file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:63
|
|
41.
|
|
|
The changelog is converted to a somewhat nice looking HTML file with some nice features as a quick-link bar with direct links to every entry. NOTE: This is not very configurable yet and was specifically designed to be used on L<http://packages.debian.org/>. This is planned to be changed until version 1.0.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:82
|
|
42.
|
|
|
METHODS
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:90
|
|
43.
|
|
|
init
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:110
../lib/Parse/DebianChangelog/Entry.pm:31
|
|
44.
|
|
|
Creates a new object instance. Takes a reference to a hash as optional argument, which is interpreted as configuration options. There are currently no supported general configuration options, but see the other methods for more specific configuration options which can also specified to C<init>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:112
|
|
45.
|
|
|
If C<infile> or C<instring> are specified (see L<parse>), C<parse()> is called from C<init>. If a fatal error is encountered during parsing (e.g. the file can't be opened), C<init> will not return a valid object but C<undef>!
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:118
|
|
46.
|
|
|
reset_parse_errors
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:146
|
|
47.
|
|
|
Can be used to delete all information about errors ocurred during previous L<parse> runs. Note that C<parse()> also calls this method.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:148
|
|
48.
|
|
|
get_parse_errors
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:177
|