[Lenyacms-dev] Config Files

Christian Egli <[email protected]> 22 Apr 2003 12:08:13 +0200
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
--=-=-=


Hi 

There was a proposal on this list to move config files to a config
directory.

In the ensuing discussion I think there was agreement that we will
create a config directory. However there was no consensus which files
are to be moved from {publication}/content to {publication}/config.

The following is a list of possible candidates and their new location:

1. If there are any config files that I missed please let me know.

2. If a file that I mentioned not a config file also please let me
   know.

3. It would be nice if we could agree on a sufix for config
   files. Some are named foo.xconf others are just called plain
   bar.xml (e.g. publisher.xconf vs publisher.xml)

4. Are these config files publication specific or can they be moved to
   the global config dir in src/lenya/src/webapp/lenya/config?

5. If we consolidate this it needs to happen in one go (for all pubs),
   as we need to change the locations of the config files plus a few
   Java classes.


--=-=-=
Content-Disposition: attachment; filename=config.txt
Content-Description: proposal for config files

  Current location                      Proposed location

* policies
  Which URIs can be accessed by whom

  content/ac/policies/*.acml            config/ac/policies/*.acml

* user/group data
  Data for authentication.

  content/ac/passwd/*.iml               config/ac/passwd/*.iml

* doctypes
  Definitions for allowed doctypes (i.e. schemas, sample files, creators)

  content/doctypes/doctypes.xconf       config/doctypes/doctypes.xconf
  content/doctypes/samples/*.xml        config/doctypes/samples/*.xml
  content/doctypes/schemas/*.xsd        config/doctypes/schemas/*.xsd

* menus
  Menu defintions for doctypes

  content/menus/*.xsp                   config/menus/*.xsp

* search
  Config files for search.

  content/crawler.xconf                 config/crawler.xconf
  content/lucene.xconf                  config/lucene.xconf

* scheduler
  This is basically a dump of the task list that needs to be
  serialized when the server goes down. Not really a config file in
  the stricted sense.

  content/scheduler/scheduler.xml       config/scheduler/scheduler.xml

* publisher
  Configuration for the publisher (e.g. authoring/live/export path).

  content/publication.xconf             config/publisher.xconf

* tasks
  Configuration for tasks (e.g. names and classes of tasks)

  content/tasks.xconf                   config/tasks/tasks.xconf

* revision control
  Configuration for revision control (e.g. backup/rcml dirs). The
  revision control produces more files which are also stored in
  content (such as backup files and "diffs")

  <configured in sitemap>               config/rc/revision-controller.xml


--=-=-=



-- 
Christian Egli       [email protected]   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 

--=-=-=--