Dpkg::Changelog::Debian(3perl)
π Dpkg::Changelog::Debian β like, the Perl module for parsing Debian changelogs, iykyk
okay so bestie, welcome to Dpkg::Changelog::Debian(3perl) from libdpkg-perl β yes that's the manual name, I'm folding it in here so it's not just vibing at the top like a stray π
β¨ NAME β¨
Dpkg::Changelog::Debian β parse Debian changelogs. that's it, that's the whole gig π
πΈ DESCRIPTION πΈ
This class represents a Debian changelog file as an array of changelog entries (Dpkg::Changelog::Entry::Debian). Like, each entry gets its own little moment. main character energy for every stanza, fr fr π
It implements the generic interface Dpkg::Changelog. Only the methods that are specific to this implementation get described down below β everything else? inherited. so don't come for me asking where the rest went, they're at home with their parent class π«Ά
Dpkg::Changelog::Debian parses Debian changelogs as described in deb-changelog(5). no cap, that's the spec.
The parser tries to ignore most cruft β and bestie, when I say cruft, I mean:
#or/* */style comments- RCS keywords
- Vim modelines
- Emacs local variables
- and just... 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. literally nothing, it just looks away π. This should become configurable in the future β so like, watch this space.
π¦ METHODS π¦
$count = $chlog->parse($fh, $description)β Read the filehandle and parse a Debian changelog in it, storing the entries as an array ofDpkg::Changelog::Entry::Debianobjects. Any previous entries in the object are reset before parsing new data (clean slate, we love a fresh start β¨). Returns the number of changelog entries that have been parsed with success. iconic behaviour tbh.
π₯ CHANGES π₯
β Version 1.00 (dpkg 1.15.6)
- Mark the module as public. she's out, she's public, she's slaying π
π SEE ALSO π
Dpkg::Changelogβ the parent, the blueprint, the blueprint's blueprint π
and that's the whole page, bestie! brought to you by libdpkg-perl version 1.23.11-dirty, dated 2026-09-09 β mwah, drink some water, go parse a changelog ππ§π
π¦ where this page comes from
- arch rolling: dpkg 1.23.11-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms