SHA256
1
0
forked from pool/diffoscope
Commit Graph

70 Commits

Author SHA256 Message Date
Dominique Leuenberger
2abf63a841 Accepting request 956421 from devel:languages:python
- update to 205:
  * Fix a file(1)-related regression where .changes files that contained
    non-ASCII text were not identified as being .changes files, resulting in
    seemingly arbitrary packages on tests.reproducible-builds.org and elswhere
    not comparing the package at all. The non-ASCII parts could have been in
    the Maintainer or in the upload changelog, so we were effectively
    penalising anyone outside of the Anglosphere.
    (Closes: reproducible-builds/diffoscope#291)
  * Don't print a warning to the console regarding NT_GNU_BUILD_ID changes in
    ELF binaries.

OBS-URL: https://build.opensuse.org/request/show/956421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=29
2022-02-21 16:46:49 +00:00
e05f6dbb31 - update to 205:
* Fix a file(1)-related regression where .changes files that contained
    non-ASCII text were not identified as being .changes files, resulting in
    seemingly arbitrary packages on tests.reproducible-builds.org and elswhere
    not comparing the package at all. The non-ASCII parts could have been in
    the Maintainer or in the upload changelog, so we were effectively
    penalising anyone outside of the Anglosphere.
    (Closes: reproducible-builds/diffoscope#291)
  * Don't print a warning to the console regarding NT_GNU_BUILD_ID changes in
    ELF binaries.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=58
2022-02-21 11:33:30 +00:00
Dominique Leuenberger
788a8676ff Accepting request 955466 from devel:languages:python
- - update to version 204:
 - Don't run the binwalk comparator tests as root (or fakeroot) as the
   latest version of binwalk has some security protection against doing
   precisely this.
 - If we fail to scan a file using binwalk, return 'False' from
   BinwalkFile.recognizes rather than raise a traceback.
 - If we fail to import the Python "binwalk" module, don't accidentally report
   that we are missing the "rpm" module instead.
 - Use dependencies to ensure that "diffoscope" and "diffoscope-minimal"
   packages always have the precise same version.
- update to version 203:
 - Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.

OBS-URL: https://build.opensuse.org/request/show/955466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=28
2022-02-16 23:31:15 +00:00
Dominique Leuenberger
a46ea55c3f Accepting request 953798 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/953798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=27
2022-02-11 22:10:19 +00:00
Sebastian Wagner
e7ada2e312 - update to version 204:
- Don't run the binwalk comparator tests as root (or fakeroot) as the
   latest version of binwalk has some security protection against doing
   precisely this.
 - If we fail to scan a file using binwalk, return 'False' from
   BinwalkFile.recognizes rather than raise a traceback.
 - If we fail to import the Python "binwalk" module, don't accidentally report
   that we are missing the "rpm" module instead.
 - Use dependencies to ensure that "diffoscope" and "diffoscope-minimal"
   packages always have the precise same version.
- update to version 203:
 - Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=56
2022-02-11 19:15:15 +00:00
Sebastian Wagner
e96369d01a - update to version 203:
- Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.
- update to version 202:
 - Don't fail if comparing a nonexistent file with a .pyc file (and add test).
   (Closes: #1004312)
 - Drop a reference in the manual page which claims the ability to compare
   non-existent files on the command-line. This has not been possible since
   version 32 which was released in September 2015. (Closes: #1004182)
 - Add experimental support for incremental output support with a timeout.
   Passing, for example, --timeout=60 will mean that diffoscope will not
   recurse into any sub-archives after 60 seconds total execution time has
   elapsed and mark the diff as being incomplete. (Note that this is not a
   fixed/strict timeout due to implementation issues.)
   (Closes: reproducible-builds/diffoscope#301)
 - Don't return with an exit code of 0 if we encounter device file such as
   /dev/stdin with human-readable metadata that matches literal, non-device,
   file contents. (Closes: #1004198)
 - Correct a "recompile" typo.
 - Fix/update whitespace for Black 21.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=55
2022-02-04 16:52:04 +00:00
Sebastian Wagner
eefc8ab939 - update to version 202:
- Don't fail if comparing a nonexistent file with a .pyc file (and add test).
   (Closes: #1004312)
 - Drop a reference in the manual page which claims the ability to compare
   non-existent files on the command-line. This has not been possible since
   version 32 which was released in September 2015. (Closes: #1004182)
 - Add experimental support for incremental output support with a timeout.
   Passing, for example, --timeout=60 will mean that diffoscope will not
   recurse into any sub-archives after 60 seconds total execution time has
   elapsed and mark the diff as being incomplete. (Note that this is not a
   fixed/strict timeout due to implementation issues.)
   (Closes: reproducible-builds/diffoscope#301)
 - Don't return with an exit code of 0 if we encounter device file such as
   /dev/stdin with human-readable metadata that matches literal, non-device,
   file contents. (Closes: #1004198)
 - Correct a "recompile" typo.
 - Fix/update whitespace for Black 21.12.
- update to version 201:
 - If the debian.deb822 module raises any exception on import, re-raise it as
   an ImportError instead. This should fix diffoscope on some Fedora systems.
   Thanks to Mattia Rizzolo for suggesting this particular solution.
   (Closes: reproducible-builds/diffoscope#300)
 - Fix json detection with file-5.41-3.fc36.x86_64.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=54
2022-01-28 16:25:14 +00:00
Dominique Leuenberger
beb7b9aaa2 Accepting request 947908 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=26
2022-01-22 07:18:16 +00:00
Sebastian Wagner
4b44814386 - update to version 201:
- If the debian.deb822 module raises any exception on import, re-raise it as
   an ImportError instead. This should fix diffoscope on some Fedora systems.
   Thanks to Mattia Rizzolo for suggesting this particular solution.
   (Closes: reproducible-builds/diffoscope#300)
 - Fix json detection with file-5.41-3.fc36.x86_64.
- update to version 200:
 - Even if a Sphinx .inv inventory file is labelled "The remainder of this
   file is compressed using zlib", it might not actually be. In this case,
   don't traceback, and simply return the original content.
   (Closes: reproducible-builds/diffoscope#299)
 - Update "X has been modified after NT_GNU_BUILD_ID has been applied" message
   to, for instance, not duplicating the full filename in the primary
   diffoscope's output.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=52
2022-01-21 16:48:06 +00:00
Sebastian Wagner
3bee24d665 - update to version 200:
- Even if a Sphinx .inv inventory file is labelled "The remainder of this
   file is compressed using zlib", it might not actually be. In this case,
   don't traceback, and simply return the original content.
   (Closes: reproducible-builds/diffoscope#299)
 - Update "X has been modified after NT_GNU_BUILD_ID has been applied" message
   to, for instance, not duplicating the full filename in the primary
   diffoscope's output.
- update to version 199:
 - Support both variants of "odt2txt", including the one provided by unoconv.
   (Closes: reproducible-builds/diffoscope#298)
 - Add external tool reference on Arch Linux for xb-tool.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=51
2022-01-14 09:22:54 +00:00
Sebastian Wagner
dd93674921 - update to version 199:
- Support both variants of "odt2txt", including the one provided by unoconv.
   (Closes: reproducible-builds/diffoscope#298)
 - Add external tool reference on Arch Linux for xb-tool.
- update to version 198:
 - Support showing "Ordering differences only" within .dsc field values.
   (Closes: #1002002, reproducible-builds/diffoscope#297)
 - Support OCaml versions 4.11, 4.12 and 4.13. (Closes: #1002678)
 - Add support for XMLb files. (Closes: reproducible-builds/diffoscope#295)
 - Also add, for example, /usr/lib/x86_64-linux-gnu to our internal PATH.
 - Also recognize "GnuCash file" files as XML.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=50
2022-01-07 09:00:26 +00:00
Sebastian Wagner
5c113aee5b - update to version 198:
- Support showing "Ordering differences only" within .dsc field values.
   (Closes: #1002002, reproducible-builds/diffoscope#297)
 - Support OCaml versions 4.11, 4.12 and 4.13. (Closes: #1002678)
 - Add support for XMLb files. (Closes: reproducible-builds/diffoscope#295)
 - Also add, for example, /usr/lib/x86_64-linux-gnu to our internal PATH.
 - Also recognize "GnuCash file" files as XML.
- update to version 197:
 - Drop unnecessary has_same_content_as logging calls.
 - Ignore the new "binary-with-bad-dynamic-table" Lintian tag.
 - Support pgpdump 0.34 in the tests. Thanks to Michael Weiss
   <dev.primeos@gmail.com> for reporting and testing the fix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=49
2022-01-03 11:42:32 +00:00
Dominique Leuenberger
dda9164f5c Accepting request 942345 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/942345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=25
2021-12-24 19:23:20 +00:00
Sebastian Wagner
ab5f1dd3cb - update to version 197:
- Drop unnecessary has_same_content_as logging calls.
 - Ignore the new "binary-with-bad-dynamic-table" Lintian tag.
 - Support pgpdump 0.34 in the tests. Thanks to Michael Weiss
   <dev.primeos@gmail.com> for reporting and testing the fix.
- update to version 196:
 - Add a comment/annotation when the GNU_BUILD_ID field has been modified.
 - Fix the "Black" version detection.
 - Replace "token" with anonymous variable "x" in order to remove extra lines.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=48
2021-12-17 12:00:28 +00:00
Dominique Leuenberger
40f8d0dfdd Accepting request 939576 from devel:languages:python
- - update to version 196:
 - Add a comment/annotation when the GNU_BUILD_ID field has been modified.
 - Fix the "Black" version detection.
 - Replace "token" with anonymous variable "x" in order to remove extra lines.
- update to version 195:
 - Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.
- - update to version 195:
 - Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.

OBS-URL: https://build.opensuse.org/request/show/939576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=24
2021-12-11 23:57:44 +00:00
0d1a450219 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=47 2021-12-11 11:53:46 +00:00
Dominique Leuenberger
8297a26931 Accepting request 935760 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/935760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=23
2021-12-05 21:46:18 +00:00
Sebastian Wagner
07f29b1279 - update to version 195:
- Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=45
2021-12-05 19:19:36 +00:00
Sebastian Wagner
5ced5d583c remove bogous change line
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=44
2021-11-28 18:09:06 +00:00
Sebastian Wagner
435af95378 - Changed Source URL from stale https://github.com/cslarsen/jp2a to active fork https://github.com/Talinx/jp2a
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=43
2021-11-28 18:00:35 +00:00
Sebastian Wagner
0765c1f8b8 - update to version 194:
- Don't traceback when comparing nested directories with non-directories.
   (Closes: reproducible-builds/diffoscope#288)
- update to version 193:
 - Don't duplicate file lists at each directory level.
   (Closes: #989192, reproducible-builds/diffoscope#263)
 - When pretty-printing JSON, mark the difference as such, additionally
   avoiding including the full path.
   (Closes: reproducible-builds/diffoscope#205)
 - Codebase improvements:
   - Update a bunch of %-style string interpolations into f-strings or
     str.format.
   - Import itertools top-level directly.
   - Drop some unused imports.
   - Use isinstance(...) over type(...) ==
   - Avoid aliasing variables if we aren't going to use them.
 - Fix missing diff output on large diffs.
 - Ignore a Python warning coming from a dependent library (triggered by
   supporting Python 3.10)
 - Document that support both Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=42
2021-11-28 07:32:57 +00:00
Dominique Leuenberger
846faa89f9 Accepting request 934266 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/934266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=22
2021-11-27 22:42:36 +00:00
Sebastian Wagner
58a6fc84d6 - - update to version 193:
- Don't duplicate file lists at each directory level.
   (Closes: #989192, reproducible-builds/diffoscope#263)
 - When pretty-printing JSON, mark the difference as such, additionally
   avoiding including the full path.
   (Closes: reproducible-builds/diffoscope#205)
 - Codebase improvements:
   - Update a bunch of %-style string interpolations into f-strings or
     str.format.
   - Import itertools top-level directly.
   - Drop some unused imports.
   - Use isinstance(...) over type(...) ==
   - Avoid aliasing variables if we aren't going to use them.
 - Fix missing diff output on large diffs.
 - Ignore a Python warning coming from a dependent library (triggered by
   supporting Python 3.10)
 - Document that support both Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=41
2021-11-20 15:11:19 +00:00
Sebastian Wagner
7128d891ca - update to version 192:
- Update .epub test methodology after improving XML file parsing.
- update to version 191:
 - Detect XML files as XML files if either file(1) claims if they are XML
   files, or if they are named .xml.
   (Closes: #999438, reproducible-builds/diffoscope#287)
 - Don't reject Debian .changes files if they contain non-printable
   characters. (Closes: reproducible-builds/diffoscope#286)
 - Continue loading a .changes file even if the referenced files inside it do
   not exist, but include a comment in the diff as a result.
 - Log the reason if we cannot load a Debian .changes file.
 - Fix inverted logic in the assert_diff_startswith() utility.
- update to version 190:
 - Don't raise a traceback if we cannot de-marshal Python bytecode to support
   Python 3.7 loading newer .pyc files.
   (Closes: reproducible-builds/diffoscope#284)
 - Fix Python tests under Python 3.7 with file 5.39+.
 - Skip Python bytecode testing when "file" is older than 5.39.
 - Detect whether the GNU_BUILD_ID field has been modified.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=40
2021-11-14 21:14:52 +00:00
Dominique Leuenberger
9057adc1ef Accepting request 928848 from devel:languages:python
- update to version 189:
 - Try some alternative suffixes (eg. ".py") to support distributions that
   strip or retain them. (Closes: reproducible-builds/diffoscope#283)
 - Skip Python bytecode testing where we do not have an expected diff.
   (Closes: reproducible-builds/diffoscope#284)
 - Refactor the find_executable utility into an explicit method.
 - Split out a custom call to assert_diff to support a .startswith equivalent.
 - Use skipif instead of manual conditionals in some tests.
 - Add an external tool reference for Guix to support ppudump and dumppdf.
 - Update uImage test output for file(1) version 5.41.
 - Add Arch Linux as CI test target.
 - Add external tools on Arch Linux for ffmpeg, openssl and ocalobjinfo.
- update to version 188:
 - Add support for Python Sphinx inventory files, usually named objects.inv.
 - Fix Python bytecode decompilation tests with Python 3.10+.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/request/show/928848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=21
2021-11-03 16:25:38 +00:00
Sebastian Wagner
42e6bec57f - update to version 189:
- Try some alternative suffixes (eg. ".py") to support distributions that
   strip or retain them. (Closes: reproducible-builds/diffoscope#283)
 - Skip Python bytecode testing where we do not have an expected diff.
   (Closes: reproducible-builds/diffoscope#284)
 - Refactor the find_executable utility into an explicit method.
 - Split out a custom call to assert_diff to support a .startswith equivalent.
 - Use skipif instead of manual conditionals in some tests.
 - Add an external tool reference for Guix to support ppudump and dumppdf.
 - Update uImage test output for file(1) version 5.41.
 - Add Arch Linux as CI test target.
 - Add external tools on Arch Linux for ffmpeg, openssl and ocalobjinfo.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=39
2021-11-02 19:30:09 +00:00
Sebastian Wagner
50ae84a431 - update to version 188:
- Add support for Python Sphinx inventory files, usually named objects.inv.
 - Fix Python bytecode decompilation tests with Python 3.10+.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=38
2021-10-22 09:04:21 +00:00
Dominique Leuenberger
9c6c6efc2c Accepting request 925543 from devel:languages:python
- update to version 187:
 - Add support for comparing .pyc files. Thanks to Sergei Trofimovich.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/request/show/925543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=20
2021-10-15 21:04:38 +00:00
Dominique Leuenberger
861c536fb7 Accepting request 924342 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/924342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=19
2021-10-11 13:31:28 +00:00
Sebastian Wagner
e05a62805e - update to version 187:
- Add support for comparing .pyc files. Thanks to Sergei Trofimovich.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=36
2021-10-09 10:25:42 +00:00
Dominique Leuenberger
02eed08af6 Accepting request 922649 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/922649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=18
2021-10-04 16:39:37 +00:00
Sebastian Wagner
567ac85a8e - update to version 186:
- Don't call close_archive when garbage-collecting Archive instances unless
   open_archive returned successfully. This prevents, amongst others, an
   AttributeError traceback due to PGPContainer's cleanup routines assuming
   that its temporary directory had been created.
   (Closes: reproducible-builds/diffoscope#276)
 - Ensure that the string "RPM archives" exists in the package description,
   regardless of whether python3-rpm is installed or not at build time.
 - Fix the LVM Macho comparator for non-x86-64 architectures.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=34
2021-10-02 06:53:02 +00:00
Sebastian Wagner
b370747851 - update to version 185:
- Fix the autopkgtest in order to fix testing migration: the androguard
   Python module is not in the python3-androguard Debian package
 - Ignore a warning in the tests from the h5py package that doesn't concern
   diffoscope.
 - Bump Standards-Version to 4.6.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=33
2021-09-24 19:36:39 +00:00
Sebastian Wagner
c0028a6362 - update to version 184:
- Fix the semantic comparison of R's .rdb files after a refactoring of
   temporary directory handling in a previous version.
 - Support a newer format version of R's .rds files.
 - Update tests for OCaml 4.12. (Closes: reproducible-builds/diffoscope#274)
 - Move diffoscope.versions to diffoscope.tests.utils.versions.
 - Use assert_diff in tests/comparators/test_rdata.py.
 - Reformat various modules with Black.
 - Stop using the deprecated distutils module by adding a version
   comparison class based on the RPM version rules.
 - Update invocations of llvm-objdump for the latest version of LLVM.
 - Adjust a test with one-byte text file for file(1) version 5.40.
 - Improve the parsing of the version of OpenSSH.
 - Add a --diff-context option to control the unified diff context size.
   (reproducible-builds/diffoscope!88)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=32
2021-09-18 20:19:10 +00:00
Dominique Leuenberger
ea39d925db Accepting request 918464 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/918464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=17
2021-09-11 20:24:32 +00:00
Sebastian Wagner
9209d7533b - update to version 183:
- Add support for extracting Android signing blocks.
   (Closes: reproducible-builds/diffoscope#246)
 - Format debug messages for elf sections using our
   diffoscope.utils.format_class utility.
 - Clarify a comment about the HUGE_TOOLS dict in diffoscope.external_tools.
 - Clarify output around APK Signing Blocks and remove an accidental duplicate
   "0x" prefix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=31
2021-09-04 17:53:37 +00:00
Sebastian Wagner
927038715f - update to version 182:
- Also ignore, for example, spurious "fwGCC: (Debian ... )" lines in output
   from strings(1).
 - Only use "java -jar /path/to/apksigner.jar" if we have a .jar as newer
   versions of apksigner use a shell wrapper script which will obviously be
   rejected by the JVM. Also mention in the diff if apksigner is missing.
 - Pass "-f" to apktool to avoid creating a strangely-named subdirectory and
   to simplify code.
 - If we specify a suffix for temporary file or directory, ensure it starts
   with a "_" to make the generated filenames more human-readable.
 - Drop an unused File import.
 - Update the minimum version of the Black source code formatter.
 - Support parsing the return value of squashfs versions which discriminate
   between fatal and non-fatal errors.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=30
2021-08-29 09:46:22 +00:00
Dominique Leuenberger
0b787980aa Accepting request 914687 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/914687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=16
2021-08-28 20:29:07 +00:00
Sebastian Wagner
4303422abe - update to version 181:
- New features and bug fixes:
   - Don't require apksigner in order to compare .apk files using apktool.
   - Add a special-case to squshfs image extraction to not fail if we aren't
     root/superuser. (Closes: #991059)
   - Reduce the maximum line length to avoid O(n^2) Wagner-Fischer algorithm,
     which meant that diff generation took an inordinate amount of time.
     (Closes: reproducible-builds/diffoscope#272)
   - Include profiling information in --debug output if --profile is not set.
   - Don't print an orphan newline when the Black source code formatter
     self-test passes.
 - Tests:
   - Update test to check specific contents of squashfs listing, otherwise it
     fails depending on the test systems uid-to-username mapping in passwd(5).
   - Assign "seen" and "expected" values to local variables to improve
     contextual information in/around failed tests.
 - Misc changes:
   - Print the size of generated HTML, text (etc.) reports.
   - Profile calls to specialize and diffoscope.diff.linediff.
   - Update various copyright years.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=29
2021-08-20 19:50:09 +00:00
Richard Brown
b55d59d065 Accepting request 912302 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/912302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=15
2021-08-18 06:55:40 +00:00
Sebastian Wagner
baebb39636 - update to version 180:
- Don't include specific ".debug"-like lines in the output, as it invariably
   a duplicate of the debug ID that exists in a better form in the readelf(1)
   differences for this file.
 - Also ignore include short "GCC" lines that differs on a single prefix byte
   too. These are distracting, not very useful and are simply the strings(1)
   command's idea of the build ID, which, again, is displayed nearby in the
   file's diff.
 - Update the invocation arguments and tests for the latest version of
   odt2txt.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=28
2021-08-08 18:05:00 +00:00
Dominique Leuenberger
80909bddd6 Accepting request 910469 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/910469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=14
2021-08-06 20:44:57 +00:00
Sebastian Wagner
15678cc35d - update to version 179:
- Ensure that various LLVM tools are installed, even when testing whether
   a MacOS binary has zero differences when compared to itself.
   (Closes: reproducible-builds/diffoscope#270)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=27
2021-07-30 08:21:58 +00:00
Dominique Leuenberger
acbede907d Accepting request 908133 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/908133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=13
2021-07-25 18:09:17 +00:00
Sebastian Wagner
83bc7aaceb - update to version 178:
- Don't traceback on an broken symlink in a directory.
   (Closes: reproducible-builds/diffoscope#269)
 - Rewrite the calculation of a file's "fuzzy hash" to make the control
   flow cleaner.
 - Support .deb package members compressed with the Zstandard algorithm.
   (LP: #1923845)
 - Overhaul the Mach-O executable file comparator.
 - Implement tests for the Mach-O comparator.
 - Switch to new argument format for the LLVM compiler.
 - Fix test_libmix_differences in testsuite for the ELF format.
 - Improve macOS compatibility for the Mach-O comparator.
 - Add llvm-readobj and llvm-objdump to the internal EXTERNAL_TOOLS data
   structure.
 - Invoke gzip(1) with the short option variants to support Busybox's gzip.
- Update to version 177:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=26
2021-07-18 09:44:52 +00:00
Dominique Leuenberger
c040f1fb03 Accepting request 898403 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/898403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=12
2021-06-09 19:52:37 +00:00
Sebastian Wagner
a786446b8c Accepting request 898331 from home:susnux:branches:devel:languages:python
Update to version 177

OBS-URL: https://build.opensuse.org/request/show/898331
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=24
2021-06-08 12:36:52 +00:00
Dominique Leuenberger
5efd11b726 Accepting request 897652 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/897652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=11
2021-06-05 21:31:37 +00:00
Sebastian Wagner
58cb087d1c remove obsolete file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=22
2021-05-29 07:46:54 +00:00
Sebastian Wagner
42831c6c34 - Update ffmpeg tests to work with ffmpeg 4.4.
(Closes: reproducible-builds/diffoscope#258)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=21
2021-05-29 07:46:35 +00:00