← Back to team overview

openstack team mailing list archive

Re: Packaging Horizon

 

Now I'm not well-versed in the legalese of all the distros, but that sounds like splitting hairs on the meaning of "compiled from source". If I run it through LESS and commit the file to the repo does that make it "from source"? It'd solve your problem exactly the same.

I'd be curious to know the definition here, but that seems like overkill to me. If its what you need I'll do it for Folsom, but... thoughts?

    - Gabriel

On Sep 14, 2012, at 8:25 PM, "Thomas Goirand" <thomas@xxxxxxxxxx> wrote:

> On Sat Sep 15 2012 03:55:09 AM CST, Gabriel Hurley <Gabriel.Hurley@xxxxxxxxxx> wrote:
> 
>> Either way works, you just have to compile the file once and ship it in
>> the distro package.
> 
> For at least Debian, this would make the package
> non-free. Everything has to be compiled from source.
> 
>> If you can't compile it yourself then you could perhaps use the one from
>> Adam/Ubuntu, or I can do it and send you the final output file.
> 
> That isn't the way.
> 
> Thomas
> 
>>> -----Original Message-----
>>> From: openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx
>>> [mailto:openstack-
>>> bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>>> Adam Gandelman
>>> Sent: Friday, September 14, 2012 11:19 AM
>>> To: openstack@xxxxxxxxxxxxxxxxxxx
>>> Subject: Re: [Openstack] Packaging Horizon
>>> 
>>> On 09/14/2012 05:06 AM, Matthias Runge wrote:
>>>> Hi,
>>>> 
>>>> currently, I'm trying to package horizon RC1 for Fedora.
>>>> 
>>>> Since, Fedora does not have node.js included, and also doesn't have
>>>> LESS included, it won't work per default.
>>>> 
>>>> Do you have suggestions for me?
>>>> Thanks
>>> 
>>> We faced the same issue in Ubuntu [1].   Ended up compiling and
>>> compressing the CSS and JS at packaging time, shipping those + the
>>> manifest.json with the package and enabling COMPRESS_OFFLINE=True by
>>> default.   Users who might want to make use of lessc and node later can
>>> just install node-less and set COMPRESS_OFFLINE=False.
>>> 
>>> Adam
>>> 
>>> [1] https://bugs.launchpad.net/horizon/+bug/1024326
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to         : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help     : https://help.launchpad.net/ListHelp
>> 
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to         : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help     : https://help.launchpad.net/ListHelp
> 
> 



Follow ups

References