[Kimchi-devel] [PATCH 1/2] Add static directory configurations for plugin's ui

Mark Wu wudxw at linux.vnet.ibm.com
Tue Mar 4 02:50:34 UTC 2014


On 02/28/2014 09:16 PM, Crístian Viana wrote:
> Am 28-02-2014 06:59, schrieb Mark Wu:
>> Plugin needs static directory configuration for ui requirements,
>> such as css, js, etc,  as what we do for kimchi base.  So this
>> patch refactors the server configuration to make plugin can share
>> the same code with kimchi. To avoid the warning messages reported from
>> cherrypy's path checker, it also adds empty ui directory for the
>> sample plugin,  which also can demonstrate plugin's ui directory
>> sturcture. We can add actual ui files under those direcotries later.
>> ---
>>   plugins/sample/ui/css/.gitignore    |  0
>>   plugins/sample/ui/images/.gitignore |  0
>>   plugins/sample/ui/js/.gitignore     |  0
>>   plugins/sample/ui/libs/.gitignore   |  0
> Why were those 4 .gitignore files added?
That's a workaround because git doesn't allow to add empty directory.  I 
think we can keep those .gitignore
files util we add ui files for the plugin sample in future.




More information about the Kimchi-devel mailing list