[daisy] Safe way to share Field,
Part and Document Types between instances of Daisy 1.5
Robert Cecil
rob.cecil at gmail.com
Thu Dec 7 14:07:33 CST 2006
Ok, Now I've switched to using Daisy 2.0-dev... (for other reasons).
I was looking at the pages regarding import/export and I don't see a
clear way to flag either the import / export to work with schema
alone. It seems you have to give it a list of actual document ids?
I'm looking for a way to create to share a centrally versioned (SCM)
schema for a team of devs working on a Daisy site.
Thanks!
Rob Cecil
On Dec 1, 2006, at 2:27 AM, Paul Focke wrote:
> On Thursday 30 November 2006 18:15, Robert Cecil wrote:
>> I know that Daisy 2.0 has a full import/export tool to do this. But,
>> in version 1.5 is there a safe way export any Fields, Parts and Doc
>> Types that have been defined, lets say in a development instance, and
>> import them (using standard SQL means) into a new fresh instance of
>> Daisy 1.5 (e.g. deployment)? I think I can identify the right tables,
>> but then again, I read "do not directly touch the database" somewhere
>> in the docs... :)
>>
>> Thanks
>> Rob Cecil
>
> Hi,
>
> Indeed it isn't a good idea to mess about in the database. Daisy
> 1.5 has a
> schema uploader (daisy-schema-uploader), which can be found in the
> install
> directory of a binary install. What this tool does is read an xml
> file
> containing the definition of the repository and then it updates the
> specified
> repository. Actually it is used during the installation of daisy
> wiki to
> create the default documenttypes.
>
> The format of the xml file is similar to the one found in import/
> export tool.
> Similar but not the same :-/ . An example of the format can be
> found here
> http://svn.cocoondev.org/viewsvn/tags/RELEASE_1_5_0/daisy/install/
> src/java/org/outerj/daisy/install/daisywiki_schema.xml?
> rev=3279&view=markup
>
> This would mean you'd have to create this file by hand and then
> upload it, but
> since you want to export the schema from an existing repository
> this might
> not be exactly what you're looking for.
>
> When looking to answer your question I couldn't find any mention of
> this tool
> in the daisy docs, maybe I should look in mentioning the
> daisy-schema-uploader there.
>
> Paul
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/site/services/
> daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list