Bug#836786: diffoscope: Differences between long lines are missing in HTML format

Emanuel Bronshtein e3amn2l at gmx.com
Mon Sep 5 17:37:48 UTC 2016


Source: diffoscope
Severity: normal

Dear Maintainer,

The packages "python-hypothesis" & "cppformat" & "python-xmp-toolkit" & "python-mne" from unstable/amd64 have long line that contain JavaScript code, the HTML format don't contain the differences between the lines (it cut the line by scissors symbol instead)

searchindex.js:
	https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/python-hypothesis.html
	https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cppformat.html
	https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/python-xmp-toolkit.html

bootstrap.min.js:
	https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/python-mne.html


Suggestion for fixes:
1. The above examples are minified JavaScript code, thus it's possible to use JavaScript beautifier on JavaScript files (*.js) and then compare the results.
2. Add JavaScript code to the HTML format that will expand the view when scissors is clicked (or don't cut the line at all)



More information about the Reproducible-builds mailing list