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

"Minimized" JavaScript in upstream tarball



Hi,

I'm trying to package a "web" application that contains some
minimized third-party JavaScript code. It's from JQuery world.

Anyway I'm going to package "git" snapshot because latest release needs
to old versions of dependencies (like django < 1.4). 

So I've a target in debian/rules to get tarball with source snapshot. It
removes all such JavaScript. Later debian/links creates symlinks to files
from corresponding libjs-* packages.

I've faced an issue where one of JS files is "obfuscated" such way, but
it's not so populate so it's not in debian now:

https://github.com/reviewboard/reviewboard/blob/4be2b88fa584d2c958871fce7f9ce20f80b3d7ad/reviewboard/static/rb/js/jquery.masonry.js

Upstream distributes in both "source" and "minimized" forms:

http://masonry.desandro.com/jquery.masonry.min.js
https://github.com/desandro/masonry/blob/master/jquery.masonry.js

How this particular file should be handled? The only idea I've is to
remove this file in my get-git-snapshot-source step and download "right"
one instead.

-- 
WBR, Dmitry

Attachment: signature.asc
Description: Digital signature


Reply to: