parsechangelog(1p)

parsechangelog1p

Parse debian changelogs and output them in other formats

Usage

parsechangelog [options] [changelogfile]

to 'debian/changelog' -F<changelogformat> ignored if changelogformat = 'debian'

for compatibility with dpkg-dev -L<libdir> ignored for compatibility with dpkg-dev --format <outputformat> see man page for list of available

for compatibility with dpkg-dev --since, -s, -v <version> include all changes later than version --until, -u <version> include all changes earlier than version --from, -f <version> include all changes equal or later

than version --to, -t <version> include all changes up to or equal

than version --count, -c, -n <number> include <number> entries from the top

counted from the top (or the tail if

For a more extensive documentation of the range selecting options and some (hopefully enlightening) examples see "COMMON OUTPUT OPTIONS" in Parse::DebianChangelog.

Overview

parsechangelog parses Debian changelogs as described in the Debian policy (version 3.9.8 at the time of this writing) and converts them to other output formats. See section "SEE ALSO" for locations where to find the full format definition.

The output formats supported are currently:

dpkg

Format as known from dpkg-parsechangelog(1). All requested entries (see "SYNOPSIS" on how to select specific entries) are returned in the usual Debian control format, merged in one stanza, ready to be used in a .changes file.

rfc822

Similar to the "dpkg" format, but the requested entries are returned as one stanza each, i.e. they are not merged. This is probably the format to use if you want a machine-usable representation of the changelog.

xml

Just a simple XML dump of the changelog data. Without any schema or DTD currently, just some made up XML. The actual format might still change. Comments and Improvements welcome.

html

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 configurable yet and was specifically designed to be used on <http://packages.debian.org/>. This is planned to be changed until version 1.0. The used Parse::DebianChangelog module already supports configuration, however, this isn't exposed by this program yet.

Releases

7 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10

Bugs

Any version given with "--since", "--until", "--from", or "--to" must exist in the changelogfile, else parsechangelog will a wrong result or even abort with an error message. See <https://bugs.debian.org/576606>

Author

Frank Lichtenheld, <[email protected]>

From libparse-debianchangelog-perl 1.2.0-13 in Debian 10 (Buster). Parsed by carta from the page's man source.