[diffoscope] branch master updated (c144240 -> 2422e0f)

Chris Lamb chris at chris-lamb.co.uk
Fri Jul 21 11:43:55 CEST 2017

This is an automated email from the git hooks/post-receive script.

lamby pushed a change to branch master
in repository diffoscope.

      from  c144240   comparators.apk: APK files can also be identified as "DOS/MBR boot sector". This is reasonably safe unless you have a real boot sector with an .apk extension. Thanks to Hans-Christoph Steiner <hans at eds.org> for the report and testcases. (Closes: #868486)
       new  7734b8f   Add new XML comparator. (Closes: #866120)
       new  a24b456   Set correct attribution for Juliana's XML comparator.
       new  9d89fdd   comparators.xml: Use 4-spaces, not 2-spaces for Python code.
       new  9123eb0   Misc style fixups to XML comparator.
       new  2422e0f   comparators.xml: Fix EPUB "missing file" tests; they ship a META-INF/container.xml file.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.

Summary of changes:
 diffoscope/comparators/__init__.py                 |   1 +
 diffoscope/comparators/xml.py                      | 137 +++++++++++++++++++++
 .../{test_fontconfig.py => test_xml.py}            |  29 +++--
 tests/data/test1.xml                               |   9 ++
 tests/data/test2.xml                               |   9 ++
 tests/data/test_invalid.xml                        |   8 ++
 tests/data/test_xml_expected_diff                  |  14 +++
 7 files changed, 195 insertions(+), 12 deletions(-)
 create mode 100644 diffoscope/comparators/xml.py
 copy tests/comparators/{test_fontconfig.py => test_xml.py} (61%)
 create mode 100644 tests/data/test1.xml
 create mode 100644 tests/data/test2.xml
 create mode 100644 tests/data/test_invalid.xml
 create mode 100644 tests/data/test_xml_expected_diff

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git

More information about the diffoscope mailing list