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

2014-11-11 Thread Anton Zemlyanov
Modernizing Horizon using Angular is really great. I would suggest a couple of minor things to consider. First, font-awesome is excellent and free font, but there are two problems: it has lots of icons that are not used, it also miss some other icons worth to have. I would suggest Fontello, it is

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

2014-11-11 Thread Jiri Tomasek
Hey, Thanks for writing this up! I am including some notes and questions inline... On 11/11/2014 08:02 AM, Richard Jones wrote: Hi all, At the summit last week, we developed a plan for moving forward with modernising Horizon's UI using AngularJS. If you weren't at that meeting and are inter

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

2014-11-11 Thread Richard Jones
On 11 November 2014 20:10, Anton Zemlyanov wrote: > Modernizing Horizon using Angular is really great. I would suggest a > couple of minor things to consider. > > First, font-awesome is excellent and free font, but there are two > problems: it has lots of icons that are not used, it also miss som

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

2014-11-11 Thread Richard Jones
On 11 November 2014 20:53, Jiri Tomasek wrote: > Hey, > > Thanks for writing this up! > > I am including some notes and questions inline... > > On 11/11/2014 08:02 AM, Richard Jones wrote: > > Hi all, > > At the summit last week, we developed a plan for moving forward with > modernising Horizon

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

2014-11-11 Thread Matthias Runge
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. > > Using javasc

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

2014-11-11 Thread Richard Jones
On 12 November 2014 18:17, Matthias Runge 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, bec

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

2014-11-12 Thread Matthias Runge
On 12/11/14 08:40, Richard Jones wrote: > > I believe the nodeenv method of installing node solves this, as it's > entirely local to the development environment. See below, this touches package build as well. > > > I will have to go through all dependencies and do a review, if those are >

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

2014-11-12 Thread Matthias Runge
On 11/11/14 08:02, Richard Jones wrote: > There were some discussions around tooling. We're using xstatic to > manage 3rd party components, but there's a lot missing from that > environment. I hesitate to add supporting xstatic components on to the > already large pile of work we have to do, so wo

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

2014-11-12 Thread Matthias Runge
On 12/11/14 09:28, Matthias Runge wrote: > > Looking at es5-shim, it pulls in additional 28 dependent packages, json3 > has 12 dependencies (including a circular dependency, one circular > depencency in dependencies), Please scratch that. I'll need to look at that a bit deeper (after another coff

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

2014-11-12 Thread Martin Geisler
Richard Jones writes: > On 12 November 2014 18:17, Matthias Runge wrote: > >> 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 > > > They're trying to re

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

2014-11-12 Thread Maxime Vidori
runner. I do not know if I addressed all the questions but here is a starting. Cheers Max - Original Message - From: "Matthias Runge" To: openstack-dev@lists.openstack.org Sent: Wednesday, November 12, 2014 9:39:29 AM Subject: Re: [openstack-dev] [Horizon] the future of

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

2014-11-12 Thread Martin Geisler
Richard Jones writes: > Hi all, > > At the summit last week, we developed a plan for moving forward with > modernising Horizon's UI using AngularJS. If you weren't at that meeting > and are interested in helping out with this effort please let me know! I have been working on an interface for Swi

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

2014-11-12 Thread Maxime Vidori
(not for usage questions)" Sent: Wednesday, November 12, 2014 10:37:15 AM Subject: Re: [openstack-dev] [Horizon] the future of angularjs development in Horizon Richard Jones writes: > Hi all, > > At the summit last week, we developed a plan for moving forward with >

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

2014-11-12 Thread Thomas Goirand
On 11/11/2014 03:02 PM, Richard Jones wrote: > Hi all, > > At the summit last week, we developed a plan for moving forward with > modernising Horizon's UI using AngularJS. If you weren't at that meeting > and are interested in helping out with this effort please let me know! > > The relevant ethe

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

2014-11-12 Thread Monty Taylor
On 11/12/2014 02:17 AM, Matthias Runge 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 Ope

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

