1dpkg-parsechangelog(1)          dpkg utilities          dpkg-parsechangelog(1)
2
3
4

NAME

6       dpkg-parsechangelog - parse Debian changelog files
7

SYNOPSIS

9       dpkg-parsechangelog [options]
10

DESCRIPTION

12       dpkg-parsechangelog  reads  and  parses  the  changelog  of an unpacked
13       Debian source tree and outputs the information in it to standard output
14       in a machine-readable form.
15

OPTIONS

17       -lchangelogfile
18              Specifies  the  change  log  file  to read information from. The
19              default is debian/changelog.
20
21       -Fchangelogformat
22              Specifies the format of the changelog. By default the format  is
23              read  from  a  special  line near the bottom of the changelog or
24              failing that defaults to the debian standard format.
25
26       -Llibdir
27              Specify an additional directory to search  for  parser  scripts.
28              This  directory is searched before the default directories which
29              are      currently      /usr/share/dpkg/parsechangelog       and
30              /usr/local/share/dpkg/parsechangelog.
31
32       -h, --help
33              Show the usage message and exit.
34
35       --version
36              Show the version and exit.
37
38   Parser Options
39       The  following  options  can  be  used  to  influence the output of the
40       changelog parser, e.g. the range of entries or the format of  the  out‐
41       put.  They  need  to be supported by the parser script in question. See
42       also CAVEATS.
43
44       --format outputformat
45              Set the output format. Currently supported values are  dpkg  and
46              rfc822.   dpkg  is  the  classic output format (from before this
47              option existed) and the default. It consists of one paragraph in
48              Debian  control  format  (see  deb-control(5)). If more than one
49              entry is requested, then most fields are taken from  the  latest
50              entry, except otherwise stated:
51
52              Source: <pkg name>
53
54              Version: <version>
55
56              Distribution: <target distribution>
57
58              Urgency: <urgency>
59                     The highest urgency of all included entries is used.
60
61              Maintainer: <author>
62
63              Date: <date>
64
65              Closes: <bug number>
66                     The Closes fields of all included entries are merged.
67
68              Changes: <changelog entries>
69                     The  text  of  all  changelog entries is concatenated. To
70                     make this field a valid Debian control  format  multiline
71                     field  empty  lines  are replaced with a single full stop
72                     and all lines is intended by  one  space  character.  The
73                     exact content depends on the changelog format.
74
75              There might be additional user-defined fields present.
76
77              The  rfc822  format  uses the same fields but outputs a separate
78              paragraph for each changelog entry so that all metadata for each
79              entry is preserved.
80
81       --since version, -sversion, -vversion
82              include all changes later than version.
83
84       --until version, -uversion
85              include all changes earlier than version.
86
87       --from version, -fversion
88              include all changes equal or later than version.
89
90       --to version, -tversion
91              include all changes up to or equal than version.
92
93       --count number, -cnumber, -nnumber
94              include  number  entries  from the top (or the tail if number is
95              lower than 0).
96
97       --offset number, -onumber
98              change the starting point for --count, counted from the top  (or
99              the tail if number is lower than 0).
100
101       --all  include all changes.
102

CAVEATS

104       All  Parser  Options  except for -v are only supported in dpkg, version
105       1.14.16 and later. Third party parsers for changelog formats other than
106       debian might not support all options.
107

FILES

109       debian/changelog
110              The changelog file, used to obtain version-dependent information
111              about the source package, such as the urgency  and  distribution
112              of  an  upload, the changes made since a particular release, and
113              the source version number itself.
114

AUTHORS

116       Copyright © 1995-1996 Ian Jackson
117       Copyright © 2000 Wichert Akkerman
118       Copyright © 2007, 2008 Frank Lichtenheld
119
120       This is free software; see the GNU General Public Licence version 2  or
121       later for copying conditions. There is NO WARRANTY.
122
123
124
125Debian Project                    2009-05-19            dpkg-parsechangelog(1)
Impressum