[openstack-dev] [horizon] Static file handling -- followup

Matthias Runge mrunge at redhat.com
Thu May 22 11:08:16 UTC 2014


On Tue, May 20, 2014 at 05:18:18PM +0200, Radomir Dopieralski wrote:
> Hello,
> 
> this is a followup on the design session we had at the meeting about
> the handling of static files. You can see the etherpad from that session
> here: https://etherpad.openstack.org/p/juno-summit-horizon-static-files

> The JavaScript libraries unbundling:
> 
> I'm packaging all the missing libraries, except for Angular.js, as
> XStatic packages:
> 
> https://pypi.python.org/pypi/XStatic-D3
> https://pypi.python.org/pypi/XStatic-Hogan
> https://pypi.python.org/pypi/XStatic-JSEncrypt
> https://pypi.python.org/pypi/XStatic-QUnit
> https://pypi.python.org/pypi/XStatic-Rickshaw
> https://pypi.python.org/pypi/XStatic-Spin
> 
> There is also a patch for unbundling JQuery:
> https://review.openstack.org/#/c/82516/
> And the corresponding global requirements for it:
> https://review.openstack.org/#/c/94337/

Awesome, thank you!

Looking at the change, that includes a not so ancient
version of jquery, but IMHO it's better to upgrade that to a more
up-to-date version as step -1?
That might be solved by adding jquery-migrate as well; the sanest
solution would be to fix our JavaScript code.
> 
> The style files compilation:
> 
> We are going to go with PySCSS compiler, plus django-pyscss. The
> proof-of-concept patch has been rebased and updated, and is waiting
> for your reviews: https://review.openstack.org/#/c/90371/
> It is also waiting for adding the needed libraries to the global
> requirements: https://review.openstack.org/#/c/94376/
> 

Karma added as well.
Thank you for driving this effort! It's really worth it.

-- 
Matthias Runge <mrunge at redhat.com>



More information about the OpenStack-dev mailing list