- 15 Nov, 2021 1 commit
-
-
Brandon Maier authored
Run Black formatter
-
- 10 Nov, 2021 1 commit
-
-
Brandon Maier authored
When there is a large diff chunk, match_lines() will skip running the difflib.Differ.compare(). However this causes the following issues: - It does not empty the `self.buf` buffer. This means that all future calls to match_lines() for that file will always be too large. So effectively no more diffs from the file get output. - It outputs a debug message, but does not output anything to the side-by-side diff, so a user looking at the side-by-side diff may be misled into thinking the rest of the file has no differences. We can fix these issue by falling back to a lazy line-by-line diff. This produces suboptimal output, but it runs in linear O(n) time while providing some form of output. We include a comment in the diff so the user knows the following output is using a lazy diff algorithm.
-
- 07 Nov, 2021 4 commits
-
-
Chris Lamb authored
Continue loading a .changes file if the referenced files do not exist, but include a comment in the returned diff.
-
Chris Lamb authored
-
Chris Lamb authored
Don't reject Debian .changes files if they contain non-printable characters. (Closes: reproducible-builds/diffoscope#286)
-
Zbigniew Jędrzejewski-Szmek authored
With this change, tests actually pass with python 3.10 (python3-3.10.0-1.fc35.x86_64).
-
- 05 Nov, 2021 2 commits
-
-
Chris Lamb authored
Gbp-Dch: ignore
-
Chris Lamb authored
-
- 04 Nov, 2021 1 commit
-
-
Mattia Rizzolo authored
Gbp-Dch: Ignore Signed-off-by:Mattia Rizzolo <mattia@debian.org>
-
- 31 Oct, 2021 6 commits
-
-
Roland Clobus authored
-
Roland Clobus authored
-
Chris Lamb authored
-
Chris Lamb authored
Don't raise a traceback if we cannot de-marshal Python bytecode to support Python 3.7 loading newer .pyc files. (Re: reproducible-builds/diffoscope#284)
-
Vagrant Cascadian authored
(Closes: reproducible-builds/diffoscope#284)
-
Vagrant Cascadian authored
Revert "Skip Python bytecode testing where we do not have an expected diff. (Closes: reproducible-builds/diffoscope#284)" This reverts commit ef878eca.
-
- 29 Oct, 2021 2 commits
-
-
Chris Lamb authored
Gbp-Dch: ignore
-
Chris Lamb authored
-
- 28 Oct, 2021 2 commits
-
-
Chris Lamb authored
Skip Python bytecode testing where we do not have an expected diff. (Closes: reproducible-builds/diffoscope#284)
-
Chris Lamb authored
-
- 27 Oct, 2021 7 commits
-
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
Jelle van der Waa authored
-
Jelle van der Waa authored
This still ignores one unit test set which fails on Arch Linux and needs to be further investigated.
-
Chris Lamb authored
-
Chris Lamb authored
-
Sergei Trofimovich authored
File-5.40->5.41 upgrade brought uImage printing change which removed 0x prefixes in a few places: https://github.com/file/file/commit/905ca555b0e2bdcf9d2985bcc7c1c22e2229b088 This caused test faiure: E AssertionError: assert '@@ -1 +1 @@\... 0XC63C4A06\n' == '@@ -1 +1 @@\... 0xC63C4A06\n' E Skipping 127 identical leading characters in diff, use -v to show E - Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0xF87AD200, Data CRC: 0x347161A5 E ? -- -- ^ ^ E + Address: 00000000, Entry Point: 00000000, Header CRC: 0XF87AD200, Data CRC: 0X347161A5 E ? ^ ^ The change adds new variant of expected output.
-
- 26 Oct, 2021 3 commits
-
-
Chris Lamb authored
-
Chris Lamb authored
Try some alternative suffixes (eg. ".py") to support distributions that strip or retain them. (Closes: reproducible-builds/diffoscope#283)
-
Chris Lamb authored
-
- 25 Oct, 2021 2 commits
-
-
Vagrant Cascadian authored
Strictly speaking, the package in Guiux ships dumppdf.py, but this should reduce the downstream diff.
-
Vagrant Cascadian authored
-
- 22 Oct, 2021 2 commits
-
-
Chris Lamb authored
Gbp-Dch: ignore
-
Chris Lamb authored
-
- 19 Oct, 2021 1 commit
-
-
Chris Lamb authored
-
- 17 Oct, 2021 1 commit
-
-
Chris Lamb authored
-
- 08 Oct, 2021 2 commits
-
-
Chris Lamb authored
Gbp-Dch: ignore
-
Chris Lamb authored
-
- 05 Oct, 2021 2 commits
-
-
Mattia Rizzolo authored
Gbp-Dch: Ignore Signed-off-by:Mattia Rizzolo <mattia@debian.org>
-
Chris Lamb authored
Add support for comparing .pyc files. Thanks to Sergei Trofimovich. (Closes: reproducible-builds/diffoscope#278)
-
- 01 Oct, 2021 1 commit
-
-
Chris Lamb authored
Gbp-Dch: ignore
-