SHA256
1
0
forked from pool/diffoscope

Compare commits

..

111 Commits

Author SHA256 Message Date
Ana Guerrero
04ecef9a06 Accepting request 1233064 from devel:languages:python
- update to version 284:
 - Simplify tests_quines.py::test_{differences,differences_deb} to use
   assert_diff and not mangle the expected test output.
 - Update some tests to support file(1) version 5.46.
   (Closes: reproducible-builds/diffoscope#395)
- update test skips, remove test_diff, add test_obj_identification
- update to version 283:
 - Fix crash when objdump is missing when checking .EFI files.
- update to version 282:
 - Ignore errors when listing .ar archives. (Closes: #1085257)
 - Update copyright years.
- update to version 281:
 - Don't try and test with systemd-ukify within Debian stable.
 - Add support for UKI files.
- update to version 280:
 - Drop Depends on deprecated python3-pkg-resources. (Closes: #1083362)
- update to version 279:
 - Drop removal of calculated basename from readelf output.
   (Closes: reproducible-builds/diffoscope#394)
- update to version 278:
 - Temporarily remove procyon-decompiler from Build-Depends as it was removed
   from testing (#1057532). (Closes: #1082636)
 - Add a helpful contextual message to the output if comparing Debian .orig
   tarballs within .dsc files without the ability to "fuzzy-match" away the
   leading directory. (Closes: reproducible-builds/diffoscope#386)
 - Correctly invert "X% similar" value and do not emit "100% similar".
   (Closes: reproducible-builds/diffoscope#391)
 - Update copyright years.
- update to version 277:
 - Don't crash when attempting to hashing symlinks with targets that point to
   a directory.
- update to version 276:
 - Also catch RuntimeError when importing PyPDF so that PyPDF or, crucially,
   its transitive dependencies do not cause diffoscope to traceback at runtime
   and build time. (Closes: #1078944, reproducible-builds/diffoscope#389)
 - Factor out a method for stripping ANSI escapes.
 - Strip ANSI escapes from the output of Procyon. Thanks, Aman Sharma!
 - Update copyright years.
- update to version 275:
 - Update the test_zip.py text fixtures and definitions to support new changes
   to IO::Compress. (Closes: #1078050)
 - Do not call marshal.loads(...) of precompiled Python bytecode as it is
   inherently unsafe. Replace, at least for now, with a brief summary of the
   code section of .pyc files. (Re: reproducible-builds/diffoscope#371)
 - Don't bother to check the Python version number in test_python.py: the
   fixture for this test is deterministic/fixed.
 - Update copyright years.
- update to version 274:
 - Add support for IO::Compress::Zip >= 2.212. (Closes: #1078050)
 - Don't include debug output when calling dumppdf(1).
 - Append output from dumppdf(1) in more cases.
   (Closes: reproducible-builds/diffoscope#387)
 - Update copyright years.
 - Update the available architectures for test dependencies.
- update to version 273:
 - Factor out version detection in test_jpeg_image. (Re:
   reproducible-builds/diffoscope#384)
 - Ensure that 'convert' is from Imagemagick 6.x; we will need to update a
   few things with IM7. (Closes: reproducible-builds/diffoscope#384)
 - Correct import of identify_version after refactoring change in 037bdcbb0.
 - tests:
   + Add OpenSSH key test with a ed25519 key.
   + Skip the OpenSSH test with DSA key if openssh is >> 9.7
   + Support ffmpeg >= 7 that adds some extra context to the diff
 - Do not ignore testing in gitlab-ci.

OBS-URL: https://build.opensuse.org/request/show/1233064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=47
2024-12-23 15:53:38 +00:00
Sebastian Wagner
b747ba2779 - update to version 284:
- Simplify tests_quines.py::test_{differences,differences_deb} to use
   assert_diff and not mangle the expected test output.
 - Update some tests to support file(1) version 5.46.
   (Closes: reproducible-builds/diffoscope#395)
- update test skips, remove test_diff, add test_obj_identification

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=99
2024-12-22 20:31:03 +00:00
Sebastian Wagner
962d0c8913 - update to version 283:
- Fix crash when objdump is missing when checking .EFI files.
- update to version 282:
 - Ignore errors when listing .ar archives. (Closes: #1085257)
 - Update copyright years.
- update to version 281:
 - Don't try and test with systemd-ukify within Debian stable.
 - Add support for UKI files.
- update to version 280:
 - Drop Depends on deprecated python3-pkg-resources. (Closes: #1083362)
- update to version 279:
 - Drop removal of calculated basename from readelf output.
   (Closes: reproducible-builds/diffoscope#394)
- update to version 278:
 - Temporarily remove procyon-decompiler from Build-Depends as it was removed
   from testing (#1057532). (Closes: #1082636)
 - Add a helpful contextual message to the output if comparing Debian .orig
   tarballs within .dsc files without the ability to "fuzzy-match" away the
   leading directory. (Closes: reproducible-builds/diffoscope#386)
 - Correctly invert "X% similar" value and do not emit "100% similar".
   (Closes: reproducible-builds/diffoscope#391)
 - Update copyright years.
- update to version 277:
 - Don't crash when attempting to hashing symlinks with targets that point to
   a directory.
- update to version 276:
 - Also catch RuntimeError when importing PyPDF so that PyPDF or, crucially,
   its transitive dependencies do not cause diffoscope to traceback at runtime
   and build time. (Closes: #1078944, reproducible-builds/diffoscope#389)
 - Factor out a method for stripping ANSI escapes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=98
2024-12-02 21:12:36 +00:00
Ana Guerrero
27612d5498 Accepting request 1186403 from devel:languages:python
- update to 272:
  * Move away from using DSA OpenSSH keys in tests; support has
    been removed in OpenSSH 9.8p1.
  * Move to assert_diff helper in test_openssh_pub_key.py
  * Update tests to support zipdetails version 4.004 shipped with
    Perl 5.40.
  * Drop apktool from Build-Depends; we can still test our APK
    code via autopkgtests. (Closes: #1071410)
  * Fix tests for 7zip version 24.05.
  * Add a versioned dependency for at least version 5.4.5 for the
    xz tests; they fail under (at least xz 5.2.8).
  * Relax Chris' versioned xz test dependency (5.4.5) to also
    allow version 5.4.1.
  * Include "xz --verbose --verbose" (ie. double --verbose)
    output, not just the single --verbose. (Closes: #1069329)
  * Only include "xz --list" output if the xz has no other
    differences.
  * Use "xz --list" to supplement the output when comparing .xz
    archives; essential when some underlying metadata differs.
  * Actually append the xz --list after the container
    differences, as it simplifies tests and the output.
  * Maintain an in-header boolean state to determine whether to
    drop from-file/to-file lines. This fixes an issue where HTML
    differences were being inadvertendly neglected.

OBS-URL: https://build.opensuse.org/request/show/1186403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=46
2024-07-09 18:06:08 +00:00
Ana Guerrero
8528dd6565 Accepting request 1169826 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1169826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=45
2024-04-23 16:57:07 +00:00
Sebastian Wagner
3a8ee548e0 Accepting request 1169750 from home:smolsheep:upgrades
- Update to 265:
  * Ensure that tests with ">=" version constraints actually print
    the corresponding tool name.
    (Closes: reproducible-builds/diffoscope#370)
  * Prevent odt2txt tests from always being skipped due to an
    impossibly new version requirement.
    (Closes: reproducible-builds/diffoscope#369)
  * Avoid nested parens-in-parens when printing "skipping…"
    messages in the testsuite.
- Update to 264:
  * Don't crash on invalid zipfiles, even if we encounter 'badness'
    halfway through the file. (Re: #1068705)
  * Add note when there are duplicate entries in ZIP files.
    (Closes: reproducible-builds/diffoscope!140)
  * Add an external tool reference for GNU Guix for zipdetails.
- Update to 263:
  * Add support for the zipdetails(1) tool included in the Perl
    distribution.
  * Don't use parenthesis within test "skipping…" messages; PyTest
    adds its own parenthesis, so we were ending up with double
    nested parens.
  * Fix the .epub tests after supporting zipdetails(1).
  * Update copyright years and debian/tests/control.
  * Fix MozillaZipContainer's monkeypatch after Python's zipfile
    module changed to detect potentially insecure overlapping
    entries within .zip files.
    (Closes: reproducible-builds/diffoscope#362)
- Update to 262:
  * Factor out Python version checking in test_zip.py. (Re: #362)
  * Also skip some zip tests under 3.10.14 as well; a potential
    regression may have been backported to the 3.10.x series. The
    underlying cause is still to be investigated. (Re: #362)

OBS-URL: https://build.opensuse.org/request/show/1169750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=94
2024-04-23 07:46:36 +00:00
Ana Guerrero
c9d09b54d9 Accepting request 1161156 from devel:languages:python
- update to 261 (bsc#1220157, CVE-2024-25711):
  * Don't crash if we encounter an .rdb file without an
    equivalent .rdx file.
  * Actually test 7z support in the test_7z set of tests, not the
    lz4 functionality.
  * In addition, correctly check for the 7z binary being
    available (and not lz4) when testing 7z.
  * Prevent a traceback when comparing a contentful .pyc file
    with an empty one. (Re: Debian:#1064973)
  * Don't error-out with a traceback if we encounter
    "struct.unpack"-related errors when parsing .pyc files.
  * Fix compatibility with PyTest 8.0.
  * Don't try and compare rdb_expected_diff on non-GNU systems as
    %p formatting can vary.
  * Use the 7zip package (over p7zip-full) after package
    transition.
  * Parse the header and hunksize of diffs strictly before
    parsing the context below.
  * Reformat code to comply with the latest version of Black
    (24.1.1).
  * Expand the previous changelog entry to include the CVE number
    that was subsequently assigned.
  * Bump the miniumum Black requirement to run the "Black clean"
    test and make test_zip.py Black clean.
  * CVE-2024-25711: Use a determistic name when extracting
    content from GPG artifacts instead of trusting the value of
    gpg's --use- embedded-filenames.
  * Temporarily fix support for Python 3.11.8 re. a potential
    regression with the handling of ZIP files.
  * Add/fix compatibility for Python progressbar 2.5 & 3.0 etc.

OBS-URL: https://build.opensuse.org/request/show/1161156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=44
2024-03-25 20:10:48 +00:00
de8e59e3e0 - update to 261 (bsc#1220157, CVE-2024-25711):
* Don't crash if we encounter an .rdb file without an
    equivalent .rdx file.
  * Actually test 7z support in the test_7z set of tests, not the
    lz4 functionality.
  * In addition, correctly check for the 7z binary being
    available (and not lz4) when testing 7z.
  * Prevent a traceback when comparing a contentful .pyc file
    with an empty one. (Re: Debian:#1064973)
  * Don't error-out with a traceback if we encounter
    "struct.unpack"-related errors when parsing .pyc files.
  * Fix compatibility with PyTest 8.0.
  * Don't try and compare rdb_expected_diff on non-GNU systems as
    %p formatting can vary.
  * Use the 7zip package (over p7zip-full) after package
    transition.
  * Parse the header and hunksize of diffs strictly before
    parsing the context below.
  * Reformat code to comply with the latest version of Black
    (24.1.1).
  * Expand the previous changelog entry to include the CVE number
    that was subsequently assigned.
  * Bump the miniumum Black requirement to run the "Black clean"
    test and make test_zip.py Black clean.
  * CVE-2024-25711: Use a determistic name when extracting
    content from GPG artifacts instead of trusting the value of
    gpg's --use- embedded-filenames.
  * Temporarily fix support for Python 3.11.8 re. a potential
    regression with the handling of ZIP files.
  * Add/fix compatibility for Python progressbar 2.5 & 3.0 etc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=92
2024-03-24 18:02:10 +00:00
Dominique Leuenberger
6e17d1e269 Accepting request 1121673 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=43
2023-11-01 21:10:59 +00:00
Sebastian Wagner
89f56066a8 Accepting request 1121667 from home:amanzini:branches:devel:languages:python
- removed patch fix-file-5.45.patch as included in upstream
- Update to version 251:
  * If the equivalent of `file -i` returns text/plain, fallback to comparing
    this file as a text file. This especially helps when file(1) miscategorises
    text files as some esoteric type. 
- Update to version 250:
  * Fix compatibility with file 5.45. 
  * Add external tool references for GNU Guix (for html2text and ttx).
- Update to version 249:
  * Add specialize_as() method, and use it to speed up .smali comparison in APKs.
  * Add documentation for the new specialize_as, and expand the documentation
    of `specialize` too. 
  * Correct typos in diffoscope/presenters/utils.py.
- Update to version 246:
  * Add support for LLVM 16.
- Update to version 244:
  * Address compatibility with python-libarchive-c version 5.
  * Testsuite changes
- Update to version 243:
  * Improve the documentation on to produce that binary blob that in the arsc comparator.

OBS-URL: https://build.opensuse.org/request/show/1121667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=90
2023-11-01 18:28:42 +00:00
Dominique Leuenberger
b0372f3194 Accepting request 1102459 from devel:languages:python
- Add fix-file-5.45.patch to fix compatibility with file version 5.45
  https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/346
- update to version 242:
 - If the binwalk Python module is not available, ensure the user knows they
   may be missing more differences in, for example, concatenated .cpio
   archives.
 - Factor out routine to generate a human-readable comments when
   Python modules are missing.

OBS-URL: https://build.opensuse.org/request/show/1102459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=42
2023-08-06 14:29:33 +00:00
Sebastian Wagner
acfd2a239b - Add fix-file-5.45.patch to fix compatibility with file version 5.45
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/346
- update to version 242:
 - If the binwalk Python module is not available, ensure the user knows they
   may be missing more differences in, for example, concatenated .cpio
   archives.
 - Factor out routine to generate a human-readable comments when
   Python modules are missing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=88
2023-08-05 08:02:12 +00:00
Dominique Leuenberger
7336540967 Accepting request 1084473 from devel:languages:python
- update to 241:
  * Add a missing 'raise' statement
  * document sending out an email upon release
  * Drop the use of include_package_data=True in setup.py.
  * Fix compatibility with pypdf 3.x, and correctly restore test
    data.
  * Rework PDF annotations processing into a separate method.

OBS-URL: https://build.opensuse.org/request/show/1084473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=41
2023-05-04 15:10:48 +00:00
7d1a82eef2 - update to 241:
* Add a missing 'raise' statement
  * document sending out an email upon release
  * Drop the use of include_package_data=True in setup.py.
  * Fix compatibility with pypdf 3.x, and correctly restore test
    data.
  * Rework PDF annotations processing into a separate method.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=86
2023-05-03 19:27:16 +00:00
Dominique Leuenberger
72d1913aba Accepting request 1069107 from devel:languages:python
- update to 238:
  * autopkgtest: fix tool name in the skippable list.
  * autopkgtest: only install aapt and dexdump on architectures
    where they are available.
  * Drop backward compatibility assignment.
  * Fix flake warnings, potentially reinstating PyPDF 1.x
    support (untested).
  * Update code to match latest version of Black.
  * Require at least Black version 23.1.0 to run the internal
    Black tests.
  * Update copyright years.
  * Fix compatibility with PyPDF2.
  * Fix compatibility with ImageMagick 7.1.
  * Update from PyPDF2 to pypdf.
  * Add support for Android resources.arsc files.
  * Add support for dexdump.
  * Improve DexFile's FILE_TYPE_RE and add
    FILE_TYPE_HEADER_PREFIX, and remove
    "Dalvik dex file" from ApkFile's FILE_TYPE_RE as well.
  * Update external tool for isoinfo on guix.

OBS-URL: https://build.opensuse.org/request/show/1069107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=40
2023-03-03 21:28:24 +00:00
62d20a7201 - update to 238:
* autopkgtest: fix tool name in the skippable list.
  * autopkgtest: only install aapt and dexdump on architectures
    where they are available.
  * Drop backward compatibility assignment.
  * Fix flake warnings, potentially reinstating PyPDF 1.x
    support (untested).
  * Update code to match latest version of Black.
  * Require at least Black version 23.1.0 to run the internal
    Black tests.
  * Update copyright years.
  * Fix compatibility with PyPDF2.
  * Fix compatibility with ImageMagick 7.1.
  * Update from PyPDF2 to pypdf.
  * Add support for Android resources.arsc files.
  * Add support for dexdump.
  * Improve DexFile's FILE_TYPE_RE and add
    FILE_TYPE_HEADER_PREFIX, and remove
    "Dalvik dex file" from ApkFile's FILE_TYPE_RE as well.
  * Update external tool for isoinfo on guix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=84
2023-03-03 08:55:30 +00:00
Dominique Leuenberger
0e38d7740d Accepting request 1060127 from devel:languages:python
- update to 233:
  * Split packaging metadata into an extras_require.json file instead of using
    the pep517 and the pip modules directly. This was causing build failures if
    not using a virtualenv and/or building without internet access.
  * Add an external tool reference for GNU Guix (lzip).
  * Drop an external tool reference for GNU Guix (pedump).
  * Split inline Python code in shell script to generate test dependencies to a
    separate Python script.
  * No need for "from __future__ import print_function" import in setup.py
    anymore.
  * Comment and tidy the new extras_require.json handling.

OBS-URL: https://build.opensuse.org/request/show/1060127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=39
2023-01-21 18:12:29 +00:00
8d9c151bf9 - update to 233:
* Split packaging metadata into an extras_require.json file instead of using
    the pep517 and the pip modules directly. This was causing build failures if
    not using a virtualenv and/or building without internet access.
  * Add an external tool reference for GNU Guix (lzip).
  * Drop an external tool reference for GNU Guix (pedump).
  * Split inline Python code in shell script to generate test dependencies to a
    separate Python script.
  * No need for "from __future__ import print_function" import in setup.py
    anymore.
  * Comment and tidy the new extras_require.json handling.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=82
2023-01-21 11:18:59 +00:00
Dominique Leuenberger
1b430514a9 Accepting request 1059331 from devel:languages:python
- Update to version 232:
  * Allow ICC tests to (temporarily) fail.
  * Update debian/tests/control after the addition of PyPDF 3 support.
  * Update regular expression for Android .APK files.
  * Support PyPDF version 3.
- 231:
  * Improve "[X] may produce better output" messages. Based on a patch by
    Helmut Grohne. (Closes: #1026982)
- 230:
  * Fix compatibility with file(1) version 5.43; thanks, Christoph Biedl.
  * Support Berkeley DB version 6.
- 229:
  * Skip test_html.py::test_diff if html2text is not installed.
    (Closes: #1026034)
  * Bump standards version to 4.6.2, no changes needed.
- 228:
  * As an optimisation, don't run apktool if no differences are detected before
    the signing block. (Closes: reproducible-builds/diffoscope!105)
  * Support both the python3-progressbar and python3-progressbar2 Debian
    packages, two modules providing the "progressbar" Python module.
    (Closes: reproducible-builds/diffoscope#323)
  * Ensure we recommend apksigcopier. (Re: reproducible-builds/diffoscope!105)
  * Make the code clearer around generating the Debian substvars and tidy
    generation of os_list.
  * Update copyright years.
- 227:
  * Don't attempt to attach text-only differences notice if there are no
    differences to begin with. (Closes: #1024171, #1024349)
  * Don't run Python decompiling tests on Python bytecode that both file(1)
    cannot yet detect and Python 3.11 cannot demarshall. (Closes: #1024335)
- 226:
  * Add an lzip comparator with tests.
  * Add support for comparing the "text" content of HTML files using html2text.
    (Closes: #1022209, reproducible-builds/diffoscope#318)
  * Misc/test improvements:
    * Drop the ALLOWED_TEST_FILES test; it's mostly just annoying.
    * Drop other copyright notices from lzip.py and test_lzip.py.
    * Use assert_diff helper in test_lzip.py.
    * Pylint tests/test_source.py.
  * Add lzip to debian dependencies.
- 225:
  * Add support for detecting ordering-only differences in XML files.
    (Closes: #1022146)
  * Fix an issue with detecting ordering differences. (Closes: #1022145)
  * Add support for ttx(1) from fonttools.
    (Re: reproducible-builds/diffoscope#315)
  * Test improvements:
    - Tidy up the JSON tests and use assert_diff over get_data and manual
      assert in XML tests.
    - Rename order1.diff to json_expected_ordering_diff for consistency.
    - Temporarily allow the stable-po pipeline to fail in the CI.
  * Use consistently capitalised "Ordering" everywhere we use the word in
    diffoscope's output.
- 224:
  * Fix rlib test failure with LLVM 15. Thanks to Gianfranco Costamagna
    (locutusofborg) for the patch.
- 223:
  * The cbfstools utility is now provided in Debian via the coreboot-utils
    Debian package, so we can enable that functionality within Debian.
    (Closes: #1020630)
  * Also include coreboot-utils in Build-Depends and Test-Depends so it is
    available for the tests.
  * Add support for file 5.43.
- 222:
  * Use pep517 and pip to load the requirements. (Closes: #1020091)
  * Remove old Breaks/Replaces in debian/control that have been obsoleted since
    bullseye

OBS-URL: https://build.opensuse.org/request/show/1059331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=38
2023-01-18 13:23:15 +00:00
aa95e51a97 - Update to version 232:
* Allow ICC tests to (temporarily) fail.
  * Update debian/tests/control after the addition of PyPDF 3 support.
  * Update regular expression for Android .APK files.
  * Support PyPDF version 3.
- 231:
  * Improve "[X] may produce better output" messages. Based on a patch by
    Helmut Grohne. (Closes: #1026982)
- 230:
  * Fix compatibility with file(1) version 5.43; thanks, Christoph Biedl.
  * Support Berkeley DB version 6.
- 229:
  * Skip test_html.py::test_diff if html2text is not installed.
    (Closes: #1026034)
  * Bump standards version to 4.6.2, no changes needed.
- 228:
  * As an optimisation, don't run apktool if no differences are detected before
    the signing block. (Closes: reproducible-builds/diffoscope!105)
  * Support both the python3-progressbar and python3-progressbar2 Debian
    packages, two modules providing the "progressbar" Python module.
    (Closes: reproducible-builds/diffoscope#323)
  * Ensure we recommend apksigcopier. (Re: reproducible-builds/diffoscope!105)
  * Make the code clearer around generating the Debian substvars and tidy
    generation of os_list.
  * Update copyright years.
- 227:
  * Don't attempt to attach text-only differences notice if there are no
    differences to begin with. (Closes: #1024171, #1024349)
  * Don't run Python decompiling tests on Python bytecode that both file(1)
    cannot yet detect and Python 3.11 cannot demarshall. (Closes: #1024335)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=80
2023-01-18 10:18:13 +00:00
Dominique Leuenberger
269771d781 Accepting request 1005453 from devel:languages:python
- update to version 221:
 - Don't crash if we can open a PDF file with PyPDF but cannot parse the
   annotations within. (Closes: reproducible-builds/diffoscope#311)
 - Depend on the dedicated xxd package, not vim-common.
 - Update external_tools.py to reflect xxd/vim-common change.
- Remove test_python.test_diff because it's failing, it's not recognizing the
  pyc file type with the tests fixtures
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561

OBS-URL: https://build.opensuse.org/request/show/1005453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=37
2022-09-23 12:15:08 +00:00
ec55d39101 - update to version 221:
- Don't crash if we can open a PDF file with PyPDF but cannot parse the
   annotations within. (Closes: reproducible-builds/diffoscope#311)
 - Depend on the dedicated xxd package, not vim-common.
 - Update external_tools.py to reflect xxd/vim-common change.
- Remove test_python.test_diff because it's failing, it's not recognizing the
  pyc file type with the tests fixtures
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=78
2022-09-22 17:04:54 +00:00
Dominique Leuenberger
51cd9bd259 Accepting request 998322 from devel:languages:python
- update to version 220:
 - Support Haskell 9.x series files and update the test files to match. Thanks
   to Scott Talbert for the relevant info about the new format.
   (Closes: reproducible-builds/diffoscope#309)
 - Fix a regression introduced in diffoscope version 207 where diffoscope
   would crash if one directory contained a directory that wasn't in the
   other. Thanks to Alderico Gallo for the report and the testcase.
   (Closes: reproducible-builds/diffoscope#310)
- update to version 219:
 - Don't traceback if we encounter an invalid Unicode character in Haskell
   versioning headers. (Closes: reproducible-builds/diffoscope#307)
 - Update various copyright years.
- update to version 218:
 - Improve output of Markdown and reStructuredText to use code blocks with
   syntax highlighting. (Closes: reproducible-builds/diffoscope#306)
- update to version 217:
 - Update test fixtures for GNU readelf 2.38 (now in Debian unstable).
 - Be more specific about the minimum required version of readelf (ie.
   binutils) as it appears that this "patch" level version change resulted in
   a change of output, not the "minor" version. (Closes: #1013348)
 - Don't leak the (likely-temporary) pathname when comparing PDF documents.

OBS-URL: https://build.opensuse.org/request/show/998322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=36
2022-08-20 18:29:15 +00:00
Sebastian Wagner
2fca88f140 - update to version 220:
- Support Haskell 9.x series files and update the test files to match. Thanks
   to Scott Talbert for the relevant info about the new format.
   (Closes: reproducible-builds/diffoscope#309)
 - Fix a regression introduced in diffoscope version 207 where diffoscope
   would crash if one directory contained a directory that wasn't in the
   other. Thanks to Alderico Gallo for the report and the testcase.
   (Closes: reproducible-builds/diffoscope#310)
- update to version 219:
 - Don't traceback if we encounter an invalid Unicode character in Haskell
   versioning headers. (Closes: reproducible-builds/diffoscope#307)
 - Update various copyright years.
- update to version 218:
 - Improve output of Markdown and reStructuredText to use code blocks with
   syntax highlighting. (Closes: reproducible-builds/diffoscope#306)
- update to version 217:
 - Update test fixtures for GNU readelf 2.38 (now in Debian unstable).
 - Be more specific about the minimum required version of readelf (ie.
   binutils) as it appears that this "patch" level version change resulted in
   a change of output, not the "minor" version. (Closes: #1013348)
 - Don't leak the (likely-temporary) pathname when comparing PDF documents.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=76
2022-08-17 07:17:10 +00:00
Dominique Leuenberger
facb64ae88 Accepting request 985550 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/985550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=35
2022-06-28 13:22:59 +00:00
Sebastian Wagner
3bde7e97a7 - update to version 216:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=74
2022-06-21 09:10:02 +00:00
Sebastian Wagner
6be192d1f9 - update to version 216:
- Print profile output if we were called with --profile and we receive a
   TERM signal.
 - Emit a warning if/when we are handling a TERM signal.
 - Clarify in the code in what situations the main "finally" block gets
   called, especially in relation to handling TERM signals.
 - Clarify and tidy some unconditional control flow in diffoscope.profiling.
- update to version 215:
 - Bug fixes:
   - Also catch IndexError (in addition to ValueError) when parsing .pyc
     files. (Closes: #1012258)
   - Strip "sticky" etc. from "x.deb: sticky Debian binary package […]".
     Thanks to David Prévot for the report. (Closes: #1011635)
   - Correctly package diffoscope's scripts/ directory, fixing the extraction
     of vmlinuz kernel images. (Closes: reproducible-builds/diffoscope#305)
   - Correct the logic for supporting different versions of argcomplete in
     debian/rules.
 - New features:
   - Support both PyPDF 1.x and 2.x.
 - Codebase improvements:
   - Don't call re.compile and then call .sub on the result; just call
     re.sub directly.
   - Clarify the logic around the difference between --usage and --help.
 - Testsuite improvements:
   - Integrate test coverage with GitLab's concept of artifacts.
   - Re-enable Gnumeric tests as its now available again.
   - Test --help and --usage, and additionally test that --help includes
     the programmatically-generated file format list as well.
 - Bump Standards Version field in debian/control to 4.6.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=73
2022-06-21 09:09:20 +00:00
Dominique Leuenberger
8094765ded Accepting request 980580 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/980580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=34
2022-06-03 12:16:55 +00:00
Sebastian Wagner
5089b97c34 changelog fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=71
2022-05-27 06:44:55 +00:00
Sebastian Wagner
421198544c - update to version 214:
- Support both python-argcomplete 1.x and 2.x.
 - Add external tool on GNU Guix for xb-tool.
- update to version 213:
 - Don't mask differences in .zip/.jar central directory extra fields.
 - Don't show a binary comparison of .zip/.jar files if we have at least
   one observed nested difference.
 - Use assert_diff in test_zip over get_data and separate assert.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=70
2022-05-27 06:33:04 +00:00
Sebastian Wagner
c4c49c222d - update to version 213:
- Don't mask differences in .zip/.jar central directory extra fields.
 - Don't show a binary comparison of .zip/.jar files if we have at least
   one observed nested difference.
 - Use assert_diff in test_zip over get_data and separate assert.
- update to version 212:
 - Add support for extracting vmlinuz/vmlinux Linux kernel images.
   (Closes: reproducible-builds/diffoscope#304)
 - Some Python .pyc files report as "data", so support ".pyc" as a
   fallback extension.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=69
2022-05-22 10:16:11 +00:00
Dominique Leuenberger
b8fbc1ddf4 Accepting request 975664 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/975664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=33
2022-05-09 16:43:52 +00:00
4ad5d045e1 Accepting request 975573 from home:susnux:branches:devel:languages:python
Update to version 211

OBS-URL: https://build.opensuse.org/request/show/975573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=67
2022-05-09 04:06:20 +00:00
Dominique Leuenberger
b97a8c6f3f Accepting request 972927 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/972927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=32
2022-04-26 18:16:13 +00:00
Sebastian Wagner
f679d54568 - update to version 210:
- Make sure that PATH is properly mangled for all diffoscope actions, not
   just when running comparators.
- update to version 209:
 - Update R test fixture for R 4.2.x series. (Closes: #1008446)
 - Update minimum version of Black to prevent test failure on Ubuntu jammy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=65
2022-04-19 14:29:49 +00:00
Dominique Leuenberger
6c35fd3f39 Accepting request 967911 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/967911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=31
2022-04-08 20:46:31 +00:00
Sebastian Wagner
c323af800d - update to version 209:
- Update R test fixture for R 4.2.x series. (Closes: #1008446)
 - Update minimum version of Black to prevent test failure on Ubuntu jammy.
- update to version 208:
 - Add graceful handling for UNIX sockets and named pipes.
   (Closes: reproducible-builds/diffoscope#292)
 - Remove a superfluous log message and reformatt comment lines.
 - Reformat various files to satisfy current version of Black.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=63
2022-04-01 19:18:35 +00:00
Sebastian Wagner
96905add35 - update to version 208:
- Add graceful handling for UNIX sockets and named pipes.
   (Closes: reproducible-builds/diffoscope#292)
 - Remove a superfluous log message and reformatt comment lines.
 - Reformat various files to satisfy current version of Black.
- update to version 207:
 - Fix a gnarly regression when comparing directories against non-directories.
   (Closes: reproducible-builds/diffoscope#292)
 - Use our assert_diff utility where we can within test_directory.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=62
2022-03-25 21:21:59 +00:00
Dominique Leuenberger
65bc6111ec Accepting request 961132 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/961132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=30
2022-03-12 16:15:21 +00:00
Sebastian Wagner
30a03eb953 - update to version 207:
- Fix a gnarly regression when comparing directories against non-directories.
   (Closes: reproducible-builds/diffoscope#292)
 - Use our assert_diff utility where we can within test_directory.py
- update to version 206:
 - Also allow "Unicode text, UTF-8 text" as well as "UTF-8 Unicode text" to
   match for .buildinfo files too.
 - Add a test for recent file(1) issue regarding .changes files.
   (Re: reproducible-builds/diffoscope#291)
 - Drop "_PATH" suffix from some module-level globals that are not paths.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=60
2022-03-04 18:59:50 +00:00
Sebastian Wagner
ed7b3e98b0 - update to version 206:
- Also allow "Unicode text, UTF-8 text" as well as "UTF-8 Unicode text" to
   match for .buildinfo files too.
 - Add a test for recent file(1) issue regarding .changes files.
   (Re: reproducible-builds/diffoscope#291)
 - Drop "_PATH" suffix from some module-level globals that are not paths.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=59
2022-02-25 20:08:59 +00:00
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
Dominique Leuenberger
f03c501e32 Accepting request 894846 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/894846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=10
2021-05-21 19:50:28 +00:00
Dominique Leuenberger
36dbdc16d7 Accepting request 893114 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/893114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=9
2021-05-14 23:24:27 +00:00
Sebastian Wagner
6b13d9fb66 - update to version 175:
* Use the actual filesystem path name (instead of diffoscope's concept of the
    source name) to correct APK filename filtering when an APK file is in
    another container -- we need to filter the auto-generated "1.apk" instead
    of "original-filename.apk". (Closes: reproducible-builds/diffoscope#255)
  * Don't call os.path.basename twice.
  * Correct grammar in a fsimage.py debug message.
  * Add a comment about stripping filenames.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=18
2021-05-14 16:25:50 +00:00
Sebastian Wagner
340dbeb941 - remove fix-file-5.40.patch, merged upstream
- update to version 174:
  * Check that we are parsing an actual Debian .buildinfo file, not just
    a file with that extension.
    (Closes: deb#987994, reproducible-builds/diffoscope#254)
  * Support signed .buildinfo files again -- file(1) reports them as
    "PGP signed message".
  * Make the testsuite pass with file(1) version 5.40.
  * Embed some short test fixtures in the test code itself.
  * Fix recognition of compressed .xz files with file(1) 5.40.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=17
2021-05-07 11:46:34 +00:00
Dominique Leuenberger
bf5f97a0e8 Accepting request 889808 from devel:languages:python
- remove fix-tests-libmix_differences-2.patch, merged upstream
- remove fix-tests-libmix_differences.patch, merged upstream
- added fix-file-5.40.patch
- update to version 173
  * Add support for showing annotations in PDF files.
    (Closes: reproducible-builds/diffoscope#249)
  * Move to assert_diff in test_pdf.py.
  * Difference.__init__: Demote unified_diff argument to a Python "kwarg".
- update to version 172
  * If zipinfo(1) shows a difference but we cannot uncover a difference within
    the underlying .zip or .apk file, add a comment and show the binary
    comparison. (Closes: reproducible-builds/diffoscope#246)
  * Make "error extracting X, falling back to binary comparison E" error
    message nicer.
- update to version 171
  * Do not list as a "skipping reason" tools that do exist.
  * Drop the "compose" tool from the list of required tools for these tests,
    since it doesn't seem to be required.
- update to version 170
  * Avoid frequent long lines in RPM header outputs that cause very very slow
    HTML outputs. (Closes: reproducible-builds/diffoscope#245)
  * Fix test_libmix_differences on openSUSE Tumbleweed.
    (Closes: reproducible-builds/diffoscope#244)
  * Move test_rpm to use the assert_diff utility helper.
  * Add a diffoscope.tools.get_tools() method to support programmatically
    fetching Diffoscope's config.
  * Become tolerant of malformed Debian .changes files.
- update to version 169
  * Optimisations:
    - Use larger buffer/block sizes when extracting files from libarchive-
      based archives.
    - Use a much-shorter CSS class (instead of "diffponct") to dramatically
      reduce uncompressed HTML output.
  * Logging improvements:
    - Don't emit "Unable to stat file" warning/debug messages; we have
      entirely-artificial directory entries such as ELF sections which, of
      course, never exist as filesystem files.
    - Don't emit a "Returning a FooContainer" logging message - we already emit
      "Instantiating a FooContainer" one and are unlikely to fail in the
      middle.
    - Format the report size logging messages when generating HTML reports.
    - Add the target directory when logging which directory we are extracting
      containers to.
  * Miscellaneous:
    - Ignore "--debug" and similar arguments when creating a (hopefully useful)
      temporary directory.
    - Ensure all internal temporary directories have useful names.
    - Clarify a comment regarding diffoscope not extracting excluded files.
  * Skip a DEX-related test if the "procyon" tool is unavailable.

OBS-URL: https://build.opensuse.org/request/show/889808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=8
2021-05-02 16:36:13 +00:00
Sebastian Wagner
74fe075f83 delete removed patch files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=15
2021-05-02 10:43:14 +00:00
Sebastian Wagner
8889794a36 - remove fix-tests-libmix_differences-2.patch, merged upstream
- remove fix-tests-libmix_differences.patch, merged upstream
- added fix-file-5.40.patch
- update to version 173
  * Add support for showing annotations in PDF files.
    (Closes: reproducible-builds/diffoscope#249)
  * Move to assert_diff in test_pdf.py.
  * Difference.__init__: Demote unified_diff argument to a Python "kwarg".
- update to version 172
  * If zipinfo(1) shows a difference but we cannot uncover a difference within
    the underlying .zip or .apk file, add a comment and show the binary
    comparison. (Closes: reproducible-builds/diffoscope#246)
  * Make "error extracting X, falling back to binary comparison E" error
    message nicer.
- update to version 171
  * Do not list as a "skipping reason" tools that do exist.
  * Drop the "compose" tool from the list of required tools for these tests,
    since it doesn't seem to be required.
- update to version 170
  * Avoid frequent long lines in RPM header outputs that cause very very slow
    HTML outputs. (Closes: reproducible-builds/diffoscope#245)
  * Fix test_libmix_differences on openSUSE Tumbleweed.
    (Closes: reproducible-builds/diffoscope#244)
  * Move test_rpm to use the assert_diff utility helper.
  * Add a diffoscope.tools.get_tools() method to support programmatically
    fetching Diffoscope's config.
  * Become tolerant of malformed Debian .changes files.
- update to version 169
  * Optimisations:
    - Use larger buffer/block sizes when extracting files from libarchive-

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=14
2021-05-02 08:45:58 +00:00
Dominique Leuenberger
90841ffa8a Accepting request 880707 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/880707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=7
2021-03-24 15:15:15 +00:00
Sebastian Wagner
5eef8c2980 - add fix-tests-libmix_differences-2.patch to fix a newline in the other upstream patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=12
2021-03-16 10:47:17 +00:00
Sebastian Wagner
88f4b01d49 - activate test_differences test, as it is fixed in openSUSE TW.
- use fix-tests-libmix_differences.patch based on upstream patch and activate test_limix_differences tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=11
2021-03-15 21:09:23 +00:00
Sebastian Wagner
8d4f2107c4 - Disable failing tests explicitly instead of ignoring the exit code.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=10
2021-03-12 08:04:12 +00:00
Dominique Leuenberger
c69940f73a Accepting request 877586 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/877586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=6
2021-03-08 14:19:05 +00:00
40f0743fd4 Accepting request 877510 from home:sebix:branches:devel:languages:python
- Activate tests and only disable the failing ones, links to upstream issues.
- Update dependencies
- Update to version 168:

OBS-URL: https://build.opensuse.org/request/show/877510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=8
2021-03-08 08:36:01 +00:00
Dominique Leuenberger
2dcae2f78f Accepting request 691774 from devel:languages:python
- Add keyring to the spec file
- Use python macros
- Run fdupes
- Execute tests, but always make them pass 7 currently fail

- update to version 113
  * better handle missing helpers at runtime
  * improved handling of zip, elf, pdf, wasm(WebAssembly) formats
  * improved output readability

OBS-URL: https://build.opensuse.org/request/show/691774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=5
2019-04-08 18:52:52 +00:00
Tomáš Chvátal
a1a573139f - Add keyring to the spec file
- Use python macros
- Run fdupes
- Execute tests, but always make them pass 7 currently fail

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=6
2019-04-05 10:30:19 +00:00
Tomáš Chvátal
cb5aa6e51e Accepting request 691762 from home:bmwiedemann:branches:devel:languages:python
update to version 113
  * better handle missing helpers at runtime
  * improved handling of zip, elf, pdf, wasm(WebAssembly) formats
  * improved output readability

OBS-URL: https://build.opensuse.org/request/show/691762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=5
2019-04-05 10:07:39 +00:00
Dominique Leuenberger
245f589702 Accepting request 649348 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/649348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=4
2018-11-26 09:22:02 +00:00
Yuchen Lin
a7aa28b946 Accepting request 514078 from devel:languages:python3
1

OBS-URL: https://build.opensuse.org/request/show/514078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=3
2017-08-06 09:34:09 +00:00
Dominique Leuenberger
c7cc4b29eb Accepting request 479263 from devel:languages:python3
1

OBS-URL: https://build.opensuse.org/request/show/479263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=2
2017-03-15 00:07:01 +00:00
Dominique Leuenberger
8d0dc838a7 Accepting request 433083 from devel:languages:python3
OBS-URL: https://build.opensuse.org/request/show/433083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=1
2017-01-25 22:17:42 +00:00
6 changed files with 94 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10574313c7f048ff9af2a67351bc18b6f96f6e61af7750aba19f64b3ccdb2a78
size 3155265

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmaIADgACgkQHpU+J9Qx
HljVSA//Ul9b0grmlcq4lrrCh7LEH7vvKunRd86po031QcWxZDUkzTM8XqHcOG2Y
48AJC+KdTGzzB7xPUDlRO7m7XBBG5AisOL3E9pfF3uzoaMD99INfyPdfJ7Fjo4K6
Q/W7n2kiCzUls9FiwrwXgFlrbsYADPnJnSesjg/d52TA3+pzK1ACaDVvYDbUVSTd
lHO6tzqyyaqqSgepDpP+zzfPgmtf+EwrRDfLxA+IXjggeq7TgpFCPwvoeMo5a3Ee
oXmAHQC+YynDHcY83yuXQ0u2FWs64UP3Gigasa/4gClxx4h2lI4jVBWgKWagu9xT
dOehAl2RRLZT4rgicGiOKjvmnpqu9JMjLrBltPz10MzlgXZFvLZDPI+hB9FD0aBi
e+iGdmqxN75Wvo2utK41wKYKM5B7lZwtQGDBfcnScJezRKXbSz6P2ZIRI9rW1RS3
UqZUrYjrs7RoPHbSy4RGRPINExpFhckDuEFyR10Q0BojGgAdZEqap9v7HwN4hjav
xMhP5OuhsuRfNKbBSvEe+e+PicgvH6Ywkb/ucOBBbGaBAwZ2V76+/5zf8+17eRSP
w5cClu2M8tlLt3MXl/++Qs7y6f2L5NME++7FijE6qr0mF7If+c1HyZPYUzLY4UJO
aiqR5H0365rz6f9fLW2WLrui8cpS+Db/OMPQ6CTw9cjWdjqLdS4=
=EHMm
-----END PGP SIGNATURE-----

3
diffoscope-284.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b7d09205a11c4f737f845422e86946c74997751231cca59ff693ab9883db4f8
size 3149578

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmdS0+IACgkQHpU+J9Qx
HliG8A//cDQykZOlX8VoD+bLS6cPkdEhSdzsez5J1k4VRDGi59U45cT1bmxSueef
jTKVU7j9gPX+YBTrjdz9Wn0Pjs66qrSVIvCsxTuORKaSVFKnEmjs/CHOAKkfD/C4
If2UJelKAgGipQ9NWGigiz0T5xZGhPwEG42mRC1MKpdMOa7Vtgi3S8LDE88r/GYL
YoJgcae/3bNoPpLZytASaIxdKBL4OeMkVCN1KcDP+F8eW5MRSuKIsAIGYT84GpyO
QwjmwsWStIo5DByCtQ5JQUYtSXJ/I/+cxOLrZFW0RwRSd1XGZVraGbOlTlTyTAkJ
s16HQVxkwjEFz8RivkV6Byx/UKabJqIX0kmsAQh5P1xQ9U9w6Lm1C85nqKpdwsyO
tifajTvoM/mLdnvGaEKR8wnn/J8Whwi42ElsLYPZt/YRw9rCqc2+bvI68Fuokdqp
rYkraO3FszMyO2MW9mPj2ce8m6BZnyrJNk2qQvjXDjJ9UUm5m7JK4BCXwhcSgs9j
g7pmNzL3Q8F72ajhZycLQgf9BBVkqS8CdnEy47jPZ9ymioyVQOsolpgYVGrRUYFR
eTD+WHwLhmZsfj59Z+rqhF+dxQcuz9vLfS0fWQ4xHf0wZXsH5aVP4Zv+1/guAzQ8
q1KSCsawTGkeUjvKGGeangp1gMa3Iwoqy4aDMbXm8LNXWM8mSgw=
=VlZW
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,76 @@
-------------------------------------------------------------------
Sun Dec 22 20:29:42 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- update to version 284:
- Simplify tests_quines.py::test_{differences,differences_deb} to use
assert_diff and not mangle the expected test output.
- Update some tests to support file(1) version 5.46.
(Closes: reproducible-builds/diffoscope#395)
- update test skips, remove test_diff, add test_obj_identification
-------------------------------------------------------------------
Mon Dec 2 21:08:30 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- update to version 283:
- Fix crash when objdump is missing when checking .EFI files.
- update to version 282:
- Ignore errors when listing .ar archives. (Closes: #1085257)
- Update copyright years.
- update to version 281:
- Don't try and test with systemd-ukify within Debian stable.
- Add support for UKI files.
- update to version 280:
- Drop Depends on deprecated python3-pkg-resources. (Closes: #1083362)
- update to version 279:
- Drop removal of calculated basename from readelf output.
(Closes: reproducible-builds/diffoscope#394)
- update to version 278:
- Temporarily remove procyon-decompiler from Build-Depends as it was removed
from testing (#1057532). (Closes: #1082636)
- Add a helpful contextual message to the output if comparing Debian .orig
tarballs within .dsc files without the ability to "fuzzy-match" away the
leading directory. (Closes: reproducible-builds/diffoscope#386)
- Correctly invert "X% similar" value and do not emit "100% similar".
(Closes: reproducible-builds/diffoscope#391)
- Update copyright years.
- update to version 277:
- Don't crash when attempting to hashing symlinks with targets that point to
a directory.
- update to version 276:
- Also catch RuntimeError when importing PyPDF so that PyPDF or, crucially,
its transitive dependencies do not cause diffoscope to traceback at runtime
and build time. (Closes: #1078944, reproducible-builds/diffoscope#389)
- Factor out a method for stripping ANSI escapes.
- Strip ANSI escapes from the output of Procyon. Thanks, Aman Sharma!
- Update copyright years.
- update to version 275:
- Update the test_zip.py text fixtures and definitions to support new changes
to IO::Compress. (Closes: #1078050)
- Do not call marshal.loads(...) of precompiled Python bytecode as it is
inherently unsafe. Replace, at least for now, with a brief summary of the
code section of .pyc files. (Re: reproducible-builds/diffoscope#371)
- Don't bother to check the Python version number in test_python.py: the
fixture for this test is deterministic/fixed.
- Update copyright years.
- update to version 274:
- Add support for IO::Compress::Zip >= 2.212. (Closes: #1078050)
- Don't include debug output when calling dumppdf(1).
- Append output from dumppdf(1) in more cases.
(Closes: reproducible-builds/diffoscope#387)
- Update copyright years.
- Update the available architectures for test dependencies.
- update to version 273:
- Factor out version detection in test_jpeg_image. (Re:
reproducible-builds/diffoscope#384)
- Ensure that 'convert' is from Imagemagick 6.x; we will need to update a
few things with IM7. (Closes: reproducible-builds/diffoscope#384)
- Correct import of identify_version after refactoring change in 037bdcbb0.
- tests:
+ Add OpenSSH key test with a ed25519 key.
+ Skip the OpenSSH test with DSA key if openssh is >> 9.7
+ Support ffmpeg >= 7 that adds some extra context to the diff
- Do not ignore testing in gitlab-ci.
-------------------------------------------------------------------
Tue Jul 9 13:21:55 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -17,7 +17,7 @@
Name: diffoscope
Version: 272
Version: 284
Release: 0
Summary: In-depth comparison of files, archives, and directories
License: GPL-3.0-or-later
@ -37,7 +37,6 @@ BuildRequires: python3-setuptools
Requires: python3-curses
Requires: python3-libarchive-c
Requires: python3-python-magic
Requires: python3-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
# Tools required for proper function of this program
@ -135,8 +134,7 @@ fi
%check
# test_identification https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/98
# comparators/test_python/test_diff https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561
py.test-%{python3_bin_suffix} -k 'not ((test_python and test_diff) or test_identification)'
py.test-%{python3_bin_suffix} -k 'not (test_python or test_identification or test_obj_identification)'
%files
%doc README.rst