2014-11-12 Thread Monty Taylor
On 11/12/2014 02:40 AM, Richard Jones wrote: > On 12 November 2014 18:17, Matthias Runge 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. >

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

2014-11-12 Thread Jiri Tomasek
On 11/12/2014 02:35 PM, Monty Taylor wrote: On 11/12/2014 02:40 AM, Richard Jones wrote: On 12 November 2014 18:17, Matthias Runge 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 OpenStac

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

2014-11-12 Thread Jiri Tomasek
On 11/11/2014 08:02 AM, Richard Jones wrote: Hi all, At the summit last week, we developed a plan for moving forward with modernising Horizon's UI using AngularJS. If you weren't at that meeting and are interested in helping out with this effort please let me know! The relevant etherpad fro

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

2014-11-12 Thread Julie Pichon
On 12/11/14 15:12, Jiri Tomasek wrote: > Approach on using Xstatic packages vs Js tooling: > > As only problem with using js tooling should be just actual packaging of > it, I think it makes sense to use these tools and make development > simpler then going other way around and using Xstatic packa

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

2014-11-12 Thread Jiri Tomasek
On 11/12/2014 05:18 PM, Julie Pichon wrote: On 12/11/14 15:12, Jiri Tomasek wrote: Approach on using Xstatic packages vs Js tooling: As only problem with using js tooling should be just actual packaging of it, I think it makes sense to use these tools and make development simpler then going oth

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

2014-11-12 Thread Adam Young
On 11/12/2014 03:03 AM, Matthias Runge wrote: On 12/11/14 08:40, Richard Jones wrote: I believe the nodeenv method of installing node solves this, as it's entirely local to the development environment. See below, this touches package build as well. I will have to go through all dependen

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

2014-11-12 Thread Richard Jones
On 13 November 2014 09:35, Adam Young wrote: > On 11/12/2014 03:03 AM, Matthias Runge wrote: > >> On 12/11/14 08:40, Richard Jones wrote: >> >> I believe the nodeenv method of installing node solves this, as it's >>> entirely local to the development environment. >>> >> See below, this touches p

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

2014-11-12 Thread Thomas Goirand
On 11/12/2014 11:12 PM, Jiri Tomasek wrote: > As Monty Taylor said, nodejs itself is not a blocker as multiple > versions of it should not be needed by our tools. (That's also what npm > and bower are taking care of, right?) Only thing that is required is > that all tools/js libs we want to use wou

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

2014-11-12 Thread Donald Stufft
> On Nov 12, 2014, at 8:29 PM, Thomas Goirand wrote: > > On 11/12/2014 09:31 PM, Monty Taylor wrote: >>> jshint is NOT free software. https://github.com/jshint/jshint/blob/master/src/jshint.js#L19 >> Reasonable people disagree on this point. > > Feel free to have this debate with the

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

2014-11-12 Thread Gabriel Hurley
Thomas Goirand [mailto:z...@debian.org] Sent: Wednesday, November 12, 2014 5:30 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Horizon] the future of angularjs development in Horizon On 11/12/2014 11:12 PM, Jiri Tomasek wrote: > As Mont

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

2014-11-12 Thread Richard Jones
Gabriel has responded saying very much what I would have said, so I won't repeat that. I would like to note though that bower and npm are two separate beasts entirely. The dependency trees in bower are very limited indeed (only two additional components are installed beyond the list below) which is

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

2014-11-12 Thread Matthias Runge
On Wed, Nov 12, 2014 at 08:31:08AM -0500, Monty Taylor wrote: > > jshint is NOT free software. > > > > https://github.com/jshint/jshint/blob/master/src/jshint.js#L19 > > Reasonable people disagree on this point. I, for one, am one of them. In > my opnion: > > A usage clause in a license header i

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

2014-11-12 Thread Matthias Runge
On Wed, Nov 12, 2014 at 08:35:18AM -0500, Monty Taylor wrote: > Just for the record, I believe that we should chose the tools that make > sense for making our software, as long as it's not physically impossible > for them to be packaged. This means we should absolutely not use things > that require

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

