Re: [Openstack] Nodejs in horizon

2012-05-31 Thread Caitlin Bestler
Jan Drake wrote: For what it's worth, I've noticed a generally myopic trend towards python only. Node.js can play many very good roles as an implementation strategy for various openstack capabilities, especially at the edge. I was excited to see it being included. There's a balance to

Re: [Openstack] Nodejs in horizon

2012-05-31 Thread Jan Drake
I was speaking generally not specifically about this issue. Sounds like you're taking this personally. See prior comment on developers and languages. This is not about which language is better: that's just crazy talk. :) Adding node.js is clearly not onerous. And if most shops don't have JS

Re: [Openstack] Nodejs in horizon

2012-05-30 Thread Devin Carlen
Long story short - we will work to make node.js an optional build time component and leave it as an distro packaging issue. node.js was being evaluated as a potential solution to https://blueprints.launchpad.net/horizon/+spec/realtime-communication, but that blueprint isn't targeted for

Re: [Openstack] Nodejs in horizon

2012-05-30 Thread Adam Young
On 05/30/2012 04:37 PM, Devin Carlen wrote: Long story short - we will work to make node.js an optional build time component and leave it as an distro packaging issue. node.js was being evaluated as a potential solution to

Re: [Openstack] Nodejs in horizon

2012-05-30 Thread Jan Drake
For what it's worth, I've noticed a generally myopic trend towards python only. Node.js can play many very good roles as an implementation strategy for various openstack capabilities, especially at the edge. I was excited to see it being included. There's a balance to be struck in optimizing

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Thierry Carrez
Devin Carlen wrote: -1 to introducing formal processes around this. This will happen from time to time. Development may be briefly impacted on other platforms but hindering innovation and telling developers that they are responsible for package availability across every distro is not

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Thierry Carrez
Gabriel Hurley wrote: As for packages, I can’t speak to Fedora offhand, but Ubuntu has the “nodejs” package which is what we’ve used internally for development and for the devstack gate going forward. The LESS binary itself is being bundled with Horizon to alleviate versioning

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Simon G.
Hi, On Thu, May 24, 2012 at 9:40 PM, Devin Carlen de...@openstack.org wrote: ... Relying on Node.js actually opens up a lot of possibilities in the future for us to do realtime websocket communications via node.js and still rely on django to do the heavy lifting:

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Gabriel Hurley
: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net [mailto:openstack- bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Thierry Carrez Sent: Friday, May 25, 2012 1:48 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] Nodejs in horizon Devin Carlen wrote

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Russell Bryant
On 05/24/2012 08:45 PM, Gabriel Hurley wrote: Calling it broken is a bit of an overstatement. As noted previously, node.js can be installed and configured (http://nodejs.tchol.org/) on Fedora. It's just not in the Fedora default package repositories. My reading of the ticket on the redhat

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Thierry Carrez
Gabriel Hurley wrote: 1. I'll repeat my call for a list (somewhere) of who OpenStack's downstream stakeholders are. I'm in favor of our commitment of support and cooperation, but providing openness and insight into who we're offering it to would be awesome. The trick is, you don't know

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Thierry Carrez
Gabriel Hurley wrote: 2. Bundling LESS vs. other means: If you think downstream packagers don't like node... pretty much nobody packages LESS. The recommended way to install LESS is actually with NPM (the Node Package Manager). We could install it that way, but that makes dependency

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Kiall Mac Innes
On Fri, May 25, 2012 at 11:27 AM, Gabriel Hurley gabriel.hur...@nebula.comwrote: 4. LESS for dev, commit compiled files: I veto'd this one in Horizon's discussions. I've played this game being a committer for Django when we tried to maintain both development and production versions of the

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Gabriel Hurley
be a compromise I'm more than happy with... ;-) - Gabriel From: Kiall Mac Innes [mailto:ki...@managedit.ie] Sent: Friday, May 25, 2012 11:41 AM To: Gabriel Hurley Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Nodejs in horizon On Fri, May 25, 2012 at 11:27 AM, Gabriel

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Gabriel Hurley
@lists.launchpad.net] On Behalf Of Russell Bryant Sent: Friday, May 25, 2012 1:20 PM To: openstack@lists.launchpad.net Subject: Re: [Openstack] Nodejs in horizon On 05/25/2012 03:35 PM, Gabriel Hurley wrote: I have no problem with distros generating CSS files however they like; overriding what

