[ckan-dev] master and minified files

Toby Dacre toby.okfn at gmail.com
Mon Feb 25 08:46:33 UTC 2013


Hi,

This has been discussed before but I've forgotten if we agreed on anything.

The issue is about the minified .js and .css files in ckan.

My understanding is that following a bug with semicolons (why are we using
.js files by people who think semicolons are optional?) we are updating
minified vendor files when we update these libs.  Any ckan minification
(via paster) will ignore dirs called vendor and any sub dirs.

`paster minify <path>` will minify a dir and it's sub dirs but ignore
'vendor'

issues

do we include the minified files in non-release branches?
- personally I think we should but they should only get updated in master -
in much the same way as main.css
- some people have objected to this

do we include the minified files in release branches?
- if we do this we have problems around .gitignore files (imho)

we need to make sure the decision we make also takes core extensions into
account
- currently `paster front-end-build` only worries about ckan/public/base -
it also generates .css and some .js files used in translations

It would be good to resolve this asap

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130225/cdf43b1d/attachment.html>


More information about the ckan-dev mailing list