|
37.
|
|
|
Parse::DebianChangelog parses Debian changelogs as described in the Debian policy (version 3.6.2.1 at the time of this writing). See section L<"SEE ALSO"> for locations where to find this definition.
|
|
|
|
Parse::DebianChangelog tolkar Debians ändringsloggar, vilket beskrivs i Debians policy (version 3.6.2.1 i skrivande stund). Se avsnittet L<"SE ÄVEN"> för platser där du kan hitta definitionen.
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:44
|
|
38.
|
|
|
The parser tries to ignore most cruft like # or /* */ style comments, CVS comments, vim variables, emacs local variables and stuff from older changelogs with other formats at the end of the file. NOTE: most of these are ignored silently currently, there is no parser error issued for them. This should become configurable in the future.
|
|
|
|
Tolken försöker ignorera det mesta skräpet, som #- eller /* */-kommentarer, CVS-kommentarer, vim-variabler, lokala emacs-variabler och saker från äldre ändringsloggar med andra format i slutet av filen. OBS: de flesta av dessa ignoreras just nu tyst; tolken visar inga fel för dessa fall. Detta bör kunna konfigureras i framtiden.
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:48
|
|
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:
|
|
|
|
Förutom att ge åtkomst till detaljerna i den tolkade filen via metoden L<"data">, stödjer Parse::DebianChangelog också konvertering av ändringsloggarna till diverse andra format. Dessa är för närvarande:
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
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.
|
|
|
|
Format från L<dpkg-parsechangelog(1)>. Alla begärda poster (se L<"METODER"> för en förklaring om vad det innebär) returneras i det vanliga Debian kontrollformatet, sammanfogade i en strof, redo att användas i en F<.changes>-fil.
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
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.
|
|
|
|
Ändringsloggen konverteras till en hyfsat snygg HTML-fil med en del praktiska element som ett fält för snabblänkar med direkta länkar till varje post. OBS: Detta är inte konfigurerbart i någon större utsträckning än, och utformades specifikt för att användas på L<http://packages.debian.org/>. Ändringar planeras inför version 1.0.
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:82
|
|
42.
|
|
|
METHODS
|
|
|
|
METODER
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:90
|
|
43.
|
|
|
init
|
|
|
|
init
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
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>.
|
|
|
|
Skapar en ny objektinstans. Tar en referens till ett hash som valfritt argument, vilket tolkas som konfigurationsalternativ. För närvarande stöds inga allmänna konfigurationsalternativ, men se de andra metoderna för flera specifika konfigurationsalternativ som också kan anges till C<init>.
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
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>!
|
|
|
|
Om C<infile> eller C<instring> anges (se L<parse>), anropas C<parse()> från C<init>. Om ett allvarligt fel uppstår under tolkningen (t.ex. filen kan inte öppnas) kommer C<init> inte att returnera ett giltigt objekt, utan C<undef>!
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:118
|
|
46.
|
|
|
reset_parse_errors
|
|
|
|
reset_parse_errors
|
|
Translated and reviewed by
Arve Eriksson
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:146
|