← Back to team overview

fuel-dev team mailing list archive

Re: removal of unneeded static files from master node

 

Mike,

We don't but currently we are writing some customization docs:
https://review.openstack.org/#/c/79673/. I think I'll add info about UI
compilation there.


2014-04-09 13:27 GMT+04:00 Mike Scherbakov <mscherbakov@xxxxxxxxxxxx>:

> Vitaly,
> do we have a note about this in dev docs? How someone can hack sources on
> ISO to see result immediately?
>
> Thanks,
> On Apr 7, 2014 4:03 PM, "Vitaly Kramskikh" <vkramskikh@xxxxxxxxxxxx>
> wrote:
>
>> Folks,
>>
>> During last few months a few people contacted me and asked why they
>> modify files on the master node in /opt/nailgun/static/ and cannot see the
>> changes in browser. This is happening because on master node all css and js
>> files and tempates are compressed and concatenated, but r.js compiler
>> doesn't delete original files which some people try to modify. Some time
>> ago we deleted these files in ISO build scripts, but layout of static files
>> was changed and that broke the build, so we decided not to remove the files
>> at all. I want to return back this functionality as a part of our 'grunt
>> build' task, so there is no need to modify ISO build scripts. Also, if
>> static layout changes and some essential files are deleted, our UI tests
>> will fail. Change request for this functionality is
>> https://review.openstack.org/#/c/85090/. If nobody has any objections,
>> I'm going to merge it.
>>
>> --
>> Vitaly Kramskikh,
>> Software Engineer,
>> Mirantis, Inc.
>>
>> --
>> Mailing list: https://launchpad.net/~fuel-dev
>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~fuel-dev
>> More help   : https://help.launchpad.net/ListHelp
>>
>>


-- 
Vitaly Kramskikh,
Software Engineer,
Mirantis, Inc.

References