Thanks, Radomir. How much detail from this discussion should be captured in the blueprint? I'm afraid I'm more familiar with the Python PEP process.<br><br><div class="gmail_quote">On Thu Jan 08 2015 at 11:38:57 PM Radomir Dopieralski <<a href="mailto:openstack@sheep.art.pl">openstack@sheep.art.pl</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/01/15 01:53, Richard Jones wrote:<br>
> I think the only outstanding question is how developers and<br>
> non-packagers populate the bower_components directory - that is, how is<br>
> bower expected to be available for them?<br>
><br>
> I think following the Storyboard approach is a good idea: isolate a<br>
> known-working node/bower environment local to horizon which is managed<br>
> by tox - so to invoke bower you run "tox -e bower <command>". No worries<br>
> about system installation or compatibility, and works in the gate.<br>
><br>
> Horizon installation (whenever a pip install would be invoked) would<br>
> then also have a "tox -e bower install" invocation.<br>
><br>
> Storyboard[1] uses a thing called nodeenv[2] which is installed through<br>
> pip / requirements.txt to control the node environment. It then has<br>
> bower commands in tox.ini[3] (though I'd just have a single "bower"<br>
> environment to implement the tox command I suggest above.<br>
><br>
><br>
>      Richard<br>
><br>
> [1] <a href="https://wiki.openstack.org/wiki/StoryBoard" target="_blank">https://wiki.openstack.org/<u></u>wiki/StoryBoard</a><br>
> [2] <a href="https://pypi.python.org/pypi/nodeenv" target="_blank">https://pypi.python.org/pypi/<u></u>nodeenv</a><br>
> [3] <a href="https://git.openstack.org/cgit/openstack-infra/storyboard-webclient/tree/tox.ini" target="_blank">https://git.openstack.org/<u></u>cgit/openstack-infra/<u></u>storyboard-webclient/tree/tox.<u></u>ini</a><br>
><br>
<br>
I created a blueprint for this.<br>
<a href="https://blueprints.launchpad.net/horizon/+spec/static-file-bower" target="_blank">https://blueprints.launchpad.<u></u>net/horizon/+spec/static-file-<u></u>bower</a><br>
--<br>
Radomir Dopieralski<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div>