[Pkg-javascript-devel] Bug#980291: Bug#980294: libjs-jquery-flot: breaking API change

Antonio Terceiro terceiro at debian.org
Sun Jan 17 15:03:52 GMT 2021


Control: retitle -1 libjs-jquery-flot: breaking API change
Control: severity -1 serious

On Sun, Jan 17, 2021 at 09:07:09AM -0300, Antonio Terceiro wrote:
> Package: libjs-jquery-flot
> Version: 4.2.1+dfsg-2
> Severity: important
> Control: affects -1 debci
> 
> Dear Maintainer,
> 
> Thanks for updating flot.
> 
> The previous version provided minified files, but the new version drops
> those. Below is the diff between the version currently in testing and the
> one in unstable. You will notice that a bunch of new files (features) is
> being added, but all the .min.js files that were there are dropped.
> 
[...]
> 
> This currently makes debci FTBFS, because it checks and symlinks two
> files from flot into its own directory structure. I could switch to the
> non-minified versions, but I would like first to confirm whether the
> minified files were dropped on purpose, or not.

After a bit of investigation, this looks more like a larger change in
API of the package. In the previous version:

- the main jquery.flot.js does *not* include the plugins
- minified versions of the plugins are provided

In the new version:

- the main jquery.flot.js *does* include the plugins
- minified versions of the plugins are not provided

Because the main file did not include the plugins, debci includes
jquery.flot.min.js, jquery.flot.time.min.js, and
jquery.flot.stack.min.js.

With the new version I can achieve the same effect by including only
jquery.flot.js. Not only that, if I also include the plugins explicitly,
then the charts break in strange ways.

This new version can will most probably break charts in existing
applications in unpredictable ways. The are the following reverse
dependencies:

* anki
* appstream-generator [amd64 arm64 i386]
* debci
* flightgear-phi
* ganglia-webfrontend
* gitinspector
* lava-dev
* lava-server
* python3-gavo
* python3-pympler
* ruby-flot-rails
* spip

This new version will require source changes in several packages, and
this is a transition started too late in the release cycle.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210117/ee84c51d/attachment.sig>


More information about the Pkg-javascript-devel mailing list