2014-11-13 Thread Martin Geisler
Matthias Runge writes: > On Wed, Nov 12, 2014 at 08:35:18AM -0500, Monty Taylor wrote: >> Just for the record, I believe that we should chose the tools that >> make sense for making our software, as long as it's not physically >> impossible for them to be packaged. This means we should absolutely

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

2014-11-13 Thread Martin Geisler
Jiri Tomasek writes: > Which tools should we use eventually: > > Based on the contributions by Maxime, Martin and the others, I think > the list of tools should end up as follows: > > Tooling: > npm > bower > gulp While I find the design of Gulp strange, I'm sure it will do the job. Someone said

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

2014-11-13 Thread Matthias Runge
On 12/11/14 18:23, Jiri Tomasek wrote: > I see relation between Nodejs and js libs/tools and Angular app defining > it's dependencies using NPM and Bower quite similar as Ruby, Rubygems > and Rails application defining it's dependencies in Gemfile.lock. > Rubygems are being packaged in distros, so

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

2014-11-13 Thread Radomir Dopieralski
On 11/11/14 08:02, Richard Jones wrote: [...] > There were some discussions around tooling. We're using xstatic to > manage 3rd party components, but there's a lot missing from that > environment. I hesitate to add supporting xstatic components on to the > already large pile of work we have to do

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

2014-11-13 Thread Radomir Dopieralski
On 13/11/14 08:23, Matthias Runge wrote: [...] > Since we don't require node.js on the server (yet), but only for > the development process: did anyone look at node's competitors? Like > CommonJS, Rhino, or SpiderMonkey? When we were struggling with adding jslint to our CI, we did try a number o

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

2014-11-13 Thread Radomir Dopieralski
On 13/11/14 01:32, Richard Jones wrote: [...] > We're currently using xstatic and that works with Linux packaging > because it was designed to cope with being a global installation. The > current Horizon codebase has a django-xstatic plugin which further makes > dealing with xstatic components nic

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

2014-11-13 Thread Martin Geisler
Radomir Dopieralski writes: > On 11/11/14 08:02, Richard Jones wrote: > > [...] > >> There were some discussions around tooling. We're using xstatic to >> manage 3rd party components, but there's a lot missing from that >> environment. I hesitate to add supporting xstatic components on to >> the

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

2014-11-13 Thread Thomas Goirand
On 11/13/2014 12:13 PM, Richard Jones wrote: > the npm stuff is all tool chain; tools > that I believe should be packaged as such by packagers. npm is already in Debian: https://packages.debian.org/sid/npm However, just like we can't use CPAN, "pear install", "pip install" and such when building

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

2014-11-13 Thread Thomas Goirand
On 11/13/2014 08:05 PM, Radomir Dopieralski wrote: > On 11/11/14 08:02, Richard Jones wrote: > > [...] > >> There were some discussions around tooling. We're using xstatic to >> manage 3rd party components, but there's a lot missing from that >> environment. I hesitate to add supporting xstatic c

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

