1CHANGESTOOL(1)                     REPREPRO                     CHANGESTOOL(1)
2
3
4

NAME

6       changestool - verify, dump, modify, create or fix Debian .changes files
7

SYNOPSIS

9       changestool --help
10
11       changestool  [  options ] .changes-filename command [ per-command-argu‐
12       ments ]
13

DESCRIPTION

15       changestool is a little program to operate on Debian .changes files, as
16       they  are  produced by dpkg-genchanges(1) and used to feed built Debian
17       packages into Debian repository managers like reprepro(1) or dak.
18
19

EXAMPLES

21       changestool bloat.changes setdistribution local
22       will modify the Distribution: header inside bloat.changes to say  local
23       instead of what was there before.
24
25       changestool reprepro_1.2.0-1.local_sparc.changes includeallsources
26       will  modify  the given file to also list .orig.tar.gz it does not list
27       because you forgot to build it with dpkg-buildpackage -sa.
28
29       changestool blafasel_1.0_abacus.changes updatechecksums
30       will update the md5sums to those of the files referenced by this  file.
31       (So  one  can  do quick'n'dirty corrections to them before uploading to
32       your private package repository)
33
34       changestool --create test.changes add bla_1-1.dsc bla_1-1_abacus.deb
35       will add the specified files (format detected by filename,  use  adddeb
36       or  adddsc  if  you  know it).  If the file test.changes does not exist
37       yet, a minimal one will be generated. Though that might be too  minimal
38       for most direct uses.
39
40

GLOBAL OPTIONS

42       Options  can  be specified before the command. Each affects a different
43       subset of commands and is ignored by other commands.
44
45       -h --help
46              Displays a short list of options and commands with description.
47
48       -o --outputdir dir
49              Not yet implemented.
50
51       -s --searchpath path
52              A colon-separated list of directories to  search  for  files  if
53              they are not found in the directory of the .changes file.
54
55       --create
56              Flag  for  the commands starting with add to create the .changes
57              file if it does not yet exists.
58
59       --create-with-all-fields
60              Flag for the commands starting with add to create  the  .changes
61              file  if  it does not yet exists.  Unlike --create, this creates
62              more fields to make things like dupload happier.  Currently that
63              creates fake Urgency and Changes fields.
64
65       --unlzma command
66              External uncompressor used to uncompress lzma files to look into
67              .diff.lzma, .tar.lzma or .tar.lzma within .debs.
68
69       --unxz command
70              External uncompressor used to uncompress xz files to  look  into
71              .diff.xz, .tar.xz or .tar.xz within .debs.
72
73       --lunzip command
74              External uncompressor used to uncompress lzip files to look into
75              .diff.lz, .tar.lz or .tar.lz within .debs.
76
77       --bunzip2 command
78              External uncompressor used to uncompress bz2 when compiled with‐
79              out libbz2.
80

COMMANDS

82       verify Check for inconsistencies in the specified .changes file and the
83              files referenced by it.
84
85       updatechecksums [ filename ]
86              Update the checksum (md5sum and  size)  information  within  the
87              specified  .changes  file  and  all .dsc files referenced by it.
88              Without arguments, all files will be updated.   To  only  update
89              specific files, give their filename (without path) as arguments.
90
91       setdistribution [ distributions ]
92              Change the Distribution: header to list the remaining arguments.
93
94       includeallsources [ filename ]
95              List  all  files  referenced  by  .dsc  files  mentioned  in the
96              .changes file in said  file.   Without  arguments,  all  missing
97              files  will  be  included.  To only include specific files, give
98              their filename (without path) as arguments.
99
100              Take a look at the description of -si, -sa and -sd in  the  man‐
101              page  of  dpkg-genchanges/dpkg-buildpackage how to avoid to have
102              to do this at all.
103
104              Note that while reprepro will just  ignore  files  listed  in  a
105              .changes  file  when  it already has the file with the same size
106              and md5sum, dak might choke in that case.
107
108       adddeb filenames
109              Add the .deb and .udeb files specified by their filenames to the
110              .changes  file.   Filenames  without a slash will be searched in
111              the current directory, the directory the changes file resides in
112              and in the directories specified by the --searchpath.
113
114       adddsc filenames
115              Add  the .dsc files specified by their filenames to the .changes
116              file.  Filenames without a slash will be searched in the current
117              directory,  in  the directory the changes file resides in and in
118              the directories specified by the --searchpath.
119
120       addrawfile filenames
121              Add the files specified by their filenames to the .changes file.
122              Filenames without a slash will be searched in the current direc‐
123              tory, in the directory the changes file resides in  and  in  the
124              directories specified by the --searchpath.
125
126       add filenames
127              Behave like adddsc for filenames ending in .dsc, like adddeb for
128              filenames ending in .deb or .udeb, and like addrawfile  for  all
129              other filenames
130
131       dumbremove filenames
132              Remove  the  specified  files  from the .changes file.  No other
133              fields (Architectures, Binaries, ...) are updated and no related
134              files is removed.  Just the given files (which must be specified
135              without any /) are no longer listen in the  .changes  file  (and
136              only no longer in the changes file).
137
138

SEE ALSO

140       reprepro(1), dpkg-genchanges(1), dpkg-buildpackage(1), md5sum(1).
141

REPORTING BUGS

143       Report  bugs or wishlist requests the Debian BTS (e.g. by using report‐
144       bug reperepro) or directly to <brlink@debian.org>.
145
147       Copyright © 2006-2009 Bernhard R. Link
148       This is free software; see the source for copying conditions. There  is
149       NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
150       PURPOSE.
151
152
153
154reprepro                          2010-03-19                    CHANGESTOOL(1)
Impressum