[Pkg-javascript-devel] Bug#846515: src:jquery-ui-themes: path of css files changed

Ximin Luo infinity0 at debian.org
Sun Dec 11 15:57:00 UTC 2016


Hi Paul,

Sorry for the late reply. I'm not subscribed to pkg-javascript@ so I don't notice these things, I only notice via my QA page. (Possibly I should remove myself from Uploaders, since I don't intend to maintain this in the future, as far as I can avoid doing so.)

On Thu, 01 Dec 2016 21:01:32 +0100 Paul Gevers <elbrus at debian.org> wrote:
> Package: src:jquery-ui-themes
> Version: 1.12.1+dfsg-1
> Severity: important
> 
> Hi Ximin,
> 
> The debci test of cacti¹ started failing after the update of
> jquery-ui-themes. This is caused by the change of the css file names in the
> packages. The names used to be
> /javascript/jquery-ui-themes/<theme>/jquery.ui.all.css and are now
> /javascript/jquery-ui-themes/<theme>/jquery.ui.css. To avoid all dependent
> packages requiring updating, I suggest to rename back to the old name, unless
> this was really done on purpose. In that case I'd like to hear why.
> 
> Paul
> 
> ¹ https://ci.debian.net/packages/c/cacti/unstable/amd64/
> 

This description is not entirely correct, in fact both versions contain jquery-ui.css - note the dash instead of a dot.

The new version [1] does not contain any jquery.ui.* files, that is what the upstream distribution zip chose for this version. I didn't do this.

The old version [2] contains both jquery-ui.css as well as jquery.ui.all.css. The former seems to be an amalgated single-file version of the theme, the latter @imports the separate files when loaded.

It looks like upstream has dropped support for this type of usage in the new version, though that was what the old README.Debian recommended.

This is a very unfortunate situation but I don't think it would be appropriate for Debian to "put back in" the old feature that upstream dropped.

I hope this kind of crappy situation would be an incentive for everyone to avoid using JS in their own projects as far as possible, or at least only use the good JS projects and avoid the crappy ones (and learn how to distinguish them).

X

[1] https://packages.debian.org/sid/all/libjs-jquery-ui-theme-blitzer/filelist
[2] https://packages.debian.org/jessie/all/libjs-jquery-ui-theme-blitzer/filelist

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-javascript-devel mailing list