1
2
3PKGDIFF(1) User Commands PKGDIFF(1)
4
5
6
8 Package - manual page for Package Changes Analyzer (PkgDiff) 1.7.2
9
10
12 NAME:
13 Package Changes Analyzer
14
15 A tool for analyzing changes in Linux software packages
16
17
18 DESCRIPTION:
19 Package Changes Analyzer (PkgDiff) is a tool for analyzing
20
21 changes in Linux software packages (RPM, DEB, TAR.GZ, etc).
22
23
24 The tool is intended for Linux maintainers who are interested
25
26 in ensuring compatibility of old and new versions of packages.
27
28
29 This tool is free software: you can redistribute it and/or
30
31 modify it under the terms of the GNU GPL.
32
33
34 USAGE:
35 pkgdiff PKG1 PKG2 [options]
36
37
38 EXAMPLES:
39 pkgdiff OLD.rpm NEW.rpm
40
41 pkgdiff OLD.tar.gz NEW.tar.gz
42
43
44 ARGUMENTS:
45 PKG1
46
47
48 Path to the old version of a package (RPM, DEB, TAR.GZ, etc).
49
50
51 If you need to analyze a group of packages then you can
52
53 pass an XML-descriptor of this group (VERSION.xml file):
54
55
56 <version>
57
58
59 /* Group version */
60
61
62 </version>
63
64
65 <group>
66
67
68 /* Group name */
69
70
71 </group>
72
73
74 <packages>
75
76
77 /path1/to/package(s)
78
79 /path2/to/package(s)
80
81 ...
82
83
84 </packages>
85
86
87 PKG2
88
89
90 Path to the new version of a package (RPM, DEB, TAR.GZ, etc).
91
92
93 INFORMATION OPTIONS:
94
95
96 -h|-help
97
98
99 Print this help.
100
101
102
103
104 -v|-version
105
106
107 Print version information.
108
109
110
111
112 -dumpversion
113
114
115 Print the tool version (1.7.2) and don't do anything else.
116
117
118 GENERAL OPTIONS:
119
120
121 -report-path PATH
122
123
124 Path to the report.
125
126 Default:
127
128
129 pkgdiff_reports/<pkg>/<v1>_to_<v2>/changes_report.html
130
131
132
133
134 -details
135
136
137 Try to create detailed reports.
138
139
140
141
142 -size-limit SIZE
143
144
145 Don't analyze files larger than SIZE in kilobytes.
146
147
148
149
150 -width WIDTH
151
152
153 Width of the Visual Diff.
154
155 Default: 75
156
157
158
159
160 -prelines NUM
161
162
163 Size of the context in the Visual Diff.
164
165 Default: 10
166
167
168
169
170 -ignore-space-change
171
172
173 Ignore changes in the amount of white space.
174
175
176
177
178 -ignore-all-space
179
180
181 Ignore all white space.
182
183
184
185
186 -ignore-blank-lines
187
188
189 Ignore changes whose lines are all blank.
190
191
192
193
194 -quick
195
196
197 Quick mode without creating of Visual Diffs for files.
198
199
200
201
202 -minimal
203
204
205 Try to find a smaller set of changes.
206
207
208 OTHER OPTIONS:
209
210
211 -check-usage
212
213
214 Check if package content is used by other
215
216 packages in the repository.
217
218
219
220
221 -pkg-manager NAME
222
223
224 Specify package management tool.
225
226 Supported:
227
228
229 urpm - Mandriva URPM
230
231
232
233
234 -template
235
236
237 Create XML-descriptor template ./VERSION.xml
238
239
240
241
242 -extra-info DIR
243
244
245 Dump extra info to DIR.
246
247
248
249
250 -tmp-dir DIR
251
252
253 Use custom temp directory.
254
255
256
257
258 -hide-unchanged
259
260
261 Don't show unchanged files in the report.
262
263
264
265
266 -debug
267
268
269 Show debug info.
270
271
272
273
274 -name NAME
275
276
277 Set name of the package to NAME.
278
279
280
281
282 -title TITLE
283
284
285 Set name of the package in the title of the report to TITLE.
286
287
288
289
290 -vnum1 NUM
291
292
293 Set version number of the old package to NUM.
294
295
296
297
298 -vnum2 NUM
299
300
301 Set version number of the new package to NUM.
302
303
304
305
306 -links-target TARGET
307
308
309 Set target attribute for links in the report:
310
311
312 _self
313
314 _blank (default)
315
316
317
318
319 -list-added-removed
320
321
322 Show content of added and removed text files.
323
324
325
326
327 -skip-subarchives
328
329
330 Skip checking of archives inside the input packages.
331
332
333
334
335 -skip-pattern REGEX
336
337
338 Skip checking of paths within archives matching REGEX.
339
340
341
342
343 -d|-directories
344
345
346 Compare directories instead of packages.
347
348
349 REPORT:
350 Report will be generated to:
351
352
353 pkgdiff_reports/<pkg>/<v1>_to_<v2>/changes_report.html
354
355
356 EXIT CODES:
357 0 - Unchanged. The tool has run without any errors.
358
359 non-zero - Changed or the tool has run with errors.
360
361
362 MORE INFORMATION:
363 http://lvc.github.com/pkgdiff/
364
365
367 Written by Andrey Ponomarenko.
368
369
371 Copyright © 2016 Andrey Ponomarenko's ABI Laboratory
372
373 License: GNU GPL <http://www.gnu.org/licenses/>
374
375 This program is free software: you can redistribute it and/or modify
376 it.
377
378
379
380Package Changes Analyzer (PkgDiff)Fe1b.r7u.a2ry 2019 PKGDIFF(1)