[openstack-dev] [Horizon] the future of angularjs development in Horizon

Richard Jones r1chardj0n3s at gmail.com
Wed Nov 12 07:40:37 UTC 2014


On 12 November 2014 18:17, Matthias Runge <mrunge at redhat.com> wrote:

> On 11/11/14 10:53, Jiri Tomasek wrote:
> > Hey,
> >
> > Thanks for writing this up!
>
> >> The Storyboard project has successfully integrated these tools into
> >> the OpenStack CI environment.
>
> OpenStack CI and distributors are different, because OpenStack CI does
> not distribute software.
>

Ah, I wasn't clear; my concern was whether the tools chosen would be
compatible with the CI environment. I'm hoping that distribution of the
tools isn't our concern (see below).



> > Using javascript tooling (yeoman, grunt, bower, etc.) has this issue of
> > being dependent on nodejs which if I recall correctly is causing
> > problems for packagers as some versions of these tools require different
> > nodejs versions - please Mathias correct me if I am wrong. I know this
> > discussion has been here before, but using these tools is necessary for
> > effective development. So we need to resolve the problem asap.
> > Storyboard does not have this issue as it is infra thing.
>
> As far as I know, those tools don't require different nodejs versions.
> But: we can not have different node.js versions installed at the same
> time. I assume, this is true for all distributions. Creating and
> maintaining parallel installable versions just sucks and causes many
> issues.
>

I believe the nodeenv method of installing node solves this, as it's
entirely local to the development environment.


I will have to go through all dependencies and do a review, if those are
> acceptable for inclusion e.g in Fedora. The same is true for Thomas
> Goirand for inclusion in Debian.
>
> >
> > Petr Belanyi has added optional jshint install for js linting into
> > Horizon and it installs nodejs as it depends on it. Could this approach
> > work for our need of js tooling too? [1]
>
> Sigh, this nonsense doesn't go away? This is the third time the same
> issue comes up.
>
> jshint is NOT free software.
>
> https://github.com/jshint/jshint/blob/master/src/jshint.js#L19
> <https://github.com/jshint/jshint/blob/master/src/jshint.js#L19>


They're trying to resolve that https://github.com/jshint/jshint/issues/1234

But regardless, jshint doesn't have to be installed from a Linux
repository; it's usually installed using npm alongside the other node tools.


    Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141112/cbb72d92/attachment-0001.html>


More information about the OpenStack-dev mailing list