#2419 closed defect (fixed)
Please include unminified jquery JS files in source tarball
Reported by: | Vincent Cheng | Owned by: | leper |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 20 |
Component: | Build & Packages | Keywords: | |
Cc: | Yves | Patch: |
Description (last modified by )
Forwarded from Debian BTS: http://bugs.debian.org/735349
Would it be possible to include unminified versions of the various jquery files included in the source tarball? Debian considers minified/obfuscated javascript to be non-source files, and so the original unminified files need to be included as well to be DFSG-free.
The files in question are:
- source/tools/jsdebugger/js/lib/jquery-1.8.3.min.js
- source/tools/jsdebugger/js/lib/jquery.easyui/jquery-1.8.0.min.js
and maybe:
i.e. please consider placing these files (also attached) into the same directory as the corresponding minified version:
- jquery 1.8.3: http://code.jquery.com/jquery-1.8.3.js
- jquery 1.8.0: http://code.jquery.com/jquery-1.8.0.js
For "jquery.easyui.min.js", is it safe to assume that everything in source/tools/jsdebugger/js/lib/jquery.easyui/src/ corresponds to the source code for that file?
Thanks!
Attachments (2)
Change History (10)
by , 11 years ago
Attachment: | jquery-1.8.3.js added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
IRC:
<Yves`> 09:35:23> vincent_c: would it be ok to just exclude the jsdebugger from the packages until we have figured out how it will work in the future?
Yes (although I'd still have to repack the source tarball to remove those minified js files for the sake of DFSG-compatibility).
comment:3 by , 11 years ago
Cc: | added |
---|
comment:5 by , 11 years ago
Replying to fabio:
Is there a real benefit on using the minified js?
They're smaller, and depending on the minifier, sometimes also faster. But both advantages are worthless to us, as most space is taken by the artwork anyway (a bit bigger source file doesn't matter), and it's jQuery specifically is only used by the JS debugger. Which isn't used a lot, so speed doesn't matter a lot.
The biggest advantage for some minified JS libraries is that the minified version is only one file, while unminified can be a complete directory structure. Though with jQuery, it seems the complete library is also available as unminified.
But, because the JS debugger is broken, we should either delete the complete thing, or leave it as is. By replacing the library, we can't check if everything still works as it should, and it's best to not break the debugger on multiple places if we eventually want to get it working again.
comment:6 by , 11 years ago
Description: | modified (diff) |
---|
comment:8 by , 9 years ago
Milestone: | Backlog → Alpha 20 |
---|
Those files are removed since the JSDebugger is gone too.
jquery 1.8.3 unminified