2014-11-13 Thread Thomas Goirand
On 11/13/2014 08:32 AM, Richard Jones wrote: > I note that the Debian JS guidelines* only recommend that libraries > *should* be minified (though I'm unsure why they even recommend that). I'm not sure why. Though what *must* be done, is that source packages, and no point, should ever include a min

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

2014-11-13 Thread Matthias Runge
On 13/11/14 15:56, Martin Geisler wrote: > Maybe a silly question, but why insist on this? Why would you insist on > installing a JavaScript based application using your package manager? > > I'm a huge fan of package managers and typically refuse to install > anything globally if it doesn't come

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

2014-11-13 Thread Jiri Tomasek
On 11/13/2014 04:04 PM, Thomas Goirand wrote: On 11/13/2014 12:13 PM, Richard Jones wrote: the npm stuff is all tool chain; tools that I believe should be packaged as such by packagers. npm is already in Debian: https://packages.debian.org/sid/npm However, just like we can't use CPAN, "pear in

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

2014-11-13 Thread Martin Geisler
Thomas Goirand writes: > Also, if the Horizon project starts using something like NPM (which > again, is already available in Debian, so it has my preference), will we > at least be able to control what version gets in, just like with pip? Yes, npm similarly to pip in that you can specify the ve

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

2014-11-13 Thread Martin Geisler
Matthias Runge writes: > On 13/11/14 15:56, Martin Geisler wrote: > >> Maybe a silly question, but why insist on this? Why would you insist on >> installing a JavaScript based application using your package manager? >> >> I'm a huge fan of package managers and typically refuse to install >> anyt

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

2014-11-13 Thread Thomas Goirand
On 11/13/2014 10:56 PM, Martin Geisler wrote: > Maybe a silly question, but why insist on this? Why would you insist on > installing a JavaScript based application using your package manager? > > I'm a huge fan of package managers and typically refuse to install > anything globally if it doesn't c

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

2014-11-13 Thread Donald Stufft
> On Nov 13, 2014, at 12:38 PM, Thomas Goirand wrote: > > On 11/13/2014 10:56 PM, Martin Geisler wrote: >> Maybe a silly question, but why insist on this? Why would you insist on >> installing a JavaScript based application using your package manager? >> >> I'm a huge fan of package managers an

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

2014-11-13 Thread Matthew Farina
I would like to take a moment to point out that developing system software is different from developing web applications. The way systems software is developed and often deployed is different from web applications. Horizon as it sits today appears to be web application development by systems softw

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

2014-11-13 Thread Thomas Goirand
On 11/14/2014 02:11 AM, Donald Stufft wrote: >> On Nov 13, 2014, at 12:38 PM, Thomas Goirand wrote: >> On 11/13/2014 10:56 PM, Martin Geisler wrote: >>> However, the whole JavaScript ecosystem seems to be centered around the >>> idea of doing local installations. That means that you no longer need

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

2014-11-13 Thread Martin Geisler
Thomas Goirand writes: > On 11/13/2014 10:56 PM, Martin Geisler wrote: >> Maybe a silly question, but why insist on this? Why would you insist on >> installing a JavaScript based application using your package manager? >> >> I'm a huge fan of package managers and typically refuse to install >> a

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

2014-11-13 Thread Donald Stufft
> On Nov 13, 2014, at 5:23 PM, Thomas Goirand wrote: > > On 11/14/2014 02:11 AM, Donald Stufft wrote: >>> On Nov 13, 2014, at 12:38 PM, Thomas Goirand wrote: >>> On 11/13/2014 10:56 PM, Martin Geisler wrote: However, the whole JavaScript ecosystem seems to be centered around the idea

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

2014-11-13 Thread Richard Jones
On 14 November 2014 02:04, Thomas Goirand wrote: > On 11/13/2014 12:13 PM, Richard Jones wrote: > > the npm stuff is all tool chain; tools > > that I believe should be packaged as such by packagers. > > npm is already in Debian: > https://packages.debian.org/sid/npm > > However, just like we can'

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

2014-11-13 Thread Radomir Dopieralski
On 13/11/14 23:30, Martin Geisler wrote: [...] > While I agree that it's chaotic, I also think you make the problem worse > than it really is. First, remember that the user who installs Horizon > won't need to use the JavaScript based *developer* tools such as npm, > bower, etc. > > That is, I t

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

2014-11-14 Thread Richard Jones
I think that it boils down to whether it'is possible that distributions: 1. package the node-based tools (grunt, karma, protractor, ...) as installable programs, and 2. xstatic-package the bower-based packages that we use (probably a couple of dozen at least). We might even be able to get away wi

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

2014-11-14 Thread Matthias Runge
On 13/11/14 21:11, Matthew Farina wrote: > I would like to take a moment to point out that developing system > software is different from developing web applications. The way systems > software is developed and often deployed is different from web applications. > > Horizon as it sits today appears

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

2014-11-14 Thread Matthias Runge
On 13/11/14 19:11, Donald Stufft wrote: > As far as I’m aware npm supports TLS the same as pip does. That secures the > transport between the end users and the repository so you can be assured > that there is no man in the middle. Security wise npm (and pip) are about > ~95% (mad up numbers, but y

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

2014-11-14 Thread Donald Stufft
> On Nov 14, 2014, at 7:48 AM, Matthias Runge wrote: > > On 13/11/14 19:11, Donald Stufft wrote: > >> As far as I’m aware npm supports TLS the same as pip does. That secures the >> transport between the end users and the repository so you can be assured >> that there is no man in the middle. Se

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

2014-11-14 Thread Thomas Goirand
On 11/14/2014 06:30 AM, Martin Geisler wrote: > That is, I think Horizon developers will use these tools to produce a > release -- a tarball -- and that tarball will be something you unpack on > your webserver and then you're done. I base this on what I've seen in > the project I've been working. T

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

2014-11-14 Thread Radomir Dopieralski
On 14/11/14 13:02, Richard Jones wrote: >> On 14 November 2014 18:51, Radomir Dopieralski > > wrote: >> On 13/11/14 23:30, Martin Geisler wrote: [...] >> > Maybe a difference is that you don't (yet) install a web application >> > like you install a system

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

2014-11-14 Thread Thomas Goirand
On 11/11/2014 03:02 PM, Richard Jones wrote: > json3 > es5-shim > angular > angular-route > angular-cookies > angular-animate > angular-sanitize > angular-smart-table > angular-local-storage > angular-bootstrap > angular-translate > font-awesome >

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

2014-11-14 Thread Martin Geisler
Thomas Goirand writes: > On 11/14/2014 06:30 AM, Martin Geisler wrote: >> That is, I think Horizon developers will use these tools to produce a >> release -- a tarball -- and that tarball will be something you unpack >> on your webserver and then you're done. I base this on what I've seen >> in t

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

2014-11-14 Thread Jeremy Stanley
On 2014-11-14 15:10:59 +0100 (+0100), Martin Geisler wrote: [...] > That's not what I said: the OpenStack developers will continue to > tests the software. I personally don't think it's the job of the > downstream packagers to do this QA work. (It's of course cool to > run the tests on the system i

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

2014-11-14 Thread Jeremy Stanley
On 2014-11-14 08:31:37 -0500 (-0500), Donald Stufft wrote: [...] > with TLS you depend on the web server to not be compromised [...] Or in some cases, the CDN. ;) -- Jeremy Stanley ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http:/

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

2014-11-14 Thread Adam Young
Here is the rule of thumb: If it is required to reproduce the code as deployed, it needs to be packaged by the distribution. If it is a tool used by the developer to make development easier, it does not *need* to be packaged by the distribution.If it is easier for a developer to use non-

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

2014-11-14 Thread Adam Young
On 11/14/2014 09:05 AM, Thomas Goirand wrote: That's a reasonable amount of work. Multiply this by 2 for the xstatic packages (if we keep using that), that's about 14 new packages. By the way, can't we use libjs-sockjs instead of ng-websocket? Last, I'm ok if we add all these, but please, let's

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

2014-11-14 Thread Thomas Goirand
On 11/14/2014 08:48 PM, Matthias Runge wrote: > On 13/11/14 19:11, Donald Stufft wrote: > >> As far as I’m aware npm supports TLS the same as pip does. That secures the >> transport between the end users and the repository so you can be assured >> that there is no man in the middle. Security wise

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

2014-11-14 Thread Thomas Goirand
On 11/14/2014 09:58 PM, Radomir Dopieralski wrote: > On 14/11/14 13:02, Richard Jones wrote: >> We might even be able to get away without using grunt, though an >> alternative to its LiveReload facility (and one that doesn't then also >> depend on another node program like django-livereload does) w

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

2014-11-14 Thread Thomas Goirand
On 11/14/2014 10:10 PM, Martin Geisler wrote: >> Of course, I need to run tests. That's a big part of the QA work, and I >> > will certainly not give-up on that. You will have a hard time convincing >> > anyone within the OpenStack community that it's OK to not run unit tests. > That's not what I s

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

2014-11-14 Thread Donald Stufft
> On Nov 14, 2014, at 1:57 PM, Thomas Goirand wrote: > > On 11/14/2014 08:48 PM, Matthias Runge wrote: >> On 13/11/14 19:11, Donald Stufft wrote: >> >>> As far as I’m aware npm supports TLS the same as pip does. That secures the >>> transport between the end users and the repository so you can

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

2014-11-14 Thread Jeremy Stanley
On 2014-11-15 02:57:15 +0800 (+0800), Thomas Goirand wrote: [...] > Do you realize that with the TLS system, you have to trust every > and all CA, while with PGP, you only need to trust a single > fingerprint? [...] Technically not true *if* the package retrieval tools implement certificate pinnin

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

2014-11-14 Thread Donald Stufft
> On Nov 14, 2014, at 2:39 PM, Jeremy Stanley wrote: > > On 2014-11-15 02:57:15 +0800 (+0800), Thomas Goirand wrote: > [...] >> Do you realize that with the TLS system, you have to trust every >> and all CA, while with PGP, you only need to trust a single >> fingerprint? > [...] > > Technically

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

2014-11-14 Thread Matthias Runge
On 14/11/14 16:21, Adam Young wrote: > Example: I don't need Grunt to run a web server. I need Apache for > that. Grunt does not need to be in the distro, mod_wsgi does. I will need every tool required to run e.g. unit tests or selenium tests to be packaged. Why? Because our builders don't hav

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

2014-11-14 Thread Gabriel Hurley
day, November 14, 2014 11:11 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Horizon] the future of angularjs development in Horizon On 11/14/2014 10:10 PM, Martin Geisler wrote: >> Of course, I need to run tests. That's a big part

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

2014-11-14 Thread Richard Jones
On 15 November 2014 00:58, Radomir Dopieralski wrote: > On 14/11/14 13:02, Richard Jones wrote: > > I think that it boils down to whether it'is possible that > > distributions: > > > > 1. package the node-based tools (grunt, karma, protractor, ...) as > > installable programs, and > > 2. xstatic-

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

2014-11-15 Thread Martin Geisler
Gabriel Hurley writes: Hi Gabriel, > As the former Horizon PTL, I have a great respect for the importance > of the contributions the distro maintainers/developers make to Horizon > and OpenStack as a whole. From how many bugs the distros manage to > find, to their diligence in vetting the softwa

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

2014-11-16 Thread Thomas Goirand
On 11/15/2014 06:27 AM, Gabriel Hurley wrote: > So, I propose that a group gets together and defines criteria: > we need to accept that the Horizon team (and those knowledgeable > about web-app development) know best what tools they need, and > they need to produce such a list as a starting point.

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

2014-11-16 Thread Thomas Goirand
On 11/15/2014 05:34 PM, Martin Geisler wrote: > I'm sorry if I came across as being hostile towards packagers and > distros. I've been running Debian for 15 years and that is because of > the work the Debian developers put into making the system work well > together at a whole. > > When it comes t

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

2014-11-16 Thread Richard Jones
On 17 November 2014 06:42, Thomas Goirand wrote: > > On 11/15/2014 06:27 AM, Gabriel Hurley wrote: > > So, I propose that a group gets together and defines criteria: > > we need to accept that the Horizon team (and those knowledgeable > > about web-app development) know best what tools they need,

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

2014-11-16 Thread Thomas Goirand
On 11/15/2014 05:03 AM, Matthias Runge wrote: > On 14/11/14 16:21, Adam Young wrote: > >> Example: I don't need Grunt to run a web server. I need Apache for >> that. Grunt does not need to be in the distro, mod_wsgi does. > > I will need every tool required to run e.g. unit tests or selenium t

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

2014-11-16 Thread Richard Jones
On 17 November 2014 11:11, Thomas Goirand wrote: > On 11/15/2014 05:03 AM, Matthias Runge wrote: > > On 14/11/14 16:21, Adam Young wrote: > > > >> Example: I don't need Grunt to run a web server. I need Apache for > >> that. Grunt does not need to be in the distro, mod_wsgi does. > > > > I wil

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

2014-11-16 Thread Matthias Runge
On 17/11/14 02:07, Richard Jones wrote: > Except that selenium is non-free: it's in the non-free repository of > Debian, because it contains a pre-built .xpi plugin for firefox, which > itself contains pre-built .so and .dll files. > > > Hasn't this issue already been addressed? Horiz

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

2014-11-16 Thread Radomir Dopieralski
On 15/11/14 03:21, Richard Jones wrote: > On 15 November 2014 00:58, Radomir Dopieralski wrote: [...] >> 4. additions and upgrades of libraries moderated by the packagers, > > Is there already some mechanism for handling the creation and management > of xstatic packages and how they interac

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

2014-11-17 Thread Martin Geisler
Thomas Goirand writes: Hi Thomas, > On 11/15/2014 05:34 PM, Martin Geisler wrote: >> I'm sorry if I came across as being hostile towards packagers and >> distros. I've been running Debian for 15 years and that is because of >> the work the Debian developers put into making the system work well >

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

2014-11-17 Thread Radomir Dopieralski
On 17/11/14 09:53, Martin Geisler wrote: [...] > As Richard said, npm and bower are not competitors. You use npm to > install bower, and you use bower to download Angular, jQuery, Bootstrap > and other static files. These are the static files that you will want to > include when you finally deplo

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

2014-11-17 Thread Richard Jones
On 17 November 2014 21:54, Radomir Dopieralski wrote: > > On 17/11/14 09:53, Martin Geisler wrote: > > [...] > > > As Richard said, npm and bower are not competitors. You use npm to > > install bower, and you use bower to download Angular, jQuery, Bootstrap > > and other static files. These are th

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

2014-11-17 Thread Richard Jones
On 18 November 2014 10:59, Richard Jones wrote: > On 17 November 2014 21:54, Radomir Dopieralski > wrote: > > - Bower in the development environment, > > - Bower configuration file in two copies, one for global-requirements, > > and one for the Horizon's local requirements. Plus a gate job that

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

2014-11-18 Thread Radomir Dopieralski
On 18/11/14 00:59, Richard Jones wrote: > On 17 November 2014 21:54, Radomir Dopieralski > wrote: >> - Bower in the development environment, >> - Bower configuration file in two copies, one for global-requirements, >> and one for the Horizon's local requirements. Pl

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

2014-11-18 Thread Richard Jones
On 18 November 2014 19:22, Radomir Dopieralski wrote: > On 18/11/14 00:59, Richard Jones wrote: > > On 17 November 2014 21:54, Radomir Dopieralski > > wrote: > >> - Bower in the development environment, > >> - Bower configuration file in two copies, one for global-

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

2014-11-18 Thread Matthias Runge
On Tue, Nov 18, 2014 at 09:36:00PM +1100, Richard Jones wrote: > I guess I got the message that turning bower packages into system packages > was something that the Linux packagers were not keen on. Did I get the > message wrong there? If so, *and* we can get the bower stuff through #infra > and gl

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

2014-11-18 Thread Thomas Goirand
On 11/17/2014 03:22 PM, Matthias Runge wrote: > On 17/11/14 02:07, Richard Jones wrote: >> Except that selenium is non-free: it's in the non-free repository of >> Debian, because it contains a pre-built .xpi plugin for firefox, which >> itself contains pre-built .so and .dll files. >> >

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

2014-11-18 Thread Radomir Dopieralski
On 18/11/14 12:54, Matthias Runge wrote: > On Tue, Nov 18, 2014 at 09:36:00PM +1100, Richard Jones wrote: >> I guess I got the message that turning bower packages into system packages >> was something that the Linux packagers were not keen on. Did I get the >> message wrong there? If so, *and* we c

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

2014-11-18 Thread Richard Jones
On 19 November 2014 03:14, Radomir Dopieralski wrote: > On 18/11/14 12:54, Matthias Runge wrote: > > On Tue, Nov 18, 2014 at 09:36:00PM +1100, Richard Jones wrote: > >> I guess I got the message that turning bower packages into system > packages > >> was something that the Linux packagers were no

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

2014-11-18 Thread Richard Jones
I've just had a long discussion with #infra folk about the global-requirements thing, which deviated (quite naturally) into a discussion about packaging (and their thoughts were in line with where Radomir and I are heading). In their view, bower components don't need to be in global-requirements:

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

2014-11-19 Thread Matthias Runge
On 18/11/14 14:48, Thomas Goirand wrote: > > And then, does selenium continues to work for testing Horizon? If so, > then the solution could be to send the .dll and .xpi files in non-free, > and remove them from Selenium in main. > Yes, it still works; that leaves the question, why they are incl

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

2014-11-19 Thread Matthias Runge
On 19/11/14 05:25, Richard Jones wrote: > I've just had a long discussion with #infra folk about the > global-requirements thing, which deviated (quite naturally) into a > discussion about packaging (and their thoughts were in line with where > Radomir and I are heading). > > In their view, bower

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

2014-11-19 Thread Fox, Kevin M
Perhaps they are there to support older browsers? Thanks, Kevin From: Matthias Runge [mru...@redhat.com] Sent: Wednesday, November 19, 2014 12:27 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [Horizon] the future of angularjs

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

2014-11-19 Thread Thomas Goirand
On 11/19/2014 04:27 PM, Matthias Runge wrote: > On 18/11/14 14:48, Thomas Goirand wrote: > >> >> And then, does selenium continues to work for testing Horizon? If so, >> then the solution could be to send the .dll and .xpi files in non-free, >> and remove them from Selenium in main. >> > Yes, it s

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

2014-11-19 Thread Matthias Runge
On 19/11/14 17:52, Fox, Kevin M wrote: > Perhaps they are there to support older browsers? > Probable. Windows dlls are quite uncommon in a Linux distribution. It's a bit unlikely to have an older browser installed in a centrally managed distribution like Fedora. Matthias _

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

2014-11-20 Thread Thomas Goirand
On 11/17/2014 06:54 PM, Radomir Dopieralski wrote: > - A tool, probably a script, that would help packaging the Bower > packages into DEB/RPM packages. I suspect the Debian/Fedora packagers > already have a semi-automatic solution for that. Nop. Bower isn't even packaged in Debian. Though I may tr

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

2014-11-20 Thread Richard Jones
On Fri Nov 21 2014 at 4:06:51 AM Thomas Goirand wrote: > On 11/17/2014 06:54 PM, Radomir Dopieralski wrote: > > - A tool, probably a script, that would help packaging the Bower > > packages into DEB/RPM packages. I suspect the Debian/Fedora packagers > > already have a semi-automatic solution for

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

2014-11-20 Thread Thomas Goirand
On 11/21/2014 10:52 AM, Richard Jones wrote: > On 11/18/2014 04:22 PM, Radomir Dopieralski wrote: > > If we use Bower, we don't need to use Xstatic. It would be pure > > overhead. Bower already takes care of tracking releases and versions, > > and of bundling the files. All we need

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

2014-11-20 Thread Richard Jones
On 21 November 2014 16:12, Thomas Goirand wrote: > On 11/21/2014 10:52 AM, Richard Jones wrote: > > On 11/18/2014 04:22 PM, Radomir Dopieralski wrote: > > > If we use Bower, we don't need to use Xstatic. It would be pure > > > overhead. Bower already takes care of tracking releases an

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

2014-11-21 Thread Thomas Goirand
On 11/21/2014 01:51 PM, Richard Jones wrote: > On 21 November 2014 16:12, Thomas Goirand > wrote: > > On 11/21/2014 10:52 AM, Richard Jones wrote: > > On 11/18/2014 04:22 PM, Radomir Dopieralski wrote: > > > If we use Bower, we don't need to use Xstatic

  1   2   >