Re: [Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-08-03 Thread Ben Finney
Ryan Attard  writes:

> I've been struggling with this bug, but I'm a little confused by this
> bug report and the response from the maintainers.

Thank you for asking to clarify. I agree that this bug report discussion
can be difficult to follow.

> The source package has these JS files under in coverage/htmlfiles
> (with what I'm assuming is the compatible/tested version), why aren't
> they shipped in the debian package?

Because they aren't used.

Why aren't they used? Because it is a violation of Debian policy to
install third-party bundled libraries; instead, the libraries should
each have their own first-class Debian made from the source for that
library.

You might want to read  describing
why the library dependency is removed from the ‘python-coverage’
package.

> It makes no sense to me as a user to have a critical portion of
> functionality broken by default

I agree, and this is discussed in the bug tracker for Coverage.py
.

> (because it doesn't hard-dep on libjs-jquery-hotkeys/related JS libs,
> and you can't get line-by-line reports without it), and also to depend
> on a library that is also incompatible and known incompatible.

I don't quite understand what you're saying there. There are
incompatible libraries both claiming the “hotkeys” name, but that's
already known here.

> Can't you just drop the libjs* recommends and install the stuff in the
> source package onto the target system?

Definitely not; bundling a third-party library, especially when that is
just a slightly modified version of an existing packaged library, is a
violation of policy and makes security updates needlessly difficult.

-- 
 \ “Two paradoxes are better than one; they may even suggest a |
  `\ solution.” —Edward Teller |
_o__)  |
Ben Finney


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-08-02 Thread Ryan Attard
Sorry, my previous response was a little unclear:
> Can't you just drop the libjs* recommends and install the stuff in the source
package onto the target system?

My response was definitely more aimed at the python-coverage maintainers
than the libjs-jquery-hotkeys maintainers. Why doesn't python-coverage ship
the actual working versions of the JS files it needs (less than 500 LOC),
which would solve at least two bug reports they have open?
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-08-02 Thread Ryan Attard
I've been struggling with this bug, but I'm a little confused by this bug
report and the response from the maintainers.

The source package has these JS files under in coverage/htmlfiles (with
what I'm assuming is the compatible/tested version), why aren't they
shipped in the debian package?

It makes no sense to me as a user to have a critical portion of
functionality broken by default(because it doesn't hard-dep
on libjs-jquery-hotkeys/related JS libs, and you can't get line-by-line
reports without it), and also to depend on a library that is also
incompatible and known incompatible.

Can't you just drop the libjs* recommends and install the stuff in the
source package onto the target system?



On Thu, 25 May 2017 14:16:05 -0500 Eevel Weezel wrote: > I did some further
testing around changing the version of jquery.hotkeys.js > in
libjs-jquery-hotkeys to the upstream jeresig version, and behavior of > the
various libraries that depend on it. > > For python-coverage, the bug is
still there, with the addition of a new > error related to differences in
unload() in jquery.min.js. Presumably, the > current upstream version of
jquery.hotkeys.js is newer than the bundled > version, as the reports work
as expected with the bundled libraries. > > For prometheus, hotkeys behaved
as expected. > > For gitit, the ctrl+r hotkey is supposed to submit a post.
This previously > resulted in the page refreshing, but resulted in a
warning about > resubmitting the page (arguably, one might expect that when
randomly > submitting a post? I'm not familiar enough with this package to
know which > is the intended behavior). > > Best, > Heather
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-05-25 Thread Eevel Weezel
I did some further testing around changing the version of jquery.hotkeys.js
in libjs-jquery-hotkeys to the upstream jeresig version, and behavior of
the various libraries that depend on it.

For python-coverage, the bug is still there, with the addition of a new
error related to differences in unload() in jquery.min.js.  Presumably, the
current upstream version of jquery.hotkeys.js is newer than the bundled
version, as the reports work as expected with the bundled libraries.

For prometheus, hotkeys behaved as expected.

For gitit, the ctrl+r hotkey is supposed to submit a post.  This previously
resulted in the page refreshing, but resulted in a warning about
resubmitting the page (arguably, one might expect that when randomly
submitting a post? I'm not familiar enough with this package to know which
is the intended behavior).

Best,
Heather
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-05-23 Thread Ben Finney
On 23-May-2017, Eevel Weezel wrote:

> I'm attaching a patch.  This will remove the bundled version of the js
> libraries, allowing python-coverage to use the system libraries.

Thank you for the patch. Is that needed, though? The package already
omits those files from the HTML report, via an existing patch
.

Also, I think this bug report is asking that the system libraries
should be different.

> Heather

(Could you change your “From” field on your outgoing messages, so they
have your name? Thanks!)

-- 
 \   “Philosophy is questions that may never be answered. Religion |
  `\  is answers that may never be questioned.” —anonymous |
_o__)  |
Ben Finney 


signature.asc
Description: PGP signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#740893: Patch for python-coverage bug #740893

2017-05-23 Thread Eevel Weezel
Hello Maintainer,

I'm attaching a patch.  This will remove the bundled version of the js
libraries, allowing python-coverage to use the system libraries.

Best,
Heather


python-coverage_diff
Description: Binary data
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel