diffoscope-99
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
56
55
54
52
51
49
48
47
46
45
44
43
42
41
40
39
317
316
315
314
313
312
311
306
305
304
303
302
301
300
299
298
297
296
295
294
293
292
291
290
289
288
287
286
285
284
283
282
281
280
277
276
275
274
273
272
271
270
269
268
267
266
265
264
263
262
261
260
259
258
257
256
255
254
253
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
224
223
222
221
220
219
218
217
216
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
199
198
197
196
195
194
193
192
191
190
189
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
108
107
106
105
104
103
102
101
100
توضیحات
in-depth comparison of files, archives, and directories
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | diffoscope-99 |
| نام | diffoscope |
| نسخه کتابخانه | 99 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Diffoscope developers |
| ایمیل نویسنده | diffoscope@lists.reproducible-builds.org |
| آدرس صفحه اصلی | https://diffoscope.org/ |
| آدرس اینترنتی | https://pypi.org/project/diffoscope/ |
| مجوز | GPL-3+ |
diffoscope
==========
.. image:: https://badge.fury.io/py/diffoscope.svg
:target: http://badge.fury.io/py/diffoscope
diffoscope will try to get to the bottom of what makes files or
directories different. It will recursively unpack archives of many kinds
and transform various binary formats into more human-readable form to
compare them. It can compare two tarballs, ISO images, or PDF just as
easily.
It can be scripted through error codes, and a report can be produced
with the detected differences. The report can be text or HTML.
When no type of report has been selected, diffoscope defaults
to write a text report on the standard output.
diffoscope was initially started by the "reproducible builds" Debian
project and now being developed as part of the (wider) `“Reproducible
Builds” initiative <https://reproducible-builds.org>`_. It is meant
to be able to quickly understand why two builds of the same package
produce different outputs. diffoscope was previously named debbindiff.
See the ``COMMAND-LINE EXAMPLES`` section further below to get you
started, as well as more detailed explanations of all the command-line
options. The same information is also available in
``/usr/share/doc/diffoscope/README.rst`` or similar.
.. the below hack gets rid of the python "usage" message in favour of the the
synopsis we manually defined in doc/$(PACKAGE).h2m.0
.SS positional arguments:
.\" end_of_description_header
Exit status
===========
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
Command-line examples
=====================
To compare two files in-depth and produce an HTML report, run something like::
$ bin/diffoscope --html output.html build1.changes build2.changes
diffoscope will exit with 0 if there's no differences and 1 if there
are.
To get all possible options, run::
$ bin/diffoscope --help
If you have enough RAM, you can improve performance by running::
$ TMPDIR=/run/shm bin/diffoscope very-big-input-0/ very-big-input-1/
By default this allowed to use up half of RAM; for more add something like::
tmpfs /run/shm tmpfs size=80% 0 0
to your ``/etc/fstab``; see ``man mount`` for details.
External dependencies
=====================
diffoscope requires Python 3 and the following modules available on PyPI:
`libarchive-c <https://pypi.python.org/pypi/libarchive-c>`_,
`python-magic <https://pypi.python.org/pypi/python-magic>`_.
The various comparators rely on external commands being available. To
get a list of them, please run::
$ bin/diffoscope --list-tools
Contributors
============
Lunar, Reiner Herrmann, Chris Lamb, Mattia Rizzolo, Ximin Luo, Helmut Grohne,
Holger Levsen, Daniel Kahn Gillmor, Paul Gevers, Peter De Wachter, Yasushi
SHOJI, Clemens Lang, Ed Maste, Joachim Breitner, Mike McQuaid. Baptiste
Daroussin, Levente Polyak.
Contact
=======
The preferred way to report bugs about *diffoscope*, as well as suggest
fixes and requests for improvements is to submit reports to the issue
tracker at:
https://salsa.debian.org/reproducible-builds/diffoscope/issues
For more instructions, see ``CONTRIBUTING.rst`` in this directory.
Join the users and developers mailing-list:
<https://lists.reproducible-builds.org/listinfo/diffoscope>
diffoscope website is at <https://diffoscope.org/>
License
=======
diffoscope is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
diffoscope is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
See also
========
* `<https://diffoscope.org/>`
* `<https://wiki.debian.org/ReproducibleBuilds>`
نیازمندی
| مقدار | نام |
|---|---|
| - | python-magic |
| - | libarchive-c |
| xtr | distro; |
| xtr | argcomplete; |
| xtr | progressbar; |
| xtr | androguard; |
| xtr | binwalk; |
| xtr | defusedxml; |
| xtr | guestfs; |
| xtr | jsondiff; |
| xtr | pypdf; |
| xtr | python-debian; |
| xtr | pyxattr; |
| xtr | rpm-python; |
| xtr | tlsh; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl diffoscope-99:
pip install diffoscope-99.whl
نصب پکیج tar.gz diffoscope-99:
pip install diffoscope-99.tar.gz