| Dpkg::Changelog::Parse(3perl) | libdpkg-perl | Dpkg::Changelog::Parse(3perl) |
Dpkg::Changelog::Parse - generic changelog parser for dpkg-parsechangelog
This module provides a set of functions which reproduce all the features of dpkg-parsechangelog.
The parsing itself is done by a parser module (searched in the standard perl library directories. That module is named according to the format that it is able to parse, with the name capitalized. By default it is either Dpkg::Changelog::Debian (from the "debian" format) or the format name looked up in the 40 last lines of the changelog itself (extracted with this perl regular expression "\schangelog-format:\s+([0-9a-z]+)\W"). But it can be overridden with $opts{changelogformat}.
All the other keys in %opts are forwarded to the parser module constructor.
Options:
New option: 'verbose' in changelog_parse().
Remove functions: changelog_parse_debian(), changelog_parse_plugin().
Remove warnings: For options 'forceplugin', 'libdir'.
New option: 'compression' in changelog_parse().
Deprecated functions: changelog_parse_debian(), changelog_parse_plugin().
Obsolete options: forceplugin, libdir.
New functions: changelog_parse_debian(), changelog_parse_plugin().
Mark the module as public.
| 2025-06-30 | 1.22.21 |