[Kimchi-devel] [PATCH 16/17] Ginger Base : base plugin ui/config, make and robot files
Chandra Shehkhar Reddy Potula
chandra at linux.vnet.ibm.com
Fri Sep 11 10:19:44 UTC 2015
On 09/10/2015 07:34 PM, Aline Manera wrote:
>
>
> On 01/09/2015 15:04, chandra at linux.vnet.ibm.com wrote:
>> From: chandrureddy <chandra at linux.vnet.ibm.com>
>>
>> ---
>> plugins/gingerbase/ui/Makefile.am | 20 ++++++++++++++++++++
>> plugins/gingerbase/ui/config/Makefile.am | 22 ++++++++++++++++++++++
>> plugins/gingerbase/ui/config/tab-ext.xml | 10 ++++++++++
>> plugins/gingerbase/ui/robots.txt | 2 ++
>> 4 files changed, 54 insertions(+)
>> create mode 100644 plugins/gingerbase/ui/Makefile.am
>> create mode 100644 plugins/gingerbase/ui/config/Makefile.am
>> create mode 100644 plugins/gingerbase/ui/config/tab-ext.xml
>
>
>> create mode 100644 plugins/gingerbase/ui/robots.txt
>
> We don't need a robots file to each plugin as the configuration is
> applied to the entire web server.
Sure. Let me take off.
>
>> diff --git a/plugins/gingerbase/ui/Makefile.am
>> b/plugins/gingerbase/ui/Makefile.am
>> new file mode 100644
>> index 0000000..e9d7b94
>> --- /dev/null
>> +++ b/plugins/gingerbase/ui/Makefile.am
>> @@ -0,0 +1,20 @@
>> +#
>> +# Kimchi
>> +#
>> +# Copyright IBM, Corp. 2013
>> +#
>> +# Licensed under the Apache License, Version 2.0 (the "License");
>> +# you may not use this file except in compliance with the License.
>> +# You may obtain a copy of the License at
>> +#
>> +# http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +# Unless required by applicable law or agreed to in writing, software
>> +# distributed under the License is distributed on an "AS IS" BASIS,
>> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>> +# See the License for the specific language governing permissions and
>> +# limitations under the License.
>> +
>> +SUBDIRS = config css images js libs pages
>> +
>> +uidir = $(datadir)/wok/plugins/gingerbase/ui
>> diff --git a/plugins/gingerbase/ui/config/Makefile.am
>> b/plugins/gingerbase/ui/config/Makefile.am
>> new file mode 100644
>> index 0000000..d750a99
>> --- /dev/null
>> +++ b/plugins/gingerbase/ui/config/Makefile.am
>> @@ -0,0 +1,22 @@
>> +#
>> +# Kimchi
>> +#
>> +# Copyright IBM, Corp. 2013
>> +#
>> +# Licensed under the Apache License, Version 2.0 (the "License");
>> +# you may not use this file except in compliance with the License.
>> +# You may obtain a copy of the License at
>> +#
>> +# http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +# Unless required by applicable law or agreed to in writing, software
>> +# distributed under the License is distributed on an "AS IS" BASIS,
>> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>> +# See the License for the specific language governing permissions and
>> +# limitations under the License.
>> +
>> +xmldir = $(datadir)/wok/plugins/gingerbase/ui/config
>> +
>> +dist_xml_DATA = \
>> + tab-ext.xml \
>> + $(NULL)
>> diff --git a/plugins/gingerbase/ui/config/tab-ext.xml
>> b/plugins/gingerbase/ui/config/tab-ext.xml
>> new file mode 100644
>> index 0000000..2d2d9bd
>> --- /dev/null
>> +++ b/plugins/gingerbase/ui/config/tab-ext.xml
>> @@ -0,0 +1,10 @@
>> +<?xml version="1.0" encoding="utf-8"?>
>> +<tabs-ext>
>> + <tab>
>> + <access role="admin" mode="admin"/>
>> + <access role="user" mode="none"/>
>> +
>> + <title>Host</title>
>> + <path>plugins/gingerbase/host.html</path>
>> + </tab>
>> +</tabs-ext>
>> diff --git a/plugins/gingerbase/ui/robots.txt
>> b/plugins/gingerbase/ui/robots.txt
>> new file mode 100644
>> index 0000000..1f53798
>> --- /dev/null
>> +++ b/plugins/gingerbase/ui/robots.txt
>> @@ -0,0 +1,2 @@
>> +User-agent: *
>> +Disallow: /
>
More information about the Kimchi-devel
mailing list