lp:debian/diffoscope

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:debian/diffoscope
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Development

Recent revisions

9. By Jeremy Bobbio

Fix dh_python3 package overrides so we get a correct versioned
Depends on python3-tlsh.

8. By Jeremy Bobbio

* Switch to incremental interface for TLSH. That means we won't load
  800 MiB or more in memory to compute the fuzzy hash.
* Add support for CBFS images (Closes: #788364)
* Add support for .dsc files (Closes: #800359)
* Fix handling of malformed md5sums file. (Closes: #799901)
* Fix placeholder encoding issue when trimming stderr.
  (Closes: #799863)
* Read text report as UTF-8 encoded in test_text_option_with_file.
  (Closes: #801766)
* Read Haskell interfaces in binary mode (Closes: #801333)
* Read md5sums file using UTF-8.
* Add a test for --max-diff-block-lines.
* Handle closing stdin for Command implementing feed_stdin.
* Handle subprocess errors with no output when comparing with a command.
* Use name and not path when doing binary comparisons.
* Add a test for --list-tools.
* Fix main exception handling.
* Use text file comparison for .dsc and .changes when the referenced files
  are missing.
* Do skip squashfs test if there's no user with uid 1000.
* Use super() instead of the old cumbersome form.

7. By Jeremy Bobbio

* Read Debian .changes file as utf-8 encoded.
* Add missing encode() for the 'too much input for diff' message.

6. By Jeremy Bobbio

[ Jérémy Bobbio ]
* Switch to Python 3. This means code has been changed slightly
  here and there. Issues related to text encoding should now be
  far less frequent. According to some preliminary benchmark,
  diffoscope should run faster as well.
* The system tar is now used instead of the Python module to display Tar
  archive metadata. The output should be slightly more accurate.
* Log exceptions raised while computing diffs as errors
* Avoid concatenating many strings in hexdump_fallback. This matters when
  looking at big binary files with xxd unavailable.
* Let's ignore command errors when the file content is identical.
* Fix isoinfo arguments to read Joliet data on ISO9660 images.
* Ignore errors when reading Joliet and Rockridge data in ISO9660 images.
* Use threads instead of processes for multiprocessing when running diff.
  There is no measurable performance impact and it helps to simplify the
  code.
* Use the right argument order when creating CalledProcessError.
* Propagate failure of external commands feeding diff.
* Improve debugging log for command lines and exit codes.
* Remove she-bang from files not meant to be executed directly.
* Add more tests for main() behavior.
* Improve RPM header conversion.
* Fix a refactoring error in compare_commented_files().

[ Mattia Rizzolo ]
* Drop X-Python-Version field, not needed anymore for python3.

5. By Jeremy Bobbio

* Fix path to executable in README. Thanks Niko Tyni for the patch.
* Encode file path when filtering it from readelf output. This fixes
  diffoscope for gnome-clocks.
* Include ELF test files in the source tarball.
* Fix required tool for zip tests.
* Fix expected `unsquashfs -s` output for squashfs-tools 4.3.
* Parse md5sums in .deb even if they are identical.
* Log ignore files count when comparing data.tar in .deb.
* Minor code improvemnts.

4. By Jeremy Bobbio

Fix path to diffoscope used to generate Recommends. (Closes: #797978)

3. By Jeremy Bobbio

[ Jérémy Bobbio ]
* Add `--fuzzy-threshold` option. This allows one to specify the TLSH score
  used as cut-off for fuzzy matching. Specifying 0 will disable
  fuzzy-matching entirely. Thanks Jakub Wilk for prompting me to implement
  this. (Closes: #797557)
* Add `--new-file` to treat absent files as empty. Thanks Jakub Wilk for the
  suggestion. (Closes: #797560)
* Enable comparisons of symlinks and devices given on the command line.
  (Closes: #796262)
* Fix comparisons of device files. (Closes: #796288)
* Perform comparisons of file metadata in directories using original path.
  (Closes: #796202)
* Display default values in `--help`.
* Stop unpacking Tar directories. Thanks h01ger for the report.
  (Closes: #797164)
* Make directory comparison work again.
* Fix and document required Python modules. Thanks plntyk for the feedback on
  IRC.
* Pass `--force-local`. to cpio. We don't want filenames with ':' to trigger
  remote copies.
* Mark that get_ar_content() as requiring the 'ar' executable.
* Rework how diffoscope main() is run. Thanks Yaroslav Halchenko for the
  report and suggestions. (Closes: #796196)
* Assume UTF-8 output if stdin does not advertise any encoding.
* Give proper error message when run on non-existing files.
* Output differences in directory test to ease debugging.
* Update manpage. Thanks Jakub Wilk for reporting the issue.
  (Closes: #797561)
* Properly handle SIGTERM and do cleanup temp files. Thanks Mattia Rizzolo
  for reporting this and how he did work around this deficiency.
  (Closes: #788568)
* Fix handling of GHC .hi file (Closes: #796039)
* Add a test on how Ctrl+C is handled.
* Minor code improvements.

[ Chris Lamb ]
* Correct "comment" on Device comparator.

2. By Jeremy Bobbio

[ Reiner Herrman ]
* Fix detection of jar archives.
* Make some hardcoded limits configurable. (Closes: #795292)

[ Mattia Rizzolo ]
* Don't print the traceback when killed by KeyboardInterrupt.
* Add a --debugger option to dump the user into pdb in case of crashes.
  (Closes: #796204)

[ Jérémy Bobbio ]
* Replace ssdeep by tlsh

[ Chris Lamb ]
* Unify to 4 spaces everywhere.
* Leave string interpolation to logging.$level(..) calls.
* Add missing 'sys' import.
* Specify source of 'Files' correct; was using "Changes" leaked from for loop.
* Remove unused and duplicate imports.
* Support passing directories as "foo/" or "foo".

1. By Jeremy Bobbio

* Remove empty line at the beginning of HTML reports.
* Stop failing to run the tests when uid 1000 doesn't exist.
* Make .changes file matching more accurate.
* Move the sanity check for version number from clean to build rule.
* Remove leftover debug in squashfs comparator.
* Stop decompressing squashfs directories as we compare content already.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers