[Reproducible-commits] [debbindiff] 01/01: Revert usage of text comparator for .info until better solution is found

Reiner Herrmann deki-guest at moszumanska.debian.org
Mon May 11 17:55:03 UTC 2015


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

deki-guest pushed a commit to branch master
in repository debbindiff.

commit 178a3e8a0fac8cc987ddc6670dee4456b6089221
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Mon May 11 19:47:37 2015 +0200

    Revert usage of text comparator for .info until better solution is found
    
    Comparing two uncompressed .info files directly is working with the
    text comparator. But it is crashing when it is compressed with gzip (#784891).
    
    I tried adding a new comparator for .info files which uses the info
    utility to dump the whole info manual, but this was also adding
    the temporary filename (where dbd extracted the file to) into
    the output (and therefore always causing differences).
    Trying to pipe the content to info and let it read from /dev/stdin
    was also not successful yet.
    
    I'm reverting this back to the old behavior until a proper solution
    has been found.
---
 debbindiff/comparators/__init__.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debbindiff/comparators/__init__.py b/debbindiff/comparators/__init__.py
index 88423c9..cd9e09f 100644
--- a/debbindiff/comparators/__init__.py
+++ b/debbindiff/comparators/__init__.py
@@ -96,7 +96,6 @@ COMPARATORS = [
     (r'^text/plain; charset=(?P<encoding>[a-z0-9-]+)$', None, compare_text_files),
     (r'^application/xml; charset=(?P<encoding>[a-z0-9-]+)$', None, compare_text_files),
     (r'^application/postscript; charset=(?P<encoding>[a-z0-9-]+)$', None, compare_text_files),
-    (None, r'\.info$', compare_text_files),
     (None, r'\.squashfs$', compare_squashfs_files),
     (None, r'\.a$', compare_static_lib_files),
     (r'^application/x-iso9660-image(;|$)', None, compare_iso9660_files)

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



More information about the Reproducible-commits mailing list