Re: [Openstack] Nodejs in horizon

2012-05-25 Thread Russell Bryant
On 05/25/2012 04:51 PM, Gabriel Hurley wrote: That sounds good to me, but it only addresses the short term issue. If the plan is to use Node.js for more in the future, we're going to have the same conversation when that next patch comes up. Heh. That was my point to Thierry about 8 messages

[Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
Hi all, I was seeing that node.js is now being used in horizon. Is there any details on why that was needed, the reasoning, the technical docs on where it is used. Are there packages available in fedora/ubuntu for this? Such a change seems like it should have a little more

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Chuck Short
Hi On Thu, 24 May 2012 10:33:32 -0700 Joshua Harlow harlo...@yahoo-inc.com wrote: Hi all, I was seeing that node.js is now being used in horizon. Is there any details on why that was needed, the reasoning, the technical docs on where it is used. Are there packages available in

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
So was there thought about the fedora and other distributions when adding this as a dependency. I thought we were going to try to support both, but if a package is currently only in a single distribution, that makes it hard to develop on both. Not sure if this is valid, and it might be

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Devin Carlen
Hi Joshua, Node.js is in the standard repos for most modern distros. It's not an issue for Ubuntu/Fedora. We are using Node.js for a package called Less with does asset compression for us. Less is Apache 2 licensed so we have included it directly within Horizon:

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
Of Joshua Harlow Sent: Thursday, May 24, 2012 10:34 AM To: openstack Cc: Yahoo Openstack Developers Subject: [Openstack] Nodejs in horizon Hi all, I was seeing that node.js is now being used in horizon. Is there any details on why that was needed, the reasoning, the technical docs on where

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
] Nodejs in horizon So was there thought about the fedora and other distributions when adding this as a dependency. I thought we were going to try to support both, but if a package is currently only in a single distribution, that makes it hard to develop on both. Not sure if this is valid

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
+gabriel.hurley=nebula@lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Joshua Harlow Sent: Thursday, May 24, 2012 12:32 PM To: Chuck Short Cc: Yahoo Openstack Developers; openstack Subject: Re: [Openstack] Nodejs in horizon So

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
From: Joshua Harlow [mailto:harlo...@yahoo-inc.com] Sent: Thursday, May 24, 2012 1:46 PM To: openstack-...@yahoo-inc.com; Gabriel Hurley; openstack Subject: Re: [Openstack] Nodejs in horizon Good to know, I thought that fedora was being ran as well in the CI env. If not, I will try my best to get

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Russell Bryant
On 05/24/2012 03:40 PM, Devin Carlen wrote: Hi Joshua, Node.js is in the standard repos for most modern distros. It's not an issue for Ubuntu/Fedora. It actually is a problem for Fedora. node.js is not in Fedora. Once Horizon requires node.js, it will be broken for Fedora (and EPEL for

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
That's what I was worried about, and why I (just my opinion) think that we need to be a lot stricter about vetting new dependencies. There needs to be time given to say, ensuring that its really needed, if it really is, documenting why it has to be there in depth, getting various PTL's to

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Devin Carlen
-1 to introducing formal processes around this. This will happen from time to time. Development may be briefly impacted on other platforms but hindering innovation and telling developers that they are responsible for package availability across every distro is not healthy. You are concerned

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Joshua Harlow
, this is why we made this change in the *first* milestone, and not a week before release. ;) Devin On May 24, 2012, at 4:09 PM, Joshua Harlow wrote: Re: [Openstack] Nodejs in horizon That's what I was worried about, and why I (just my opinion) think that we need to be a lot stricter about vetting

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Russell Bryant
On 05/24/2012 07:28 PM, Joshua Harlow wrote: Sure I agree with what u said, its a balance... But it worries me when a commit pops up that I had to basically find, and then I get a reply from russell who works at RH that says nope fedora doesn’t have it. It seems like that reach u

Re: [Openstack] Nodejs in horizon

2012-05-24 Thread Gabriel Hurley
[mailto:openstack- bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Russell Bryant Sent: Thursday, May 24, 2012 3:38 PM To: Devin Carlen Cc: openstack; Yahoo Openstack Developers Subject: Re: [Openstack] Nodejs in horizon On 05/24/2012 03:40 PM, Devin Carlen wrote: Hi