- 27 Mar, 2015 6 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Instead of storing the full content twice when creating Difference objects, we now directly run `diff` and store the unified diff. Large blocks in the diff are still trimmed. This results in huge memory savings and debbindiff can now happily compare changes for installation-guide. As tool_required() is not only for comparators anymore, we move it to debbindiff, together with logger. Text output becomes really straightforward as we just have to write what we've previously recorded. For the HTML output, we stop using vim and instead borrow code from diff2html.py found at <http://git.droids-corp.org/?p=diff2html.git>. Closes: #772029 Closes: #779476
-
Jérémy Bobbio authored
If different encodings are detected, compare_text_files will be given encoding=None. Let's try to decode stuff as utf-8 as a best guess. We'll fallback on binary comparison if that doesn't work out well.
-
Make print_func accept unicode objects by opening the output using the codecs module. This affects --html output. Closes: #778641
-
Example input package triggering the error: libreadline6 Example traceback being fixed: Traceback (most recent call last): File "/usr/bin/debbindiff", line 120, in <module> sys.exit(main()) File "/usr/bin/debbindiff", line 114, in main output_text(differences, print_func=print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 71, in output_text print_details(difference, print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 62, in print_details print_details(detail, new_print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 62, in print_details print_details(detail, new_print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 62, in print_details print_details(detail, new_print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 59, in print_details print_difference(detail, print_func) File "/usr/lib/python2.7/dist-packages/debbindiff/presenters/text.py", line 36, in print_difference if not difference.lines2[-1].endswith('\n'): IndexError: list index out of range
-
- 23 Mar, 2015 4 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 20 Mar, 2015 11 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Closes: #779391
-
Jérémy Bobbio authored
Closes: #778537
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Closes: #779475
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Closes: #779474
-
- 19 Mar, 2015 3 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 18 Mar, 2015 3 commits
-
-
Jérémy Bobbio authored
The `tool_required` decorator now raises an exception when the command cannot be found. This enables more flexible handling. Associated Debian package is now suggested in the comment. The list of external tools is now available through the `--list-tools` command-line option. We also use this output to generate the Recommends field.
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 06 Mar, 2015 1 commit
-
-
Reiner Herrmann authored
Move the packages of those tools to Recommends section.
-
- 26 Feb, 2015 2 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 24 Feb, 2015 1 commit
-
-
Chris Lamb authored
-
- 21 Feb, 2015 2 commits
-
-
Reiner Herrmann authored
Comparing squashfs images could be interesting for embedded Linux distributions like OpenWrt. Added squashfs-tools only to Recommends, as it is less relevant for Debian.
-
Reiner Herrmann authored
It only produces large diffs when file sizes differ and has no real practical use.
-
- 19 Feb, 2015 1 commit
-
-
Reiner Herrmann authored
-
- 15 Feb, 2015 6 commits
-
-
Reiner Herrmann authored
-
Jérémy Bobbio authored
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
This reverts commit d4dfb1f9. Depends are not correctly generated anymore.
-
Jérémy Bobbio authored
-