[diffoscope] annotated tag 60 created (now 5e4a2d0)
Mattia Rizzolo
mattia at debian.org
Sun Sep 11 18:41:01 CEST 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a change to annotated tag 60
in repository diffoscope.
at 5e4a2d0 (tag)
tagging 4cbcef8fda4d27d998c974239484047a68b70a21 (commit)
replaces 59
tagged by Mattia Rizzolo
on Sun Sep 11 16:40:11 2016 +0000
- Log -----------------------------------------------------------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 11 Sep 2016 16:14:33 +0000
Source: diffoscope
Binary: diffoscope trydiffoscope
Architecture: source
Version: 60
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds at lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia at debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
trydiffoscope - in-depth comparison of files, archives, etc. (try.diffoscope.org
Closes: 835055
Changes:
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.
Checksums-Sha1:
7e731a81709a4d6ecf43354299b867abd853834d 2827 diffoscope_60.dsc
508f1ffca925f5e463992a7863e3bda410c043cc 310588 diffoscope_60.tar.xz
Checksums-Sha256:
4cce0729e0b2f8b747e7d03286035ce03ce4d312a3dc59d38769acaf25c60a61 2827 diffoscope_60.dsc
1cfb8fd0cbf6030bca432e044799719c3ca30e8bcd2a81a22eeea1a02a316ac2 310588 diffoscope_60.tar.xz
Files:
46638ff5eed957c2a2d720436f973749 2827 devel optional diffoscope_60.dsc
447a9be43ba6003ac83e3e53cb636814 310588 devel optional diffoscope_60.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX1YWsAAoJEEsEP825REVAXvEP/ROmix95YURunV/JW/s3fcfA
rxO2bJCi15ePfI/oyTakRTMK/1yPmI1dWLokxIEQdsrWOXRO3/858TSlXHarrQmQ
drv797yAYT9Tk/EwGNKrkadiqDmjQciZG1OEnZ9EiH4j3NiFn89IeK62yDAFbu92
3w1ivBXiqziA9WlNRUEehrtjDp+BBPV1jkZihuLgbYejm8BkLE/9Tz36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LNPdJOiUZ+idxpwnVrLwzPFRZr4QcKLn8PjgckY3Pco
Dgzyw35SqyJgnF9cQxpDDVcd8gUtfYSpkFKP0IpK3j+FINKKU/bsKKe3pLl/6sYf
zICVpj6yhS9W71riD1rySLwaG0nBwiw/cSIeLNBYhm/ugVeq+dKpbRb4nt1YUOfk
WbvgEbRKaEfn0ux1+CqF
=98F4
-----END PGP SIGNATURE-----
Chris Lamb (36):
Remove duplicate word "test" from changelog.
Tidy imports.
Drop unnecessary whitespace.
Factor out ugly os.path.join in tests to a utility method.
Drop unused try_except in tests/conftest.
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.
Run tests with python3-coverage and generate reports post-build.
Remove duplicate .coverage and .htmlcov from .gitignore.
Use --cov* in PYBUILD_TEST_ARGS over manual invokation of coverage.
CONTRIBUTING: Add PyPI reference.
comparators/git.py: Specify paths as strings as required since b7830b5cb.
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.
Rewrite lenghy "[..] skipIf [..] tool_missing" with @skip_unless_tool_exists.
Rename tests/comparators/conftest.py -> tests/comparators/utils.py.
Avoid Don't-Repeat-Yourself violations by factoring out fixture loading.
Mask more warnings (eg. "readelf: Error: the dynamic segment offset + size exceeds the size of the file") in ELF comparator.
Avoid more DRY violations by factoring-out non-existing file tests.
Check rendering of text and HTML presenters when checking non-existing files.
Remove some other unused imports from comparator tests.
Add test in JSON comparator for non-existing files.
Correct behaviour of JSON comparator when file does not exist.
Avoid ugly DRY violations in diffoscope.comparators.__init__ by dynamically importing classes via a single list.
Add tests for skip_unless_tool_exists helper.
Rename skip_unless_tool_exists -> skip_unless_tools_exist and fix logic.
Use the debian_fallback.X as the fallback for debian.DotBuildinfoFile (not debian.X).
Use `pytest.xfail` over `assert False`.
Fix sed/paste error introduced in 80f9244.
Skip Haskell tests if GHC version does not match. (Closes: #835055)
Tidy imports in Debian comparator and tests.
presenters/html.py: Don't use unsafe cgi.escape method as its ``quote`` kwarg -- which enables escaping of quotation marks -- is False by default.
presenters/html.py: Use html.escape over xml.sax.saxutils.escape.
comparators/elf.py: Specify string format arguments as logging function parameters, not using interpolation.
HW42 (1):
debian/changelog: fix little typo
Jérémy Bobbio (1):
Properly skip test requiring python-debian when unavailable
Mattia Rizzolo (31):
Revert "Remove build profiles, as they break dh-python"
Version the build-dependency on dh-python, so it supports build profiles
wrap-and-sort, broken by the revert, as it had conflicts
d/rules: don't install /usr/lib/python3/dist-packages/.coverage
more nocheck build profiles
Bump dependencies on debhelper and dpkg-dev to assure build profile support is available
test: factor out a tools_missing() function
tests: rewrite tool_older_than() into skip_unless_tool_is_older_than()
tests: skip test_squashfs.py.test_superblock if squashfs is too old
in the tests only, 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
d/control: alternate build-dependency on default-jdk-headless|default-jdk, to ease backporting to older debian releases
Be even more verbose about failing tests
comparators/ppu: unbreak ppu_version detection
add copyright/license header
comparators/ppu: put code out of the context manager, it doesn't need to be within
debian/control: add Build-Dependency on fontforge-extras to have shottf (run during tests)
make possible to run basic-command-line test without ADTTMP being set
Also test on autopkgtest return code when passing a invalid command line flag
autopkgtest/basic-command-line: be a bit more verbose about what is being tested
autopkgtest/basic-command-line: be a bit more verbose about what is being tested
debian/rules: run the basic-command-line test during package build
d/rules: more assurance the "build ongoing" version of diffoscope gets tested
xfail ppu identification test in case of mismatching ppu version
Revert "xfail ppu identification test in case of mismatching ppu version"
force LC_ALL=C.UTF-8 in basic-command-list test, so that diffoscope can always output something
changelog for v60
Improve wording of the changelog
Allow to build a mismatching version between diffoscope and the debian changelog if the target distribution is UNRELEASED.
fix spelling-error-in-changelog lintian warning...
Release v60
Reiner Herrmann (1):
debian/changelog: minor text fixes
Satyam Zode (1):
Improve diffoscope behaviour for .changes
Ximin Luo (12):
Show the timestamp when logging so I know which steps take longer
Actually only scan whole file when filename ends in ".rom"
Add a --no-max flag to disable all limits and have max_report_size also honour 0 to mean "no limit"
Suppress decimal line numbers for xxd output
Set limits to inf when parsing args, instead of checking for "> 0" everywhere
Fix behaviour for max-diff-block-limit=1 and don't report when 0 lines are removed
- rm obsolete comment
Increase default max_diff_input_lines, should be OK based on what we've seen
Rename no-max-limits to no-default-limits, a more accurate name
html-dir: In html-dir output, split large diffs across several child pages
difference: Don't truncate diff output by default, and use a separate flag when doing so
html-dir: use 4 * the given max-diff-block-lines
-----------------------------------------------------------------------
No new revisions were added by this update.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list