]> code.ossystems Code Review - openembedded-core.git/commit
diffoscope: upgrade 146 -> 147
authorPierre-Jean Texier <pjtexier@koncepto.io>
Fri, 12 Jun 2020 11:30:35 +0000 (13:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Jun 2020 17:12:46 +0000 (18:12 +0100)
commitd6350dd5cdb252216494475b87edf42e0bdfdb19
tree9f21d0550e3d94c17867f10e31020fe63c133340
parent39dc49523f5d24db8f8053444c543c371c32d10c
diffoscope: upgrade 146 -> 147

This includes the following changes:

* New features:

  - Add output from strings(1) to ELF binaries. It is intended this will
    expose expose build paths that are hidden somewhere within the objdump(1)
    output. (Closes: reproducible-builds/diffoscope#148)
  - Add basic zsh shell tab-completion support.
    (Closes: reproducible-builds/diffoscope#158)

* Bug fixes:

  - Prevent a traceback when comparing a PDF document that does not contain
    any metadata, ie. it is missing a PDF "/Info" stanza.
    (Closes: reproducible-builds/diffoscope#150)
  - Fix compatibility with jsondiff 1.2.0 which was causing a traceback and
    log the version of jsondiff we are using to aid debugging in the future.
    (Closes: reproducible-builds/diffoscope#159
  - Fix an issue in GnuPG keybox handling that left filenames in the diff.
  - Don't mask an existing test name; ie. ensure it is actually run.

* Reporting:

  - Log all calls to subprocess.check_output by using our own wrapper utility.
    (Closes: reproducible-builds/diffoscope#151)

* Code improvements:

  - Replace references to "WF" with "Wagner-Fischer" for clarity.
  - Drop a large number of unused imports (list_libarchive,
    ContainerExtractionError, etc.)
  - Don't assign exception to a variable that we do not use.
  - Compare string values with the equality operator, not via "is" identity.
  - Don't alias an open file to a variable when we don't use it.
  - Don't alias "filter" builtin.
  - Refactor many small parts of the HTML generation, dropping explicit
    u"unicode" strings, tidying the generation of the "Offset X, Y lines
    modified" messages, moving to PEP 498 f-strings where appropriate, etc.
  - Inline a number of single-used utility methods.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/diffoscope/diffoscope_147.bb [moved from meta/recipes-support/diffoscope/diffoscope_146.bb with 83% similarity]