[diffoscope] branch siamezzze/elf updated (c802f86 -> 5701e67)
Maria Glukhova
siamezzze-guest at moszumanska.debian.org
Sun Feb 26 04:50:00 CET 2017
This is an automated email from the git hooks/post-receive script.
siamezzze-guest pushed a change to branch siamezzze/elf
in repository diffoscope.
discards c802f86 Use Ar container comparison when ElfContainer is not applicable.
adds a738c8f Add watch file with cryptographic signature verification.
adds bf7155a comparators: Don't report on test coverage for some internal error messages.
adds 30e112c comparators.squashfs: Consistently use double-quotes in human-readable exception messages.
adds dfc6ed9 comparators.image: Correct location of noqa stub for imagemagick calls.
adds 8046db9 tests.comparators: Add test for symlink differing in destination.
adds 19a1890 tests.comparators.utils: Add a get_data helper method
adds dc7b769 Don't write "fixture" file - was left in from previous commit(s)
adds 03446b8 tests.comparators: Avoid DRY violations by using new 'get_data' method.
adds b465f4b comparators.elf: Mark abstract/example method as "noqa" for coverage
adds 5fecba7 diffoscope.diff: Use %r over %s & repr(line)
adds 1f01648 diffoscope.exc: Tag nother impossible-to-reach-in-tests code with "noqa"
adds d58051b tests: When comparing two empty directories, ensure that the mtime of the directory is consistent to avoid non-deterministic failures.
adds 95f828e comparators.ps: Add "noqa" stub when missing ps2ascii.
adds 2b2cb3c tests: Also test whether the 2nd source of a difference is a string, not just the first
adds dd09b6c tests: Smoke-test test profiling output.
adds 4bccd9e Override the debian-watch-file-in-native-package lintian tag
adds b30e152 tools: arch package changed from cdrkit to cdrtools
adds eba6ed9 tests: Test that we ignore invalid JSON files correctly.
adds 1808a99 comparators.cpio: Drop CpioContent command now that we use libarchive.
adds 4cdfa57 comparators: Use a singleton to manage our Comparator classes.
adds 5362315 tests: Reload Comparators after every test so we are always in a consistent state.
adds fe9c9ba tests: Ensure we can at least import the "deb_fallback" and "rpm_fallback" modules.
adds 3a4d365 tests: Test RPM "fallback" comparison.
adds 931b49a tests: Test Deb{Changes,Buildinfo,Dsc} fallback comparisons.
adds bcd117c README.rst: Merge in content from CONTRIBUTING.
adds 9326ee8 README: We are not Debian-specific anymore.
adds 920d5fb progress: Reset prorgress bar internal statee after every test run.
adds 9095225 tests: Smoke test --progress output.
adds 6e71604 progress: Rewrite StatusFD to take a file object, not a file descriptor.
adds c9696b6 tests: Test the --status-fd output.
adds 26784c6 debian/control: Add python3-progressbar as a test dependency.
adds fabb7bc README: Keep history, explain this was started in Debian.
adds c601f2d Add a machine-readable JSON output format. (Closes: #850791)
adds 68504f2 Drop debugging code from previous commit.
adds c6f2be2 comparators.symlink: Drop strange debugging message.
adds db37e55 Fix errors when comparing directories with non-directories. (Closes: #835641)
adds 42c4c3a comparators.utils: Don't uselessly run xxd(1) on non-directories.
adds 03b8f89 comparators.utils: Tidy code that calls cmp(1)
adds dfd4866 diffoscope.presenters: Split non-utils out of utils presenter.
adds 26bae91 comparators.debian: Tidy formatting, etc to make it more VCS-friendly.
adds 59cd6ad comparators.debian: Drop DOT_CHANGES_FIELDS
adds 31e5138 comparators.Debian: Further tidying.
adds bf5eda4 Add missing trailing )
adds 62b3900 comparators.Debian: Show results from debugging packages last (Closes: #820427)
adds 30a2e5d diffoscope.presenters: Move output size utilities and exceptions out of HTML-specific presenter module.
adds 758139b diffoscope.presenters: Move base Presenter class to "utils" module.
adds 2003d09 presenters: Add a Presenter.start method to simplify logic.
adds 7479e16 presenters.text: Apply --max-report-size to --text reports. (Closes: #851147)
adds e444526 comparators.utils: Improve "Unpacking.." log message to include the source.
adds d0c97f8 compare_files: Improve "Comparing files X and Y" debug message.
adds d8898e8 comparators.utils.container: Tidy formatting.
adds 9eac636 diff: Use diffoscope.tempfiles over tempfile.TemporaryDirectory to ensure cleanup at end of diffoscope run.
adds 659c57d diff: Use os.path.join over manual path manipulation.
adds f0343d8 main: Clean all temp files in signal handler thread instead of attempting to bubble exception back to the main thread. (Closes: #852013)
adds 37649ac diffoscope.diff: Improve FIFO writing robustness.
adds d0975c6 diffoscope.diff: Drop contextlib import.
adds 83ebe3c Split --report-size into --max-text-report-size - the defaults for each are not really compatible and --text should emit everything by default.
adds aeb021a presenters.utils: Fix behaviour of setting report maximums to zero (ie. no limits)
adds 2e3a4a5 presenters.utils: Tidy and optimise create_limited_print_func
adds 5de41bc Release 71
adds 62023eb Release version 71
adds 27cb967 comparators.cpio: Tidy
adds 4c70ea7 Add a "skip_unless_module_exists" test decorator.
adds e04e4f7 Move many tests to use new @skip_unless_module_exists decorator.
adds 83e939e Progress tests require progressbar module (re. #854593)
adds 9d4113b Show local variables in pytest tracebacks.
adds 5696911 Device and RPM fallback comparisons needs xxd due to fixtures. (Closes: #854593)
adds 097dee5 Specify <html lang="en"> in HTML output. (re. #849411)
adds d7d7229 Release 72
adds 5597372 Release version 72
adds 29b4b5d debian/tests/pytest: Remove spurious clipboard contents.
adds 960b25e Release 73
adds cc89a87 Release version 73
adds 46d5003 Add missing Recommends for comparators. (Closes: #854655)
adds 0289e2e Release 74
adds 16ec797 Release version 74
adds 6ec3e00 Remove pointless use of a thread
adds 8b454a9 Rewrite find_spec line as a separate method for next commit.
adds 541de9e Importing submodules (ie. ``parent.child``) will attempt to import ``parent`` so we must catch that. (Closes: #854670)
adds 8929e49 Release 75
adds c3474bb Release version 75
adds 64f6ff1 Simplify call to subprocess.Popen
adds 7195a5c Don't write to arbitrary locations when extracting archive members
adds e0563c8 Better way of performing the entry name sanitisation
adds b468a28 Drop debian/changelog entry; it will be created by gbp upon release.
adds 632a408 Extract archive members using an auto-incrementing integer, avoiding the need to sanitise filenames. (Closes: #854723)
adds be768ec Release 76
adds 90c33e7 Release version 76
adds 520f8c6 Correct logic of module_exists, ensuring we correctly skip the debian.deb822 tests when python3-debian is not installed. (Closes: #854745)
adds e1775ed Invert all the module_exist logic to prevent multiple confusing negations.
adds f6745a1 main: Correct grammar in comment.
adds acebcc0 utils.libarchive: No need to track archive directory locations.
adds bb2ff3b Add --exclude option. (Closes: #854783)
adds ff1bfa1 Add PyPI badge to README.rst.
adds c7b8eaa Add .travis.yml from http://travis.debian.net.
adds e68dced No need to do complex string formatting just to convert an integer in a string
adds f379d1f Add CVE-2017-0359 to the changelog of v76
adds 33267c2 When extracting archives, try to keep directory sizes small
adds 3a7f233 Remove incorrect naive optimisation with os.makedirs()
adds 29a14d3 Add my key to debian/upstream/signing-key.asc
adds 7fb6183 Changelog for v77
adds 10b1f7d Release version 77
adds 1edef90 Assume BSD-style stat(1) on FreeBSD. (Closes: #855169)
adds b04dcd9 comparators.json: Catch bad JSON errors on Python pre-3.5. (Closes: #855233)
adds c3fe197 tests: Move normalize_zeros to more generic `utils.data` module.
adds 46d9c87 Fix tests that call xxd fail on jessie due to output change. (Closes: #855239)
adds e4352c9 fix typo in comment
adds 0620df4 comparators.elf: Correct spelling of "Entries".
new 6e4cf15 Use Ar container comparison when ElfContainer is not applicable.
new 5701e67 Remove debug symbols decompressing since objdump now supports compressed debug symbols.
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (c802f86)
\
N -- N -- N refs/heads/siamezzze/elf (5701e67)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 2 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:
.travis.yml | 1 +
CONTRIBUTING | 61 -----
README.rst | 86 ++++++-
debian/changelog | 125 ++++++++++
debian/control | 1 +
debian/rules | 2 +-
debian/source/lintian-overrides | 3 +
debian/tests/pytest | 2 +-
debian/upstream/signing-key.asc | 251 +++++++++++++++++++++
debian/watch | 2 +
diffoscope/__init__.py | 2 +-
diffoscope/comparators/__init__.py | 143 +++++++-----
diffoscope/comparators/cpio.py | 18 +-
diffoscope/comparators/debian.py | 131 ++++++++---
diffoscope/comparators/directory.py | 46 ++--
diffoscope/comparators/elf.py | 39 +---
diffoscope/comparators/image.py | 4 +-
diffoscope/comparators/json.py | 2 +-
diffoscope/comparators/ps.py | 2 +-
diffoscope/comparators/squashfs.py | 22 +-
diffoscope/comparators/symlink.py | 1 -
diffoscope/comparators/utils/archive.py | 2 +-
diffoscope/comparators/utils/compare.py | 15 +-
diffoscope/comparators/utils/container.py | 33 ++-
diffoscope/comparators/utils/file.py | 32 ++-
diffoscope/comparators/utils/libarchive.py | 39 ++--
diffoscope/comparators/utils/specialize.py | 30 +--
diffoscope/comparators/zip.py | 4 +-
diffoscope/config.py | 2 +
diffoscope/diff.py | 123 +++++-----
diffoscope/exc.py | 2 +-
diffoscope/{logging.py => excludes.py} | 31 ++-
diffoscope/external_tools.py | 2 +-
diffoscope/main.py | 25 +-
diffoscope/presenters/{utils.py => formats.py} | 29 +--
diffoscope/presenters/html/html.py | 21 +-
diffoscope/presenters/html/templates.py | 2 +-
diffoscope/presenters/{base.py => json.py} | 40 ++--
diffoscope/presenters/markdown.py | 2 +-
diffoscope/presenters/restructuredtext.py | 2 +-
diffoscope/presenters/text.py | 14 +-
diffoscope/presenters/utils.py | 149 +++++-------
diffoscope/progress.py | 15 +-
tests/comparators/test_apk.py | 6 +-
tests/comparators/test_ar.py | 6 +-
tests/comparators/test_binary.py | 16 +-
tests/comparators/test_bzip2.py | 4 +-
tests/comparators/test_cbfs.py | 6 +-
tests/comparators/test_cpio.py | 8 +-
tests/comparators/test_deb.py | 4 +-
tests/comparators/test_debian.py | 67 ++++--
tests/comparators/test_device.py | 18 +-
tests/comparators/test_dex.py | 4 +-
tests/comparators/test_directory.py | 43 +++-
tests/comparators/test_elf.py | 24 +-
tests/comparators/test_epub.py | 4 +-
tests/comparators/test_fonts.py | 4 +-
tests/comparators/test_fsimage.py | 23 +-
tests/comparators/test_gettext.py | 4 +-
tests/comparators/test_git.py | 5 +-
tests/comparators/test_gzip.py | 6 +-
tests/comparators/test_haskell.py | 5 +-
tests/comparators/test_icc.py | 4 +-
tests/comparators/test_ico_image.py | 6 +-
tests/comparators/test_ipk.py | 4 +-
tests/comparators/test_iso9660.py | 10 +-
tests/comparators/test_java.py | 4 +-
tests/comparators/test_javascript.py | 4 +-
tests/comparators/test_jpeg_image.py | 6 +-
tests/comparators/test_json.py | 12 +-
tests/comparators/test_macho.py | 4 +-
tests/comparators/test_mono.py | 4 +-
tests/comparators/test_openssh_pub_key.py | 4 +-
tests/comparators/test_pdf.py | 6 +-
tests/comparators/test_png.py | 4 +-
tests/comparators/test_ppu.py | 4 +-
tests/comparators/test_ps.py | 6 +-
tests/comparators/test_rlib.py | 8 +-
tests/comparators/test_rpm.py | 44 +++-
tests/comparators/test_sqlite.py | 4 +-
tests/comparators/test_squashfs.py | 8 +-
.../comparators/{utils/data.py => test_symlink.py} | 27 +--
tests/comparators/test_tar.py | 8 +-
tests/comparators/test_text.py | 6 +-
tests/comparators/test_utils.py | 17 +-
tests/comparators/test_xz.py | 4 +-
tests/comparators/test_zip.py | 10 +-
tests/comparators/utils/data.py | 17 ++
tests/comparators/utils/tools.py | 15 ++
tests/conftest.py | 12 +
tests/data/dot_buildinfo_fallback_expected_diff | 23 ++
tests/data/dot_changes_fallback_expected_diff | 29 +++
tests/data/dot_dsc_fallback_expected_diff | 16 ++
tests/data/output.json | 33 +++
tests/data/rpm_fallback_expected_diff | 115 ++++++++++
tests/data/symlink_expected_destination_diff | 3 +
tests/data/test_directory_device_diff | 3 +
tests/data/test_directory_file_diff | 3 +
tests/data/test_directory_symlink_diff | 3 +
tests/data/test_invalid.json | 1 +
tests/test_difference.py | 12 +-
tests/test_excludes.py | 85 +++++++
tests/test_main.py | 14 +-
tests/test_presenters.py | 5 +
tests/test_progress.py | 66 ++++++
105 files changed, 1735 insertions(+), 753 deletions(-)
delete mode 100644 CONTRIBUTING
create mode 100644 debian/source/lintian-overrides
create mode 100644 debian/upstream/signing-key.asc
create mode 100644 debian/watch
copy diffoscope/{logging.py => excludes.py} (58%)
copy diffoscope/presenters/{utils.py => formats.py} (88%)
rename diffoscope/presenters/{base.py => json.py} (54%)
copy tests/comparators/{utils/data.py => test_symlink.py} (65%)
create mode 100644 tests/data/dot_buildinfo_fallback_expected_diff
create mode 100644 tests/data/dot_changes_fallback_expected_diff
create mode 100644 tests/data/dot_dsc_fallback_expected_diff
create mode 100644 tests/data/output.json
create mode 100644 tests/data/rpm_fallback_expected_diff
create mode 100644 tests/data/symlink_expected_destination_diff
create mode 100644 tests/data/test_directory_device_diff
create mode 100644 tests/data/test_directory_file_diff
create mode 100644 tests/data/test_directory_symlink_diff
create mode 100644 tests/data/test_invalid.json
create mode 100644 tests/test_excludes.py
create mode 100644 tests/test_progress.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list