Change log for diffoscope package in Ubuntu
151 → 225 of 237 results | First • Previous • Next • Last |
diffoscope (111) unstable; urgency=medium * Fix a regression introduced via #920701 where we stopped using the -dbgsym packages when comparing .buildinfo or .changes files. (Closes: reproducible-builds/diffoscope#46) -- Chris Lamb <email address hidden> Sun, 10 Feb 2019 13:09:26 +0100
Available diffs
- diff from 108ubuntu3 (in Ubuntu) to 111 (4.9 KiB)
diffoscope (108ubuntu3) disco; urgency=medium * Temporarily disable the fsimage tests during autopkgtest. -- Mattia Rizzolo <email address hidden> Wed, 23 Jan 2019 23:48:20 +0100
Available diffs
- diff from 103 (in Debian) to 108ubuntu3 (50.2 KiB)
- diff from 108ubuntu2 to 108ubuntu3 (571 bytes)
Superseded in disco-proposed |
diffoscope (108ubuntu2) disco; urgency=medium * Try to increase the memory available to qemu, still debugging ppc64el. -- Mattia Rizzolo <email address hidden> Wed, 23 Jan 2019 21:22:30 +0100
Available diffs
- diff from 108ubuntu1 to 108ubuntu2 (506 bytes)
Superseded in disco-proposed |
diffoscope (108ubuntu1) disco; urgency=medium * Try to debug guestfs failures on ppc64el's autopkgtest. -- Mattia Rizzolo <email address hidden> Wed, 23 Jan 2019 16:51:39 +0100
Available diffs
- diff from 108 (in Debian) to 108ubuntu1 (1008 bytes)
diffoscope (108) unstable; urgency=medium [ Chris Lamb ] * test_icc: Calculate the path to a test .icc file using data() rather than using the pytest fixture itself to avoid a "Fixtures are not meant to be called directly" warning/error. (Closes: #916226) * Fix a test_mozzip_compressed_files test failure under Alpine Linux. (Closes: #916353, MR: !8) * Output improvements: * Prefer to comment that files are identical rather than having a "fuzziness score" of zero. * Expand the padding/spacing for "N calls" in the profiling output; having 99,999+ calls to cmp(1) is not uncommon for ISOs. * Add a note to the "Files similar despite different names" comment to clarify that a lower score is more similar. * Use File.file_header to tidy JSON matching in the json, ppu and wasm comparators. * Drop debbindiff Breaks/Replaces; was removed in 2015, never part of a stable release, etc. * Correct a "positives" typo. [ Joachim Breitner ] * Add support for comparing WebAssembly modules. (MR: !17) [ Holger Levsen ] * Bump Standards-Version to 4.3.0 * Clarify that (upstream) issues should be reported via the issue tracker on salsa.debian.org. [ Mattia Rizzolo ] * Try matching for MozillaZipFile before ZipFile. -- Chris Lamb <email address hidden> Sun, 13 Jan 2019 19:21:05 +0000
Available diffs
- diff from 107 to 108 (5.0 KiB)
diffoscope (107) unstable; urgency=medium * Compare .zip file comments with zipnote. (Closes: #901757) * Don't emit a large number of warnings if getfacl(1) is not available. This makes the behaviour consistent with if lsattr(1) is unavailable. (Closes: #902369) -- Chris Lamb <email address hidden> Thu, 06 Dec 2018 22:42:54 +0100
Available diffs
- diff from 106 to 107 (2.8 KiB)
diffoscope (106) unstable; urgency=medium [ Chris Lamb ] * comparators: + elf: Don't assume all files called ".a" are ELF binaries. Closes: #903446 + pdf: - Display the reason when cannot extract metadata from PDF files. - Prevent tracebacks when obtaining PDF metadata from files with multiple PDF dictionary definition entries. Closes: #913315 [ Marius Gedminas ] * Add a python_requires to setup.py. [ Mattia Rizzolo ] * debian: + Disable depends on gnumeric and procyon as they are RC buggy. + Override the new lintian's public-upstream-key-in-native-package. -- Mattia Rizzolo <email address hidden> Fri, 23 Nov 2018 11:09:28 +0100
Superseded in disco-release |
Obsolete in cosmic-release |
Deleted in cosmic-proposed (Reason: moved to release) |
diffoscope (103) unstable; urgency=medium [ Mattia Rizzolo ] * In Debian, list liblz4-tool as an alternative to the lz4 package. stretch only has the former. [ Chris Lamb ] * Strip trailing whitespace from ssconvert(1) output to support gnumeric 1.12.43. -- Mattia Rizzolo <email address hidden> Wed, 03 Oct 2018 16:35:59 +0200
Available diffs
- diff from 101 to 103 (3.9 KiB)
- diff from 102 to 103 (1.7 KiB)
diffoscope (102) unstable; urgency=medium [ Chris Lamb ] * Fix tests under colord >= 1.4.3. Closes: #908900 [ Xavier Briand ] * Add an "Add a comparator" section in CONTRIBUTING. MR: !9 [ Mattia Rizzolo ] * debian: Use the new debhelper-compat(=11) build dep and drop d/compat. [ Marek Marczykowski-Górecki ] * comparators/json: Try fuzzy matching for non-text files too. This avoids loading very large file just to discover they aren't JSON. Closes: #909122 -- Mattia Rizzolo <email address hidden> Sun, 23 Sep 2018 10:43:40 +0200
Available diffs
- diff from 101 to 102 (3.1 KiB)
diffoscope (101) unstable; urgency=medium * Fix testsuite under LLVM >= 7.0. (Closes: #908074) * Substvar generation: - Ensure Debian substvar generation is deterministic regardless of installed packages. (Closes: #908072) - Clarify distinction between tools (eg. gpg) and packages (eg. gnupg) when generating Debian substvars. - Revert updating generated debian/tests/control made in diffoscope 100. * Disable binwalk's own user configuration for predictable results and to ensure it does not create unnecessary directories. (Closes: #903444) * Ensure we return "bytes" objects from Command.filter to avoid a "TypeError: Unicode-objects must be encoded before hashing" traceback. * Don't print GPG output in diffoscope.changes. -- Chris Lamb <email address hidden> Sat, 15 Sep 2018 16:37:45 +0100
Available diffs
- diff from 99build9 (in Ubuntu) to 101 (7.6 KiB)
diffoscope (99build9) cosmic; urgency=medium * Update for llvm-7 -- Gianfranco Costamagna <email address hidden> Fri, 07 Sep 2018 14:38:08 +0200
Available diffs
- diff from 99build6 to 99build9 (1.1 KiB)
- diff from 99build8 to 99build9 (492 bytes)
diffoscope (99build8) cosmic; urgency=medium * Update for llvm-7 -- Gianfranco Costamagna <email address hidden> Fri, 07 Sep 2018 14:38:08 +0200
Available diffs
- diff from 99build7 to 99build8 (1.1 KiB)
diffoscope (99build7) cosmic; urgency=medium * Rebuild against new llvm-7 default. -- Gianfranco Costamagna <email address hidden> Wed, 05 Sep 2018 11:54:23 +0200
Available diffs
- diff from 99build6 to 99build7 (347 bytes)
diffoscope (99build6) cosmic; urgency=medium * Drop the colord waiver introduced in build3, it should be installable. -- Mattia Rizzolo <email address hidden> Tue, 10 Jul 2018 09:14:06 +0200
Available diffs
- diff from 99build5 to 99build6 (1.1 KiB)
diffoscope (99build5) cosmic; urgency=medium * And oggvideotools for s390x only. (this instead will be permanent). -- Mattia Rizzolo <email address hidden> Mon, 09 Jul 2018 20:31:04 +0200
Available diffs
- diff from 96 (in Debian) to 99build5 (8.5 KiB)
- diff from 99build4 to 99build5 (1.0 KiB)
diffoscope (99build4) cosmic; urgency=medium * Same for fp-utils -- Mattia Rizzolo <email address hidden> Mon, 09 Jul 2018 18:45:09 +0200
Available diffs
- diff from 99build3 to 99build4 (964 bytes)
diffoscope (99build3) cosmic; urgency=medium * Also do not require colord on s390x and ppc64el. This should be a temporarly-only change though. -- Mattia Rizzolo <email address hidden> Mon, 09 Jul 2018 17:03:49 +0200
Available diffs
- diff from 99build2 to 99build3 (1.0 KiB)
diffoscope (99build2) cosmic; urgency=medium * The previous hack didn't work as well as I hoped, so hack it some more. -- Mattia Rizzolo <email address hidden> Mon, 09 Jul 2018 15:46:16 +0200
Available diffs
- diff from 99build1 to 99build2 (1.2 KiB)
diffoscope (99build1) cosmic; urgency=medium * Do not seek apktool on ppc64el and s390x as it's not installable there. Fixes autopkgtest on those architectures. -- Mattia Rizzolo <email address hidden> Mon, 09 Jul 2018 14:17:44 +0200
Available diffs
- diff from 99 (in Debian) to 99build1 (1.2 KiB)
diffoscope (99) unstable; urgency=medium [ Xavier Briand ] * Add lz4 comparator. Closes: #901548; !4 [ Paul Wise ] * Clear the progress bar after completion. Closes: #901758 Handle terminals that do not support erasing the line by filling the terminal with spaces. Ignore output devices that are not terminals. * Do not delete the current terminal line for every progress bar update. The erasure was also causing the progress bar to flicker. [ Mattia Rizzolo ] * Add a gitlab CI script. !8 * tempfiles: + Set the base directory only if the caller didn't specify one already. + Do not append '_diffoscope' to the temporary file names, as they are now all in their namespaced directory already. + Empty the list of known tempfiles after removing them. Closes: #902709 * external_tools: + Fix package name, s/xmlutils/xmlbeans/. * tests/test_tools: fix test if /sbin contains a directory. MR: !2 Thanks to Chris Lamb <email address hidden> for the patch. * logging: + Move the computation of the terminal line eraser into logging.py + Always clean the line before printing a log message * main: + Clean the terminal line before printing a traceback. + Be sure to print 'Keyboard Interrupt' if that happens. * comparators: + Do not shadow the original import errors. MR: !7 * d/control: + Bump Standards-Version to 4.1.5, no changes needed. + Add Build-Dependency on procyon-decompiler, to run the tests. * d/tests: + Autogenerate d/tests/control with all the recommends listed as dependencies, so autopkgtest is appropriately triggered whenever one of those packages changes. Closes: #902920 [ anthraxx ] * comparators.utils:libarchive: + Add compatibility code for python-libarchive >= 2.8. MR: !6 -- Mattia Rizzolo <email address hidden> Sun, 08 Jul 2018 20:07:06 +0200
Available diffs
- diff from 98 to 99 (7.0 KiB)
diffoscope (98) unstable; urgency=medium * Fix compatibility with Python 3.7. (Closes: #902650) -- Chris Lamb <email address hidden> Fri, 29 Jun 2018 08:19:25 +0100
Available diffs
- diff from 97 to 98 (779 bytes)
diffoscope (97) unstable; urgency=medium * Create all temporary directories within a top-level dir. (Closes: #902627) * tests/conftest.py: Fix compatibility with pytest 3.6.2-1, currently in Debian experimental. -- Chris Lamb <email address hidden> Thu, 28 Jun 2018 21:38:50 +0100
Available diffs
- diff from 96 to 97 (1.1 KiB)
diffoscope (96) unstable; urgency=medium [ Chris Lamb ] * Drop dependency on pdftk as it relies on GCJ, relying on the pdftotext fallback. (Closes: #893702) * Change the "No file format specific differences found inside, yet data differs" message to be clearer that diffoscope "knows" about this file format yet could not be helpful in this case. * Don't append a rather useless "(data)" suffix from file(1). * Comply with a number of PEP8 recommendations: - E226 - Add missing whitespaces around operators. - E241 - Fix extraneous whitespaces around keywords. - E251 - Remove whitespace around parameter '=' signs. - E302 - Add missing 2 blank lines. - E501 - Try to make lines fit to length. - E502 - Remove extraneous escape of newline. - E731 - Don't assign lambda expressions. - E121, E122, E126, E128 - Fix badly indented lines. [ Xavier Briand ] * Add merge request details to contributing documentation. -- Chris Lamb <email address hidden> Sat, 16 Jun 2018 22:19:28 +0200
Available diffs
- diff from 95ubuntu1 (in Ubuntu) to 96 (22.3 KiB)
diffoscope (95ubuntu1) cosmic; urgency=medium * Merge from Debian unstable. Remaining changes: - Drop build dependency on pdftk. - debian/rules: Disable diffoscope version check for cosmic. -- Mattia Rizzolo <email address hidden> Sun, 20 May 2018 18:29:41 +0200
Available diffs
- diff from 94ubuntu1 to 95ubuntu1 (4.9 KiB)
diffoscope (94ubuntu1) cosmic; urgency=medium * Merge from Debian unstable. Remaining changes: - Drop build dependency on pdftk. - debian/rules: Disable diffoscope version check for cosmic.
Available diffs
- diff from 93ubuntu1 to 94ubuntu1 (3.4 KiB)
Superseded in cosmic-release |
Published in bionic-release |
Deleted in bionic-proposed (Reason: moved to release) |
diffoscope (93ubuntu1) bionic; urgency=medium * Merge from Debian unstable. Remaining changes: - Drop build dependency on pdftk. - debian/rules: Disable diffoscope version check for bionic.
Available diffs
- diff from 92ubuntu1 to 93ubuntu1 (1.5 KiB)
diffoscope (92ubuntu1) bionic; urgency=medium * Merge with Debian; remaining changes: - Drop build dependency on pdftk. - debian/rules: Disable diffoscope version check for bionic.
Available diffs
- diff from 91ubuntu1 to 92ubuntu1 (14.2 KiB)
diffoscope (91ubuntu1) bionic; urgency=medium * Drop build dependency on pdftk. -- Matthias Klose <email address hidden> Wed, 21 Mar 2018 10:57:34 +0800
Available diffs
- diff from 91build1 to 91ubuntu1 (455 bytes)
diffoscope (91build1) bionic; urgency=medium * comparators.utils.file: don't try to decode a string. Closes: #891903 -- Mattia Rizzolo <email address hidden> Thu, 08 Mar 2018 12:26:19 +0100
Available diffs
- diff from 90build1 to 91build1 (17.6 KiB)
- diff from 91 (in Debian) to 91build1 (1006 bytes)
diffoscope (91) unstable; urgency=medium [ Mattia Rizzolo ] * d/clean: Remove .cache/. * diff: Wrap long regular expression for improved readability. * comparators.json: Fix UnicodeDecodeError with a non-UTF8 locale. * d/copyright: Update for the new year. * d/control: Bump Standards-Version to 4.1.3, no changes needed. * tests/android: + Skip tests involving abootimg on BE archs (see #725729). [ Daniel Shahaf ] * diffoscope.diff: Document feeders. Closes: #863880 * Optimize the common case of feeders. Closes: #863879 [ Juliana Oliveira ] * {tempfiles, utils.archive}: catch possible FileNotFoundError. * comparators.java: add support for procyon-decompiler. Closes: #849386 * {command, feeders, diff}: replaces subprocess.Popen() by .run(). This is done in preparation for work on multiprocessing (#842837). + {command, zip, feeders}: replaces .wait by the new .returncode property. + comparators.utils.command: replaces .stderr_content by .stderr. * tests: + test_progress: fix test case for some broken versions of python-progressbar. Closes: #877726 + utils.tools: add support for modules on skip_unless* annotations. [ Chris Lamb ] * comparators: + utils/compare: - Show extended filesystem metadata even when directly comparing two files, not just when we specify two directories. Closes: #888402 + macho: - If the If the LLVM disassembler does not work, try the internal one. Closes: #886736 - Always strip the filename, not just when by itself. + json: - Do some cheap fuzzy parsing to detect JSON files not named .json. - Also match unicode JSON files. - Optionally compare JSONs with the jsondiff module. Closes: #888112 + directory: - Report differences in extended file attributes when comparing files. Closes: #888401 + xsb: - Add support for comparing XMLBeans binary schemas. + barkeley_db: - Add support for comparing Berkeley DB files. Closes: #890528 * Misc code cleaup. * tests: + comparators.test_elf: Return '0' if we can't parse the readelf version number. Closes: #886963 * debian: + Explicitly build-depend and recommend e2fsprogs. Closes: #887180 [ Ximin Luo ] * Partially revert the changes done for #888402 to maintain the current. behaviour of --exclude-directory-metadata. * Refactor how the configuration is loaded: + Move the defaults into a Config.reset() method. + reset() the configuration at the end of main(), to help the testsuite. -- Mattia Rizzolo <email address hidden> Thu, 01 Mar 2018 13:40:48 +0100
Available diffs
- diff from 90build1 (in Ubuntu) to 91 (17.5 KiB)
diffoscope (90build1) bionic; urgency=medium * Skip tests involving abootimg on BE archs (see Debian's #725729). -- Mattia Rizzolo <email address hidden> Wed, 27 Dec 2017 14:31:07 +0100
Available diffs
- diff from 88 (in Debian) to 90build1 (16.1 KiB)
- diff from 90 (in Debian) to 90build1 (1.1 KiB)
diffoscope (90) unstable; urgency=medium [ Juliana Oliveira ] * tests: + comparators/test_rlib: Fix tests for llvm >= 5.0. Closes: #877727 + Skip some tests if 'xz' is not present. -- Mattia Rizzolo <email address hidden> Tue, 26 Dec 2017 19:49:30 +0100
Available diffs
- diff from 89 to 90 (2.1 KiB)
diffoscope (89) unstable; urgency=medium [ Mike Hommey ] * comparators: + elf: - Add fallbacks to elf code section disassembly. Closes: #879003 + utils/libarchive: - Extract libarchive members with the file extension. [ Ximin Luo ] * Auto-generate manpage using help2man, so it's no longer out-of-date. * difference: + Add a Difference.from_command_exc() to help distinguish excluded commands from commands returning an empty diff. * comparators: + utils/command: - Replace the feed_stdin() feeder into the simpler stdin() function, which provides (if needed) a simple file opject instead of a feeder. + utils/container: - Add a perform_fuzzy_matching() method (wrapping the already existing method) so that comparators can easily override it. + deb: - Loose matching for .deb archive members, so it's possible to e.g. compare deb with different control.tar.{gz,xz}. Closes: #881937 + elf: - Improve disassembly fallbacks with Difference.from_command_exc(). + png: - Cater for the feed_stdin() removal. + zip: - Run zipinfo on /dev/stdin instead of a variable path to avoid including the temporary file name in the output. Closes: #879011 - Cater for the feed_stdin() removal. * presenters/formats: + Allow non-text formats to output an empty diff. * debian/clean: + Remove the egg file when cleaning. [ Chris Lamb ] * comparators: + utils/file: - Handle case where a file to be "fuzzy" matched does not contain enough entropy despite being over 512 bytes. Closes: #882981 + android: - Add support for Android ROM boot.img introspection. Closes: #884557 + symlink: - Make cleanup of placeholders idempotent. [ Juliana Oliveira Rodrigues ] * tests: + utils/tools: - Add a skip_if_tool_version_is() function. + elf: - Skip some tests if readelf is version '2.29', where its behaviour was accidentally changed to exit with code 1 when it previously didn't. Closes: #877728 [ Holger Levsen ] * debian/control: Bump Standards-Version to 4.1.2. No changes required. [ Mattia Rizzolo ] * debian/control: Set Rules-Requires-Root: no. * Bump Debhelper compat version to 11. -- Mattia Rizzolo <email address hidden> Mon, 25 Dec 2017 14:49:22 +0100
Available diffs
- diff from 88 to 89 (14.5 KiB)
diffoscope (88) unstable; urgency=medium [ Holger Levsen ] * Bump standards version to 4.1.1, no changes needed. [ Mattia Rizzolo ] * tests/comparators: + dtb: compatibility with version 1.4.5. Closes: #880279 [ Chris Lamb ] * comparators: + binwalk: improve names in output of "internal" members. Closes: #877525 + Omit misleading "any of" prefix when only complaining about one module in ImportError messages. * Don't crash on malformed md5sums files. Closes: #877473 * tests/comparators: + ps: ps2ascii > 9.21 now varies on timezone, so skip this test for now. + dtby: only parse the version number, not any "-dirty" suffix. * debian/watch: use HTTPS URI. [ Ximin Luo ] * comparators: + utils/file: diff container metadata centrally. Closes: #797759 This fixes a last remaining bug in fuzzy-matching across containers. + Fix all the affected comparators after the above change. -- Mattia Rizzolo <email address hidden> Sat, 04 Nov 2017 16:26:09 +0100
Available diffs
- diff from 87 to 88 (5.8 KiB)
Superseded in bionic-release |
Obsolete in artful-release |
Deleted in artful-proposed (Reason: moved to release) |
diffoscope (87) unstable; urgency=medium [ Juliana Oliveira Rodrigues ] * comparators: + utils: - compare: fix comparison between container types. - container: add get_path_name() method, aiming at preventing hitting OS' max filename length. + gzip: replace dest_path generation with self.get_path_name(). + bzip2: replace dest_path generation with self.get_path_name(). * tests: + presenters: - skip html_visuals test if 'sng' binary is not available. + comparators: - test_cointainers: new tests to test cross-container comparisons. - add test_containers.py. [ Chris Lamb ] * comparators: + utils: - file: correct reference to path_apparent_size. + fonts: loosen matching of file(1)'s output to ensure we correctly also match TTF files under file 5.32. + binwalk: - new comparator to deal with (e.g.) concatenated CPIO archives using the new optional python module 'binwalk'. Closes: #820631 * diffoscope.diff: Correct reference to self.buf. * debian/rules: run flake8 during the tests, and fail the build in case the "underfined name" flake8's check fails. * tests/comparators: + test_cpio: check we identify all CPIO fixtures. * main: + print a debugging message if we are reading diff from stdin. * presenters: + html: use logging.py's lazy argument interpolation. * debian/control: bump Standards-Version to 4.1.0. * Code style improvements across all of the codebase. [ Mattia Rizzolo ] * debian/changelog: retroactively close a bug in an old changelog entry. * setup.py: add a check to prevent people from installing diffoscope under python < 3.5 (i.e. python2) and give them a usable error message otherwise. * Code style improvements across all of the codebase. [ Ximin Luo ] * comparators: + add a fallback_recognizes() method to work around file(1)'s bug #876316. Closes: #875282 + add a --force-details flag for debugging. + deb: - if --force-details then don't skip files with identical md5sums either. * presenters: + html: - prune all descendants properly. Closes: #875281 - don't show pointer-cursor when jquery is disabled. * config: + force-set a value if it must be less than another, and it was not set on purpose. Closes: #875451 * readers: convert bytes to str in the right place. * diff: use diff_split_lines everywhere. * difference: + in fmap/map_lines, don't forget about self._visuals. + also copy self._comment properly, compare self._visuals in equals(). * tests/comparators: + test_deb: make test_md5sums less brittle. -- Mattia Rizzolo <email address hidden> Fri, 22 Sep 2017 18:53:05 +0200
Available diffs
- diff from 86ubuntu1 (in Ubuntu) to 87 (87.3 KiB)
diffoscope (86ubuntu1) artful; urgency=medium * Merge from debian * diffoscope/comparators/fonts.py: Cherry pick debian commit to address diffoscope adt failure introduced by 1:5.32-1. - origin: diffoscope git commit af9fe0446de3595a1eaa8a9c9b401462a68842d0 - package can be brought back into sync when debian releases v87. * debian/rules: adjust check to compensate for ubuntu package version -- Steve Beattie <email address hidden> Tue, 12 Sep 2017 23:52:42 -0700
Available diffs
- diff from 85 (in Debian) to 86ubuntu1 (8.5 KiB)
- diff from 86 (in Debian) to 86ubuntu1 (1.0 KiB)
diffoscope (86) unstable; urgency=medium [ Mattia Rizzolo ] * tests: + binary: skip a test if the 'distro' module is not available. + iso9660: avoid an overly-catching exception. * debian/copyright: coalesce some file paragraphs and update information. [ Guangyuan Yang ] * tests: + iso9660: support both cdrtools' genisoimage's versions of isoinfo. [ Chris Lamb ] * comparators: + xml: Use ``name`` attribute over ``path`` to avoid leaking comparison full path in output. * Tidy diffoscope.progress a little. [ Ximin Luo ] * Add a --tool-prefix-binutils CLI flag. Closes: #869868 * On non-GNU systems, prefer some tools that start with "g". Closes: #871029 * presenters: + html: - Don't traverse children whose parents were already limited. Closes: #871413 [ Santiago Torres-Arias ] * diffoscope.progress: + Support the new fork of python-progressbar. Closes: #873157 -- Mattia Rizzolo <email address hidden> Sun, 03 Sep 2017 22:23:06 +0200
Available diffs
- diff from 85 to 86 (7.8 KiB)
diffoscope (85) unstable; urgency=medium [ Mattia Rizzolo ] * tools: + move from the deprecated platform.linux_distribution() to the external python package "distro". Add it as an optioanl dependency, as without it distribution detection (i.e. `diffoscope --list-tools`) won't work. Also add it as a Debian (hard) dependency, as it's a very lightway package, and the usefulness it brings are great. + add a get_package_provider() function, returning the package name that best matches the system. * exc: + in RequiredToolNotFound.get_package(), just call the new get_package_provider() * debian/rules: + recommends the defusedxml python package, to avoid using the python3's standard xml library and its security holes. [ Chris Lamb ] * comparators: + sqlite: - Simplify file detection by rewriting manual `recognizes` call with a `Sqlite3Database.RE_FILE_TYPE` definition. + xml: - Fix EPUB "missing file" tests; they ship a META-INF/container.xml file. [ Ximin Luo ] * comparators: + factor common logic from various comparators into File.recognizes. + more tidying up and making names consistent. + directory: - make stat(1) warning textually like the other warnings. - bump stat(1) warning into an error. - use getfacl(1) before lsattr(1) as it's more general. + apk: - less kludgy way of detecting APKs. Closes: #868486 * main, logging: + restore old logger settings to avoid pytest fail in certain situations. * debian/rules: + add a check to prevent additions of "DOS/MBR" file type. * feeder: + force a flush when writing output to diff. Closes: #870049 * tests/comparators: + directory: - be less strict about the expected test output, to cope with a missing `getfacl`. Closes: #868534 [ Juliana Oliveira Rodrigues ] * comparators: + Add new XML comparator. Closes: #866120 The comparator will use defusedxml if this is installed, to avoid falling in known security holes coming from the XML specification. * tests/comparators: + apk: - fix the tests after the addition of the XML comparator. + image: - fix test_ico_image for identify >= 6.9.8. [ Guangyuan Yang ] * tests/comparators: + device: - fix 2 cases for FreeBSD. -- Mattia Rizzolo <email address hidden> Mon, 31 Jul 2017 22:27:45 +0200
Available diffs
- diff from 82 to 85 (78.7 KiB)
- diff from 84build4 (in Ubuntu) to 85 (14.7 KiB)
diffoscope (84build4) artful; urgency=medium [ Mattia Rizzolo ] * cherry-pick part of 041c2b8356aae6005cd2d815a1233c4d00eccad7 -- Gianfranco Costamagna <email address hidden> Wed, 26 Jul 2017 19:31:02 +0200
Available diffs
- diff from 84build3 to 84build4 (3.2 KiB)
diffoscope (84build3) artful; urgency=medium [ Mattia Rizzolo ] * cherry-pick upstream commit to fix another test failure on s390x - fe57c99828060ae77af2784961d47beb44eb74f5 -- Gianfranco Costamagna <email address hidden> Wed, 26 Jul 2017 14:42:18 +0200
Available diffs
- diff from 84build2 to 84build3 (1.3 KiB)
diffoscope (84build2) artful; urgency=medium [ Mattia Rizzolo ] * cherry-pick upstream commit to fix another test failure on s390x - 7e16cecb98ec2e874da4f3ea291e276602852dcd -- Gianfranco Costamagna <email address hidden> Wed, 26 Jul 2017 14:38:48 +0200
Available diffs
- diff from 84build1 to 84build2 (872 bytes)
diffoscope (84build1) artful; urgency=medium * cherry-pick upstream commits to fix build/test failures. - c8927db98131a129c5d7354bfe8a6b0886ca66f8 - e62306e17e8a9b981d3b7f427bc99f8582a0301a - c12bee5fc718c918d6280102d4dbe688b0a553cf -- Gianfranco Costamagna <email address hidden> Wed, 26 Jul 2017 08:56:53 +0200
Available diffs
- diff from 84 (in Debian) to 84build1 (1.8 KiB)
Superseded in artful-proposed |
Deleted in artful-proposed (Reason: FTBFS with current binutils; broken by python3.6 transiti...) |
diffoscope (84) unstable; urgency=medium [ Ximin Luo ] * comparators: + directory: - raise warning for getfacl and remove a redundant try-clause. - add a --exclude-directory-metadata option. Closes: #866241 * diff: + Restore artificial limit when calculating linediff, to prevent memory blow up. Closes: #865660 * presenters: + text: - fix recursive header display in the text output, deeply-nested headers were not getting indented far enough. + add a PartialString class. + html: - in html-dir mode, put css/icon in separate files to avoid duplication. - split index pages up if they get too big. - add a size-hint to the diff headers and lazy-load buttons. - diffcontrol UI tweaks: * don't toggle buttons for diffs that haven't been loaded yet; * make the diffcontrol headers clickable. - more intuitive "limit" flags, with some backwards-incompatible changes: --max-report-size: Old: in --html-dir this limited only the parent page New: in --html-dir this applies across all pages --max-diff-block-lines: Old: in --html-dir 4 * this number applied across all pages New: in --html-dir this applies across all pages --max-page-size: New flag Applies to the sole --html page, or the top-level --html-dir page --max-report-child-size Renamed to --max-page-size-child: No behavioural changes --max-diff-block-lines-parent Renamed to --max-page-diff-block-lines: Old: Only applied to the top-level --html-dir page New: Applies to the sole --html page or the top-level --html-dir page * main: + temporarily add old flags back for backwards-compatibility. + warn if loading a diff but also giving diff-calculation flags. + implement proper boolean flags to fix test failure in previous commit. * tests: + handle existing but not importable modules. This fixes the tests during the Python 3.6 transition, where some modules (like rpm) exists but are not yet rebuilt for 3.6. + fix progressbar failure that was exposed by the previous importing fixes. + presenters: - skip visual test if tools aren't installed. Closes: #865625 + comparators - sqlite: test for sqlite 3.19. - fsimage: move the guestfs cache out of the default /var/tmp/ into a "more temporary" directory. [ Mattia Rizzolo ] * debian/control: fix Vcs-Git field. [ Chris Lamb ] * debian/control: bump Standards-Version to 4.0.0. [ Daniel Shahaf ] * Fix markup in the man page synopsis. Closes: #866577 Thanks to Niels Thykier for the report. -- Mattia Rizzolo <email address hidden> Wed, 12 Jul 2017 12:28:11 +0200
Available diffs
- diff from 83 to 84 (26.3 KiB)
diffoscope (83) unstable; urgency=medium [ Chris Lamb ] * New features: * Add comparator for Fontconfig cache files. * Bug fixes: - Don't fail when run under perversely recursive input files. See <https://research.swtch.com/zip> for more information. (Closes: #780761) - Prevent a traceback when using --new-file with containers by passing progress_name of the Member and not the member itself. (Closes: #861286) - Drop passing has_differences around, fixing an issue with generating files called '-'. * Cleanups & refactoring: - Reorder and rename FIFOFeeder arguments to prevent tools incorrectly parsing as a SyntaxError. - Refactor HTML and text presenters so they fit the same interface. - Refactor Presenter to a singleton manager. - Split output and configuration of presenters. - Prevent abstraction-level violation by defining visual diff support on the Presenter classes. - Split diffoscope.difference into a feeders module. - Document various variables. - PEP8-ify and tidy a lot of files. [ Ximin Luo ] * New features: - Add --max-container-depth CLI option. - Add various traverse_* methods to Difference. - Weigh elements in progress bar by their size. - Add a reader for the JSON format. - Add a --exclude-command CLI for filtering out long-running commands like "readelf --debug-dump=info". - Don't show +/- controls for differences with no children. - Use unicode chars for the +/- controls instead of punctuation. * Bug fixes: - Fix --exclude control.tar.gz. - Make the progress bar play nicely with --debug. - When enforcing max-container-depth, show which internal files differ, without showing details. - Fix JSON presenter to handle recursion properly. - Avoid a ZeroDivisionError in the progress bar - Fix create_limited_print_func. * Tests: - Fix failing tests due to logging global state. - Add tips about running with TMPDIR=/run/shm. * Cleanups & refactoring: - Remove unnecessary "dest" args to argparse. - Refactor DirectoryContainer to be more similar to Container. - Refactor Container abstract method names. - Remove unused imports and tidy up Container.comparisons(). - rename get_{filtered => adjusted}_members_sizes for consistency. - Move tests/comparators/utils up one directory. - html-dir: show/hide diff comments which can be very large. - Refactor html-dir presenter to a class instance avoiding global state. - Move side-by-side and linediff algorithms to difference.py. - difference: has_children -> has_visible_children, and take into account comments. - Move ydiff/linediff from diffoscope.{difference => diff} to group unified_diff-related things together [ Maria Glukhova ] * New features: - Add visual comparisons for JPEG, ICO, PNG and static GIF images. * Test improvements: - Test that external tools providers are being returned when tool is not found. - Add tests for OutputParserError and ContainerExtractionError. * Cleanups & refactoring: * Ignore text difference if we have a visual one. * Fix link formatting and typo in README. * Rename html_output to compute_visual_diffs and explain its purpose. * Removed duplicated functions from diff.py. [ Mattia Rizzolo ] * Export junit-xml style test report when building on Jenkins. [ anthraxx ] * Extend external Arch Linux tools list. -- Chris Lamb <email address hidden> Sun, 18 Jun 2017 15:34:59 +0800
Available diffs
- diff from 82 to 83 (49.5 KiB)
Deleted in artful-release (Reason: FTBFS with current binutils; broken by python3.6 transiti...) |
Deleted in artful-proposed (Reason: moved to release) |
diffoscope (82) experimental; urgency=medium [ Chris Lamb ] * New features: - Add support for comparing Pcap files. (Closes: #858867) - Add support for .docx and .odt files via docx2txt & odt2txt. (Closes: #859056) - Add support for PGP files via pgpdump. (Closes: #859034) - Add support for comparing Ogg Vorbis files. * Bug fixes: - Don't crash on invalid archives; print a useful error instead. (Closes: #833697) - Ensure tests and the runtime environment can locate binaries in /usr/sbin (eg. tcpdump) * Tests: - Ensure that PATH is modified. - Ensure @tool_required raises RequiredToolNotFound. - Don't assume that /sbin/init exists; locate any /sbin binary manually and then test for that. This should prevent FTBFS on travis-ci.org. - Show packages installed in report output. * Misc: - comparators.bzip2: Don't print error output from bzip2 call. - comparators.pcap: Show the delta, not the absolute time. - Use /usr/share/dpkg/pkg-info.mk over manual calls to dpkg-parsechangelog in debian/rules. - Document PYTHONPATH usage when running tests in README.Source. - Add internal documentation for @tool_required decorator. [ <email address hidden> ] * Display differences in zip platform-specific timestamps. (Closes: #859117) [ Ximin Luo ] * Add support for R .rds and .rdb object files. [ Vagrant Cascadian ] * Add support for .dtb (device tree blob) files (Closes: #861109). -- Chris Lamb <email address hidden> Wed, 26 Apr 2017 16:17:57 +0200
Available diffs
- diff from 81 to 82 (234.4 KiB)
Superseded in artful-release |
Obsolete in zesty-release |
Deleted in zesty-proposed (Reason: moved to release) |
diffoscope (81) experimental; urgency=medium [ Chris Lamb ] * Correct meaningless "1234-content" metadata when introspecting files within archives. This was a regression since #854723 due to the use of auto-incrementing on-disk filenames. (Closes: #858223) * Refactor get_compressed_content_name. [ Ximin Luo ] * Improve ISO9660/DOS/MBR check. -- Chris Lamb <email address hidden> Mon, 27 Mar 2017 16:21:17 +0100
Available diffs
- diff from 78 to 81 (11.9 KiB)
- diff from 80 to 81 (2.5 KiB)
diffoscope (80) experimental; urgency=medium * Ensure that we really are using ImageMagick and not, for example, the GraphicsMagick compatibility layer installed by graphicsmagick-imagemagick-compat. (Closes: #857940) * Factor out the unicode decoding of the identify -version output. * travis.yml: Don't build tags. -- Chris Lamb <email address hidden> Thu, 16 Mar 2017 17:06:45 +0100
Available diffs
- diff from 78 to 80 (10.6 KiB)
diffoscope (78) unstable; urgency=medium [ Brett Smith ] * comparators.json: + Catch bad JSON errors on Python pre-3.5. Closes: #855233 [ Chris Lamb ] * tests: + Move normalize_zeros to more generic `utils.data` module. + Fix tests that call xxd fail on jessie due to output change. Closes: #855239 [ Ed Maste ] * comparators.directory: + Assume BSD-style stat(1) on FreeBSD. Closes: #855169 -- Mattia Rizzolo <email address hidden> Sun, 26 Feb 2017 17:26:48 +0100
Available diffs
- diff from 77 to 78 (2.3 KiB)
diffoscope (77) unstable; urgency=medium [ Chris Lamb ] * tests/comparators/utils: + Correct logic of module_exists, ensuring we correctly skip in case of modules containing a dot in their name. Closes: #854745 * comparators/utils/libarchive: + No need to track archive directory locations. * Add --exclude option. Closes: #854783 * Add PyPI badge to README.rst. * Update .travis.yml from http://travis.debian.net. [ Mattia Rizzolo ] * Add CVE reference to the changelog of v76. * Add my key to debian/upstream/signing-key.asc. [ Ximin Luo ] * comparators/utils/libarchive: + When extracting archives, try to keep directory sizes small. -- Mattia Rizzolo <email address hidden> Mon, 13 Feb 2017 16:25:02 +0100
Available diffs
- diff from 76+build1 (in Ubuntu) to 77 (17.6 KiB)
diffoscope (76+build1) zesty; urgency=medium * Correct logic of module_exists, ensuring we correctly skip the debian.deb822 tests when python3-debian is not installed. Closes: #854745 Should fix autopkgtest failures. * d/rules: add code to ignore this version mismatch
Available diffs
- diff from 70 (in Debian) to 76+build1 (40.7 KiB)
- diff from 75 (in Debian) to 76+build1 (2.2 KiB)
diffoscope (75) unstable; urgency=medium [ Chris Lamb ] * Fix ImportError in Debian comparator tests. This was caused by not handling the case where ``importlib.find_spec`` was testing for a submodule (ie. ``debian.Deb822``) where it will attempt to import the ``debian`` module and raise an exception if it does not exist. Thanks to Iain Lane for initial patches. (Closes: #854670) [ Ximin Luo ] * Remove pointless use of a thread -- Chris Lamb <email address hidden> Fri, 10 Feb 2017 09:28:47 +1300
Available diffs
- diff from 74 to 75 (1.1 KiB)
diffoscope (74) unstable; urgency=medium * Add missing Recommends for comparators. This was a regression introduced in version 71 due to lazily-importing them; they were then not available when we called "--list-tools=debian" during package build. (Closes: #854655) -- Chris Lamb <email address hidden> Thu, 09 Feb 2017 16:58:28 +1300
Available diffs
- diff from 73 to 74 (970 bytes)
diffoscope (73) unstable; urgency=medium * debian/tests/pytest: Remove spurious clipboard contents. -- Chris Lamb <email address hidden> Thu, 09 Feb 2017 13:24:59 +1300
Available diffs
- diff from 71 to 73 (3.9 KiB)
diffoscope (71) unstable; urgency=medium [ Chris Lamb ] * New features: - 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) * Bug fixes: - 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) * Tests: - Test the RPM "fallback" comparison. - Test the Deb{Changes,Buildinfo,Dsc} fallback comparisons. - Test --progress and --status-fd output. - Add tests for symlinks differing in destination. - When comparing two empty directories, ensure that the mtime of the directory is consistent to avoid non-deterministic failures. - Smoke test profiling output. - Ensure we ignore invalid JSON files correctly. - Ensure 2nd source of a Difference is a string, not just the 1st. - Don't report on test coverage for some internal error messages. * Misc: - Add docs about releasing signed tarballs. - Drop the incomplete list of external tools from README.rst. - Add debian/watch file with cryptographic signature verification. - Drop CpioContent command now that we use libarchive. - Use a singleton to manage our Comparator classes. - Many small optimisations and code cleanups. [ Brett Smith ] * diffoscope.diff: Improve FIFO writing robustness. [ Ximin Luo ] * Fix bug introduced in commit 36d1c964 that only worked "accidentally". * Fix lazy expression; filter is lazy in Python 3. [ Mattia Rizzolo ] * Override the debian-watch-file-in-native-package lintian tag. [ anthraxx ] * Arch package changed from cdrkit to cdrtools. [ Holger Levsen ] * Restore history section in README, explaining this was started in Debian. -- Chris Lamb <email address hidden> Wed, 08 Feb 2017 13:02:01 +1300
Available diffs
- diff from 70 to 71 (36.2 KiB)
diffoscope (70) unstable; urgency=medium [ Mattia Rizzolo ] * comparators + haskell: add a comment describing the file header. Thanks to James Clarke <email address hidden> for all the investigation done. * tests: + Skip two more tests requiring a x86-64-capable binutils. This fixes the tests on ppc64el. * CONTRIBUTING: misc updates, clearer info about how to submit a Debian bug. [ James Clarke ] * comparators: + haskell: Properly extract version from interface files. What the code did before was just totally wrong, and worked only by chance (and only on little endian systems). This also fixes the test suite when run on big endian systems. [ Chris Lamb ] * comparators: + haskell: Also catch CalledProcessError, not just OSError. * presenters: + Move text presenter to use Visitor pattern. + Add markdown output support. Closes: #848141 + Add RestructuredText output format. + Instantiate our presenter classes directly instead of wrapping a method. + Use an optimised indentation routine throughout all text presenters. + text: Remove superfluous empty newlines from diff. * tests: + Split main and presenter tests. + Actually compare the output of text/ReST/markdown formats to fixtures. + Drop output_* calls that are inconsistently applied to differences. + Add tests for HTML output. + Add a test comparing two empty directories. + Test --text-color output format. + Test that no arguments (beyond the filenames) prints the text output. + Don't warn about coverage lines that raise NotImplementedError. + Increase coverage by adding "# noqa" in relevant parts. * Add build status to README.rst. [ Brett Smith ] * diffoscope: + Specify choices for --list-tools switch. + Improve --help output. Closes: #852015 * CONTRIBUTING: Refresh instructions for contributing to diffoscope. [ anthraxx ] * tools: switch Arch Linux dependency for pedump to mono. -- Mattia Rizzolo <email address hidden> Thu, 26 Jan 2017 16:39:10 +0100
Available diffs
- diff from 69+build1 (in Ubuntu) to 70 (18.4 KiB)
diffoscope (69+build1) zesty; urgency=medium [ Mattia Rizzolo ] * Skip two more tests requiring a x86-64-capable binutils. This should fix the tests on ppc64el * comparators/haskell: add a comment describing the file header. Thanks to James Clarke <email address hidden> for all the investigation done. * d/rules: add code to ignore this version mismatch [ James Clarke ] * comparators/haskell: Properly extract version from interface files. What the code did before was just totally wrong, and worked only by chance (and only on little endian systems), see below for an explenation. This also fixes the test suite when run on big endian systems. -- Mattia Rizzolo <email address hidden> Sun, 22 Jan 2017 14:49:10 +0100
Available diffs
- diff from 69 (in Debian) to 69+build1 (2.3 KiB)
diffoscope (69) unstable; urgency=medium [ Chris Lamb ] * Skip tests if binutils can't handle the object file format. Based on a patch by Mattia Rizzolo. (Closes: #851588) * Move external tool definitions out of misleading "exceptions" module. * Save some complicated logic by setting default RE_FILE_{EXTENSION,TYPE} * Test --html-dir option. * Misc: * Add missing `data` imports. - Inherit GzipFile from File, not object. - Remove unused imports in comparator tests. - Consistently space out environment exports in debian/rules. [ Mattia Rizzolo ] * If both RE_FILE_TYPE and RE_FILE_EXTENSION are defined, AND them * Use the path attribute of the specialized file instead of the original name in tests. * tests/main: * Shorten argument lists by unpacking common arguments. * Disable jQuery while testing --htmldir so tests can run without it. * tests/comparators: * Refactor into packages with smaller modules. * Rename load_fixture() to init_fixture(). * Add a load_fixture() function wrapping both init_fixture() and data(). -- Chris Lamb <email address hidden> Tue, 17 Jan 2017 11:33:54 +1100
Available diffs
- diff from 67 to 69 (24.5 KiB)
- diff from 68 to 69 (12.2 KiB)
diffoscope (68) unstable; urgency=medium [ Chris Lamb ] * 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) * Optimisations: - Disable profiling entirely (unless enabled) for a 2%+ optimisation - Compile APK filename regex instead of generating it each loop. * Logging: - Log tempfile cleanup process - Log when we add a progress observer. - Drop milliseconds from log output * Misc: - Many unused import removals, indentation changes, etc. - Fix duplicated word and long line errors in debian/changelog. - Suggest some promotion in post-release documentation. [ Maria Glukhova ] * 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. [ Mattia Rizzolo ] * Skip the openssh_pub_key test if the version of ssh is < 6.9. * comparators/icc: rename RE_FILE_EXTENSION to RE_FILE_TYPE, as that's what the regular expression is looking for. * Make use of a new mechanism to remove a bunch of recognizes() methods dealing with simple RE_FILE_TYPE matching. -- Chris Lamb <email address hidden> Mon, 16 Jan 2017 11:24:22 +1100
Available diffs
- diff from 67 to 68 (15.0 KiB)
diffoscope (67) unstable; urgency=medium [ Chris Lamb ] * Optimisations: - Avoid multiple iterations over archive by unpacking once for an ~8X runtime optimisation. - Avoid unnecessary splitting and interpolating for a ~20X optimisation when writing --text output. - Avoid expensive diff regex parsing until we need it, speeding up diff parsing by 2X. - Alias expensive Config() in diff parsing lookup for a 10% optimisation. * Progress bar: - Show filenames, ELF sections, etc. in progress bar. - Emit JSON on the the status file descriptor output instead of a custom format. * Logging: - Use more-Pythonic logging functions and output based on __name__, etc. - Use Debian-style "I:", "D:" log level format modifier. - Only print milliseconds in output, not microseconds. - Print version in debug output so that saved debug outputs can standalone as bug reports. * Profiling: - Also report the total number of method calls, not just the total time. - Report on the total wall clock taken to execute diffoscope, including cleanup. * Tidying: - Rename "NonExisting" -> "Missing". - Entirely rework diffoscope.comparators module, splitting as many separate concerns into a different utility package, tidying imports, etc. - Split diffoscope.difference into diffoscope.diff, etc. - Update file references in debian/copyright post module reorganisation. - Many other cleanups, etc. * Misc: - Clarify comment regarding why we call python3(1) directly. Thanks to Jérémy Bobbio <email address hidden>. - Raise a clearer error if trying to use --html-dir on a file. - Fix --output-empty when files are identical and no outputs specified. - Wrap changelog line to avoid Lintian warning. [ Reiner Herrmann ] * Extend .apk recognition regex to also match zip archives (Closes: #849638) [ Mattia Rizzolo ] * Follow the rename of the Debian package "python-jsbeautifier" to "jsbeautifier". [ siamezzze ] * Fixed no newline being classified as order-like difference. -- Chris Lamb <email address hidden> Wed, 04 Jan 2017 16:56:36 +0000
Available diffs
- diff from 62 to 67 (62.6 KiB)
- diff from 66 to 67 (50.4 KiB)
diffoscope (66) unstable; urgency=medium [ Chris Lamb ] * Update dex_expected_diffs and test requirement to ensure test compatibility with enjarify >= 1.0.3. (Closes: #849142) * Print the detected version in @skip_unless_tool_is_at_least test utility. [ Maria Glukhova ] * Add detection of order-only difference in plain text format. (Closes: #848049) [ anthraxx ] * Add OpenSSH Arch package to Recommends. -- Chris Lamb <email address hidden> Sat, 24 Dec 2016 19:18:30 +0000
Available diffs
- diff from 65 to 66 (2.3 KiB)
diffoscope (65) unstable; urgency=medium [ Chris Lamb ] * Avoid unpacking packages twice when comparing .changes. (Closes: #843531) * Add a simple profiling framework (enabled via --profile) which tracks: - Container extraction, opening and closing times. - The "compare_files" top-level/recursive method. - The time taken to produce the various output formats. - All "has_same_content_as" and "recognizes" methods. - External commands that wrap "@tool_required". - External commands that use "make_feeder_from_command". - The internal/external "cmp" methods. - Some manual calls to subprocess.check_output(). * Tidy log messages: * Clarify the meaning of the compare_files and Binary.has_same_content debug messages. * Skip low-value "X is already specialized" message. * Correct "instantiating" typo. [ Emanuel Bronshtein ] * Use ssh-keygen for comparing OpenSSH public keys * Remove inline styles from col elements -- Chris Lamb <email address hidden> Fri, 23 Dec 2016 11:58:15 +0000
Available diffs
- diff from 64 to 65 (7.6 KiB)
diffoscope (64) unstable; urgency=medium [ Chris Lamb ] * Avoid shelling out to colordiff by implementing highlighting in Python directly. * Split out trydiffoscope client and binary package from main diffoscope repository so that it can be more-easily released on PyPI. * Memoize calls to ``distutils.spawn.find_executable`` to avoid excessive stat(1) syscalls. * Remove temporary profiling file introduced in 97bddd18a. * comparators.directory: - Correct `source` attribute of lsattr-based Difference instances. - Add comment regarding why difficult to optimise calls to lsattr * Internally guarantee to all progress observers that we will be processing something. * bin/diffoscope: - Ensure that running from Git always uses that checkout's modules. - Use os.path.join "properly" as we are already using it. - Use typical sys.path.insert(0, ...) method to modify sys.path. - Use immutable tuple over mutable list for clarity. * comparators.debian: No need to keep .buildinfo file descriptor open. * Suggest command-line for signing of PyPI uploads. * Improve documentation of new tests/conftest.py file. [ Maria Glukhova ] * Remove test data causing problems during build with Python 3.4. * Change icc-recognizing regexp to reflect changes in file type description. (Closes: #848814) [ Brett Smith ] * set_locale should call tzset. (Closes: #848249) * Ensure set_locale fixture runs before all tests. [ Emanuel Bronshtein ] * Use js-beautify as JavaScript code beautifier for .js files (with tests). * CSS & HTML changes: - Disable referrer and window.opener leakage. - Disable compatibility mode usage in IE. - Use double quotes for HTML attributes. - Fix unclosed element span. - CSS optimizations. - Add fallback color to rgba usage. - Fix CSS markup warnings. * Change all HTTP URLs to HTTPS where applicable. [ Baptiste Daroussin ] * comparators/directory: add compatibily with FreeBSD's getfacl. * Improve portability by not relying on /dev/fd. [ Reiner Herrmann ] * Improved support for Android apk files. * Fix wording in Comparators.get_members comment. [ Mattia Rizzolo ] * presenters/html: Namespace the diffoscope CSS class. -- Chris Lamb <email address hidden> Thu, 22 Dec 2016 10:37:36 +0000
Available diffs
- diff from 63 to 64 (15.1 KiB)
diffoscope (63) unstable; urgency=medium * Add myself to Uploaders. * Greatly improve speed for large archives by fixing O(n^2) complexity for archive member lookup. - There is still O(n^2) complexity for archive member extraction, but this is less noticeable for various reasons and would require more complexity to fix, so for now is left as a task for the future. * Text output: add coloured diff support via colordiff(1). * Html-dir output: add +/- buttons to fold sub-diffs (i.e. toggle their visibility) as well as the whole diff itself. As with similar features in other programs, the effect affects all descendants if you shift-click. -- Ximin Luo <email address hidden> Fri, 02 Dec 2016 12:10:04 +0100
Available diffs
- diff from 62 to 63 (5.3 KiB)
diffoscope (62) unstable; urgency=medium [ Chris Lamb ] * progress: Pass the fileobj to the print(..) function, not str.format. Thanks to Marius Gedminas <email address hidden>. * Move diffoscope.Config to a more-standard and simpler singleton pattern and validate constraints on every __setattr__. [ Maria Glukhova ] * tests/{dex,java}: Skip the java tests if javap is older than 1.8. This fixes test_java and test_dex failing in jessie-backports. See #838984 [ Michel Messerschmidt ] * comparators/zip: Add rudimentary support for OpenDocumentFormat files. [ Mattia Rizzolo ] * debian: bump debhelper compat level to 10, no changes needed. * comparators/ppu: + don't do run a full ppudump while only looking for PPU file version. + ignore decoding errors from ppudump while filtering the output. * tests/ppu: skip some PPU tests if ppudump is < 3.0.0. Closes: #838984 * tests: skip test using a format accepted by older pytest. Closes: #841146 [ Daniel Shahaf ] * comparators/json: detect order-only differences and print them nicely. Closes: #839538 -- Mattia Rizzolo <email address hidden> Tue, 01 Nov 2016 15:33:45 +0000
Available diffs
- diff from 61 to 62 (8.7 KiB)
Superseded in zesty-release |
Obsolete in yakkety-release |
Deleted in yakkety-proposed (Reason: moved to release) |
diffoscope (61) unstable; urgency=medium [ Mattia Rizzolo ] * Skip rlib tests if the "nm" tool is missing. (Closes: #837742) * Use dedicated xxd binary package instead of vim-common. * autopkgtest: Allow stderr for the basic-command-line test. * d/rules: make it possible to backport without changing the "upstream" version. [ Maria Glukhova ] * Catch an error when we can't read files in has_same_content_as(). (Closes: #835642) [ Chris Lamb ] * Add the ability track the (approximate) progress throughout diffoscope run: - Add a graphical progressbar and show by default if STDOUT is a TTY. - Add a --status-fd argument to output machine-readable status to the specified file descriptor. [ Ximin Luo ] * Add a --output-empty option, useful for batch scripts. * Improve --help text and group the optional arguments based on topic. * Add a script to check sizes of dependencies. * tests/basic-command-line: check exit code and use a more complex example. * Provide better advice about what environment variable to set to make the console work. -- Chris Lamb <email address hidden> Wed, 28 Sep 2016 11:44:25 +0100
Available diffs
- diff from 56 to 61 (66.5 KiB)
- diff from 60 to 61 (8.1 KiB)
diffoscope (60) unstable; urgency=medium [ Chris Lamb ] * debian/rules: + Run tests with python3-coverage and generate reports post-build. * CONTRIBUTING: Add PyPI reference. * Comparators: + Avoid ugly DRY violations in diffoscope.comparators.__init__ by dynamically importing classes via a single list. + git: Specify paths as strings as required since b7830b5cb. + elf: - Mask more warnings (eg. "readelf: Error: the dynamic segment offset" or "size exceeds the size of the file"). - Specify string format arguments as logging function parameters, not using interpolation. + json: Correct behaviour of JSON comparator when file does not exist. * Presenters: + html: - Use html.escape over xml.sax.saxutils.escape. - Don't use unsafe cgi.escape method as its ``quote`` kwarg — which enables escaping of quotation marks — is False by default. * Code clean-up: + Tidy imports. + Split exceptions out into dedicated diffoscope.exc module. + Use try-except idiom instead of ``if`` in RequiredToolNotFound.get_package + Prefer kwargs[x] = kwargs.pop(x, 'default') idiom over ``if`` statements. * tests: + Factor out ugly os.path.join to a utility method. + Drop unused try_except in tests/conftest. + Add GitIndex tests to bring coverage of comparators/git.py to 100%. + Add tests for Haskell comparator. - Skip Haskell tests if GHC is not installed. - Skip Haskell tests if GHC version does not match. Closes: #835055 + Add test in JSON comparator for non-existing files. + Rewrite lengthy "[..] skipIf [..] tool_missing" with a @skip_unless_tools_exist decorator. + Add tests for skip_unless_tools_exist helper. + Rename tests/comparators/conftest.py -> tests/comparators/utils.py. + Avoid Don't-Repeat-Yourself violations by factoring out fixture loading. + Avoid more DRY violations by factoring-out non-existing file tests. + Remove some other unused imports from comparator tests. + Check rendering of text and HTML presenters when checking non-existing files. + Use `pytest.xfail` over `assert False`. [ Mattia Rizzolo ] * debian/control: + Reinstated build profiles, now that dh-python is fixed (see #834238). + Version the build-dependency on dh-python, so it supports build profiles. + Add more nocheck build profiles. + Bump dependencies on debhelper and dpkg-dev to assure build profile support is available. + Add Build-Dependency on fontforge-extras for showttf (run during tests) + Alternate Build-Dependency on default-jdk-headless|default-jdk, to ease backporting to older Debian releases. * debian/rules: + Don't install '/usr/lib/python3/dist-packages/.coverage'. + Run the basic-command-line test during package build. + Be even more verbose about failing tests. + Allow building a mismatching version between diffoscope and the debian changelog if the target distribution is UNRELEASED. * Comparators + ppu: - Unbreak ppu_version detection. - Put code out of the context manager, it doesn't need to be within. * trydiffoscope: add copyright/license header. * autopkgtest/basic-command-line: + Enable running basic-command-line test without ADTTMP being set. + Be a bit more verbose about what is being tested. + Also test return code when passing an invalid command line flag. + Force LC_ALL=C.UTF-8, so that diffoscope can always output something. * test: + Factor out a tools_missing() function. + Rewrite tool_older_than() into skip_unless_tool_is_older_than(). + Skip test_squashfs.py.test_superblock if squashfs is too old. + Normalize xxd's output so that we can compare jessie's xxd with stretch's. * add default-jdk to the alternate packages for javap for Debian; default-jdk-headless is not available in older Debian releases. [ Satyam Zode ] * Ignore differences in .buildinfo if all the other files listed in .changes are identical. In those cases any differences in .buildinfo files are irrelevant, and are actually a feature (as it indicates two reproducible builds with different environment). [ Jérémy Bobbio ] * Properly skip tests requiring python-debian when unavailable. [ Ximin Luo ] * Show the timestamp when logging, to detect which steps take longer. * Add a --no-max flag to disable all limits. * Have --max-report-size honour 0 to mean "no limit". * Comparators: + cbfs: only scan whole file when the filename ends with ".rom". + binary: Suppress decimal line numbers for xxd output. * Increase default --max-diff-input-lines to 2^20 (1048576) from 100000. * Rename --no-max-limits to --no-default-limits, a more accurate name. * presenters/html: html-dir output: + Split large diffs across several child pages. Also add some flags so html-dir behaviour is easier to reason about. + Use 4 times the given --max-diff-block-lines. This way, '--html x.html --html-dir y' gives reasonable output for both. * difference: + Fix behaviour for max-diff-block-limit=1 and don't report when 0 lines are removed. + Don't truncate diff output by default, instead add a separate flag --max-diff-block-lines-saved (infinite by default) to do so. -- Mattia Rizzolo <email address hidden> Sun, 11 Sep 2016 16:14:33 +0000
Available diffs
- diff from 59 to 60 (52.1 KiB)
diffoscope (59) unstable; urgency=medium [ Chris Lamb ] * SquashFS test_testing: - Don't assume that user and group are 5 characters long in squashfs test_listing. - Drop test test; simply too unreliable and/or has too many requirements to satisfy (eg. shorter usernames) for it to not be skipped. * Difference class: - Ensure that we pass str instances to our Difference class as paths, otherwise we can't be sure we can render them. For example, passing a class here breaks the HTML renderer. - Add test for type checking of path1/path2/source. - Pass a str for the path in the JSON comparator, fixing the HTML reporting of JSON output. * When looping over JQUERY_SYSTEM_LOCATIONS, actually use the variable we are looping with when performing the symlink(2) call. * trydiffoscope: - Add manpage for trydiffoscope. - Write trydiffoscope console output as UTF-8, even if STDOUT claims it doesn't support it. * debian/rules: - Make separate calls to dh_python3 for diffoscope and trydiffoscope to avoid both getting the same Recommends substvar. - Use a pattern-based rule for rst2man-based manpages instead of hard-coding "diffoscope.1". - Dynamically calculate manpages to generate over hardcoding. * .gitignore: Ignore all generated manpages, not just diffoscope.1. [ Holger Levsen ] * ./CONTRIBUTING: - Add new file. - Explain what to look out for when uploading diffoscope. -- Chris Lamb <email address hidden> Mon, 15 Aug 2016 09:54:48 +0100
Available diffs
- diff from 58 to 59 (4.9 KiB)
diffoscope (58) unstable; urgency=medium * Shorten Description of trydiffoscope to appease Lintian. * Make squashfs test_listing test more robust: - Add ".in" suffix to squashfs listing expected diff as we are about to template it properly. - Replace $USER with the current user with uid 1000. - Move test_listing replacements to a loop so we can easily add more. - Don't assume that the test environment as 4 CPUs in squashfs.test_listing - Don't assume default group is the same name as the user in test_listing. -- Chris Lamb <email address hidden> Sun, 14 Aug 2016 10:22:19 +0100
Available diffs
- diff from 57 to 58 (1.7 KiB)
diffoscope (57) unstable; urgency=medium [Chris Lamb] * Add myself to Uploaders. * Add try.diffoscope.org command-line client in new binary package "trydiffoscope" to save installation of dependencies: - Open files in binary mode to support comparing binary files. - Optionally open URL in web browser. - Optionally poll locally until result is available. - Move to version 2 of API, don't continue to poll on error. - Correct and improve help text. * Code cleanups: - Tidy PROVIDERS dict in diffoscope/__init__.py. - Tidy OS_NAMES dict. - Correct indentation levels in various files. - Drop unused imports. - platform.get_linux_distribution() will break in Python 3.7. - Don't name first argument of Difference.from_command "cls" as it's not a classmethod. - comparators/directory.py: Call logger.warning over logger.warn. - Rename diffoscope.__main__ to diffoscope.main as its not a "real" magic name. - Raise NotImplementedError() instances over NotImplemented classes. - Add short option for trydiffoscope --url. - Rewrite trydiffoscope to match diffoscope's command-line API. - Use keepalive in trydiffoscope client to avoid new HTTP requests. - Highlight lines via HTML/CSS when hovering over a line to make it easier to visually track. - Rename debian/install -> debian/diffoscope.install now we have multiple binary packages. * Add a JSON comparator. - Add tests for JSON comparator. - Move parsing to JSONFile.recognizes - Ensure decode errors in JSON comparator are not fatal. * Ignore /.*eggs and /.cache - they get created when running tests. * Reflow long dh_python3 call in debian/rules. * Use dict.get fallback to shorten OS_NAMES lookup in --list-tools. * --list-tools: - Output --list-tools in RFC822 format to make parsing less brittle. - Print "no package mapping" in --list-tools to stderr, not stdout. - Remove unused ``reduce`` import. - Reflow long PROVIDERS lookup. * Add .travis.yml from http://travis.debian.net/ * Don't skip squashfs test_listing test; we can workaround it, as long as we have a uid 1000. * Drop "Testsuite: autopkgtest" in debian/control; it is added automatically by dpkg-source version 1.17.11. [Mattia Rizzolo] * autopkgtest: be more verbose when running the tests * debian/control: - Mark build-dependency needed only for tests with a <build profile (reverted as they break dh-python) - add more build-dependencies to be able to run more tests at build time - default-jdk-headless is enough to have javap, instead of all of default-jdk * debian/rules: - be more verbose when running the tests, in particular, show why tests are being skipped - teach pybuild where to put diffoscope's files * do not try to execute the command if the command is not available [Ximin Luo] * Add support for reading LLVM bitcode files - Ignore line numbers because different llvm-dis versions output extra metadata - Disable the llvm-dis test if the version is lower than 3.8 * Add support for reading Rust LLVM object files * Add test for rlib files, helping also to test ArFile, LlvmBitCodeFile and RustObjectFile * Fix failing directory test * Add support for reading the symbol table to ArFile * Fix typo in tool_older_than - Remove debugging print from tool_older_than [anthraxx] * skip rlib test if llvm-dis tool is missing -- Chris Lamb <email address hidden> Sat, 13 Aug 2016 23:46:42 +0100
Available diffs
- diff from 56 to 57 (17.6 KiB)
diffoscope (56) unstable; urgency=medium [ Jérémy Bobbio ] * Fix maybe_decode() so that it actually works. [ Chris Lamb ] * Mask EPIPE to avoid ugly tracebacks when eg. prematurely terminating $PAGER. * Add git index file comparator. * Drop unused imports in Ar comparator. [ Ximin Luo ] * Add support for AR archives (including Rust .rlib files). * Add some more documentation for ArFile/ArContainer. * RequiredToolNotFound.PROVIDERS dict values are package names, not binary names. -- Reiner Herrmann <email address hidden> Thu, 28 Jul 2016 00:02:56 +0200
Available diffs
- diff from 55 to 56 (3.3 KiB)
diffoscope (55) unstable; urgency=medium [ anthraxx ] * Fix sqlite3 magic recognition when using file >= 5.27. (Closes: #830434) [ Satyam Zode ] * Add argument completion feature to diffoscope. (Closes: #826711) [ Chris Lamb ] * Improve message when data differs. (Closes: #827981) [ Reiner Herrmann ] * Clarify the input arguments. (Closes: #826894) [ Holger Levsen ] * Add link to homepage in HTML output. [ Rainer Müller ] * python-magic >=0.4.12 does not require decode. -- Reiner Herrmann <email address hidden> Fri, 15 Jul 2016 21:50:29 +0200
Available diffs
- diff from 54 to 55 (3.8 KiB)
diffoscope (54) unstable; urgency=medium * Fix syntax in RequiredToolNotFound.PROVIDERS. This caused --list-tools to miss entries, and by it missing Recommends in the Debian package. -- Mattia Rizzolo <email address hidden> Fri, 03 Jun 2016 16:16:02 +0000
Available diffs
- diff from 52 to 54 (4.9 KiB)
diffoscope (52) unstable; urgency=medium [ Mattia Rizzolo ] * debian/gbp.conf: add a conf to have gbp tag the releases how we like them. [ Holger Levsen ] * 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) [ Satyam Zode ] * Fix typo in documentation. [ Reiner Herrmann ] * 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) -- Reiner Herrmann <email address hidden> Wed, 20 Apr 2016 20:28:03 +0200
Available diffs
- diff from 51 to 52 (2.0 KiB)
Superseded in yakkety-release |
Published in xenial-release |
Deleted in xenial-proposed (Reason: moved to release) |
diffoscope (51) unstable; urgency=medium * Team upload. * Re-upload, the last uploaded tarball was broken, missing test files. -- Mattia Rizzolo <email address hidden> Sun, 28 Feb 2016 11:56:35 +0000
Available diffs
- diff from 49 to 51 (28.6 KiB)
diffoscope (49) unstable; urgency=medium [ Jérémy Bobbio ] * 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. [ anthraxx ] * Adding cd-iccdump package reference for Arch Linux. [ Mattia Rizzolo ] * Use HTTPS in Vcs-Git. [ Holger Levsen ] * Bump standards version to 3.9.7, no changes needed. * Use /git/ instead /cgit/ in Vcs-Browser. -- Jérémy Bobbio <email address hidden> Wed, 17 Feb 2016 18:12:45 +0100
Available diffs
- diff from 48 to 49 (8.3 KiB)
151 → 225 of 237 results | First • Previous • Next • Last |