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

2017-02-07 Thread Chris Lamb
Daniel Shahaf wrote:

> > I'm not actually seeing this anymore; I believe it was fixed by Daniel
> > Shahaf in version 62. :)
> 
> I don't think so: my patch would have still shown the difference with
> an "ordering differences only" comment in the output.

Thanks for clarifying that angle. (However, I'm not seeing the "scissors" that
Emanuel refers to in any of the previously-linked URIs.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



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

2017-02-06 Thread Daniel Shahaf
Chris Lamb wrote on Tue, Feb 07, 2017 at 15:58:40 +1300:
> Version: 62
> 
> Emanuel Bronshtein wrote:
> 
> > 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
> 
> I'm not actually seeing this anymore; I believe it was fixed by Daniel
> Shahaf in version 62. :)

I don't think so: my patch would have still shown the difference with
an "ordering differences only" comment in the output.

Cheers,

Daniel



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

2017-02-06 Thread Chris Lamb
Version: 62

Emanuel Bronshtein wrote:

> 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

I'm not actually seeing this anymore; I believe it was fixed by Daniel
Shahaf in version 62. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



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

2016-09-05 Thread Emanuel Bronshtein
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)