[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849521: Assistance with packaging ruTorrent



Hello _javascript_ Team,

I have a package pending with a Request for Sponsorship (my first package), and I am blocked with the following lintian errors:

1. A source-is-missing error:

  js/jquery.flot.js line length is 3134 characters (>512)

This one occurs because the library flot (https://github.com/flot/flot), which does not have a later release from the included release in 2014, has an inlined function of 3134 characters: https://github.com/flot/flot/blob/master/jquery.flot.js

Any tips on a good way to correct this?

-------------------------------------------

2. Two source-is-missing errors that are false positives because of a long line in the source file. 

But if I create a

  debian/rutorrent.lintian-overrides

with the contents:

  rutorrent source: source-is-missing plugins/extsearch/init.js

then I get an error:

  rutorrent: malformed-override Override of source-is-missing for package type source (expecting binary)

How can I successfully override these?

-------------------------------------------

3. embedded-_javascript_-library warnings because upstream has packaged their dependencies. The dependency versions are very old, for example:

Based on the md5sum of jquery.js, upstream is using jQuery v1.11.2. 

libjs-jquery is 3.1.1-2, two major versions ahead, thus I doubt I can drop in this replacement and test thoroughly enough to ship it with any confidence that there won't be many run-time bugs.

And if I can't drop in a replacement, I would feel quite a hindrance to the developer bothering him with updating his _javascript_ dependencies that currently work just fine.

I have noticed that, for example, the "wordpress" package has overrides:
# Opportunistic replacement is in place but the Debian version does
# not match the wordpress version
wordpress: embedded-_javascript_-library usr/share/wordpress/wp-includes/js/jquery/jquery.form.js please use libjs-jquery-form
wordpress: embedded-_javascript_-library usr/share/wordpress/wp-includes/js/jquery/jquery.form.min.js please use libjs-jquery-form
...

Is it acceptable for me to do the same, at least for the time being?

-------------------------------------------

Package can be seen here:

  https://mentors.debian.net/package/rutorrent

and the associated RFS:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849521

Reply to: