[openstack-dev] [horizon] static files handling, bower/

Radomir Dopieralski openstack at sheep.art.pl
Wed Jan 21 08:04:55 UTC 2015


On 20/01/15 20:58, Matthew Farina wrote:
> Radomir, maybe you can help me better understand where this would go. I
> have a few questions.
> 
> First, can you point me to a time when horizon used system packages
> successfully for JavaScript libraries? When I looked through the Debian
> and Ubuntu packages I couldn't find the libraries horizon is using. I'm
> curious to see this in action.

Any distribution (perhaps except Ubuntu, which is a little funny in that
regard) that has packaged the latest release of OpenStack, has those
libraries.
For instance, see
http://pkgs.fedoraproject.org/cgit/python-django-horizon.git/tree/python-django-horizon.spec#n129


> Front-end systems almost never use system packagers like this. Can you
> point me to applications like horizon that use system packages this way?
> If Horizon is going to go it virtually alone in this space, what will
> that mean for our level of work and ability to have updates?

Certainly. The XStatic system itself is lifted from MoinMoin wiki, for
example -- it was created to solve exactly this problem there, and is
used by a couple of other projects too.

As for our work and updates, using system-wide packages is an excellent
solution in this regard, as we get maintenance and updates for free. For
instance, if there is a security issue in one of the JavaScript
libraries, we don't need to patch Horizon -- the patch that is prepared
for that specific library and applied system-wide is sufficient.
-- 
Radomir Dopieralski




More information about the OpenStack-dev mailing list