[Zope] Re: GenericSetup examples?
Chris Withers
chris at simplistix.co.uk
Mon Jun 12 08:13:46 EDT 2006
Hi Yuppie!
yuppie wrote:
> I just checked in the SampleSite demo product to the doc directory of
> GenericSetup. You can get it from GenericSetup/trunk.
Thanks, this looks great :-)
However, it now makes me wonder:
- how would I compare the current configuration with what's on disk
without creating a snapshot?
- how can I "synch" just one python script or page template with what's
on disk?
cheers,
Chris
PS: I think there's a few rough edges on trunk: I setup a sample site,
created a snapshot and then compared with what's on disk, the following
differences were reported:
Index: export_steps.xml
===================================================================
--- export_steps.xml 2006/06/12 13:12:08.028 GMT+1
+++ export_steps.xml 2006/06/12 13:01:01 GMT+1
@@ -3,22 +3,16 @@
<export-step id="rolemap"
handler="Products.GenericSetup.rolemap.exportRolemap"
title="Role / Permission Map">
-
Export custom roles and non-default role-permission mappings.
-
</export-step>
<export-step id="site"
handler="Products.SampleSite.exportimport.exportSite"
title="Site">
-
Export site configuration.
-
</export-step>
<export-step id="step_registries"
handler="Products.GenericSetup.tool.exportStepRegistries"
title="Step Registries">
-
Export current contents of import step registry and export step
registry.
-
</export-step>
</export-steps>
Index: import_steps.xml
===================================================================
--- import_steps.xml 2006/06/12 13:12:08.028 GMT+1
+++ import_steps.xml 2006/06/12 13:01:01 GMT+1
@@ -3,17 +3,11 @@
<import-step id="rolemap" version="20060606-01"
handler="Products.GenericSetup.rolemap.importRolemap"
title="Role / Permission Map">
-
-
Import custom roles and non-default role-permission mappings.
-
</import-step>
<import-step id="site" version="20060606-01"
handler="Products.SampleSite.exportimport.importSite"
title="Site">
-
-
Import site configuration.
-
</import-step>
</import-steps>
Index: siteroot.xml
===================================================================
--- siteroot.xml 2006/06/12 13:12:08.028 GMT+1
+++ siteroot.xml 2006/06/12 13:01:01 GMT+1
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<object name="mySite" meta_type="Folder">
+<object name="siteroot" meta_type="Folder">
<property name="title">Sample Zope Site</property>
<object name="MailHost" meta_type="Mail Host"/>
<object name="ZCatalog" meta_type="ZCatalog"/>
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list