Version: 284-bp160.1.10
* Sun Dec 22 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 02 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 09 2024 Dirk Müller <dmueller@suse.com>
- 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.
* Mon Apr 22 2024 Joshua Smith <smolsheep@opensuse.org>
- 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)
* Sun Mar 24 2024 Dirk Müller <dmueller@suse.com>
- 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.
* Add external tool on GNU Guix for 7z.
* Improve DOS/MBR extraction by adding support for 7z.
* Process objdump symbol comment filter inputs as the Python
"bytes" type (and not str). (Closes: reproducible-
builds/diffoscope#358)
* Add a missing RequiredToolNotFound import.
* Update copyright years.
* As UI/UX improvement, try and avoid printing an extended
traceback if diffoscope runs out of memory. This may not
always be possible to detect.
* Mark diffoscope as stable in setup.py (for PyPI.org).
Whatever diffoscope is, at least, not "alpha" anymore.
* Wed Nov 01 2023 Andrea Manzini <andrea.manzini@suse.com>
- 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.
* Sat Aug 05 2023 Sebastian Wagner <sebix@sebix.at>
- 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.
* Wed May 03 2023 Dirk Müller <dmueller@suse.com>
- 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.
* Fri Mar 03 2023 Dirk Müller <dmueller@suse.com>
- 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.
* Sat Jan 21 2023 Dirk Müller <dmueller@suse.com>
- 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.
Version: 85-bp153.1.14
* Wed Aug 02 2017 sleep_walker@opensuse.org
- Update to 85:
see GIT log for full list of changes
* Tue Mar 14 2017 kgronlund@suse.com
- Update to 78:
* Catch bad JSON errors on Python pre-3.5. Closes: #855233
* Correct logic of module_exists, ensuring we correctly skip in case of
modules containing a dot in their name. Closes: #854745
* No need to track archive directory locations.
* Add --exclude option. Closes: #854783
* When extracting archives, try to keep directory sizes small.
* Extract archive members using an auto-incrementing integer, avoiding the
need to sanitise filenames and avoiding writes to arbitrary locations.
(Closes: #854723 * CVE-2017-0359)
* Fix autopkgtest failures when Recommends are not installed.
(Closes: #854593)
* Specify <html lang="en"> in HTML output. (re. #849411)
* Add a machine-readable JSON output format. (Closes: #850791)
* Show results from debugging packages last. (Closes: #820427)
* Add a --max-text-report-size option. (Closes: #851147)
Clean all temp files in signal handler thread instead of attempting to
bubble exception back to the main thread. (Closes: #852013)
* Prevent FTBFS by loading fixtures as UTF-8 in case surrounding terminal
is not Unicode-aware. (Closes: #852926)
* Fix errors when comparing directories with non-directories.
(Closes: #835641)
* Fix behaviour of setting report maximums to zero (ie. no limits)
* diffoscope.diff: Improve FIFO writing robustness.
* haskell: Properly extract version from interface files.
* Add markdown output support. Closes: #848141
* Add RestructuredText output format.
* Improve --help output. Closes: #852015
* Don't blow up if directory containing ELF debug symbols already exists.
(Closes: #850807)
* Fix .APK extration when provided with absolute filenames.
(Closes: #850485)
* Support comparing .ico files using img2txt. (Closes: #850730)
* comparators.utils.file: If we don't have an archive-extraction tool (eg.
apktool), don't blow up when attempting to unpack it.
* Include magic file type when we know the file format but can't find
file-specific details. (Closes: #850850)
* Ensure fake "APK metadata" file appears first, fixing non-deterministic
tests/output.
* Correctly escape value of href="" elements (re. #849411)
* comparators/device: don't crash when comparing a non-device against a
device (Closes: #850055)
* Remove archive name from apktool.yml and rename it. (Closes: #850501)
* Zipinfo included in APK files comparison. (Closes: #850502)
* Add some tests for APK comparator.
* Add image metadata comparison. (Closes: #849395)
* Ensure imagemagick version is new enough for image metadata tests.
* Extend .apk recognition regex to also match zip archives (Closes: #849638)
* Update dex_expected_diffs and test requirement to ensure test compatibility
with enjarify >= 1.0.3. (Closes: #849142)
* Add detection of order-only difference in plain text format.
(Closes: #848049)
* Fix sqlite3 magic recognition when using file >= 5.27. (Closes: #830434)
* Add argument completion feature to diffoscope. (Closes: #826711)
* Improve message when data differs. (Closes: #827981)
* Clarify the input arguments. (Closes: #826894)
* Fix maybe_decode() so that it actually works.
* Thu Jun 23 2016 sleep_walker@opensuse.org
- update to 54:
* In the directory comparator, fall back to current directory instead of
empty name. (Closes: #820624)
* Improve deb(5) support. (Closes: #818414)
* debian/control: add myself to Uploaders.
* Clean up temporary debuglink files.
* Fix FileNotFoundError with broken symlinks. (Closes: #818856)
* Decode Md5sumsFile in utf-8. (Closes: #823874)
* Always suffix temporary files with '_diffoscope'.
* Rewrite sanity check for the version to always run every time debian/rules
is invoked, not only during a binary build.
* Add FreeBSD packages for required tools.
* Add README.rst to MANIFEST.in.
* debian/gbp.conf: add a conf to have gbp tag the releases how we like them.
* Drop transitional debbindiff package.
* debian/control: Drop XS-Prefix from Testsuite: field, thanks lintian.
* Mention --max-report-size only once in the manpage. (Closes: #819956)
* Fix typo in documentation.
* Bump Standards-Version to 3.9.8, no changes required.
* Let objdump demangle symbols for better readability.
* Install bin/diffoscope instead of auto-generated script. (Closes: #821777)
* Team upload.
* Re-upload, the last uploaded tarball was broken, missing test files.
* Remove myself from uploaders
* Show line ordering variation in deb md5sums
* Reset mtimes of test directories and ignore ctimes (Closes: #815171)
* Add comparator for Postscript files
* Sun May 08 2016 arun@gmx.de
- specfile:
* updated source url to files.pythonhosted.org
* Sun Apr 10 2016 arun@gmx.de
- specfile:
* fix update alternative (use %{py3_ver}, touch sysconfig dir)
- update to version 51:
* Team upload.
* Re-upload, the last uploaded tarball was broken, missing test
files.
- changes from version 50:
* Remove myself from uploaders (Jérémy Bobbio)
* Show line ordering variation in deb md5sums
* Reset mtimes of test directories and ignore ctimes (Closes:
[#815171])
* Add comparator for Postscript files
* Sun Mar 13 2016 bwiedemann@suse.com
- We require python3-setuptools at runtime to work
* Thu Feb 18 2016 arun@gmx.de
- update to version 49:
* Don't crash when we can't find the debug file in a matching debug
package. This repairs diffoscope for xserver-xorg and other
packages.
* Use libarchive to read metadata from ar archives. The output is
more precise and less dependent on binutils version. The command
line `ar` tool is not used any more so remove it from the required
tools.
* Split readelf --debug-dump output when examining ELF files. Based
on a patch by Dhole.
* Keep both .debug_str and .zdebug_str as ElfSection. Thanks to
Niels Thykier for noticing the problem.
* Fix a logic error in _install_debug_symbols. Thanks anthraxx for
the report and the fix.
* Use recursive containers for directory and only look at files with
ending in .deb when looking for Build IDs. Both avoid looking at
too many files when searching for matching debug packages. Thanks
Helmut Grohne and Steven Chamberlain for the reports and
tests. (Closes: #813052)
* Add support for ICC profiles. This adds a Recommends on colord in
Debian.
* Harmonize spaces and commas in package list.
* Update PPU files test data for FPC 3.0.0.
* Update exepcted javap output for OpenJDK 1.8.
* Stop specializing files from directories earlier than necessary.
* Adding cd-iccdump package reference for Arch Linux.
* Use HTTPS in Vcs-Git.
* Bump standards version to 3.9.7, no changes needed.
* Use /git/ instead /cgit/ in Vcs-Browser.
* Tue Feb 02 2016 sleep_walker@opensuse.org
- clean with spec-cleaner
- change Recommends: to Suggests:
- use update-alternatives mechanism for binary not to conflict with
python2 variant of the package when there is one
* Sun Jan 31 2016 sleep_walker@opensuse.org
- add recommendations for tools which allows to interpret content
* Sun Jan 31 2016 sleep_walker@opensuse.org
- let there be diffoscope for openSUSE!