[Checkins] SVN: grokproject/trunk/grokproject/template_paste/buildout.cfg_tmpl Re-add the [data] and [log] parts. This prevents buildout from

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue Sep 15 05:49:02 EDT 2009


Log message for revision 104022:
  Re-add the [data] and [log] parts. This prevents buildout from 
  unintentionally throwing away the parts/data and parts/log subdirectories.  
  People upgrading projects to the newer buildout.cfg layout might not yet 
  have copied the Data.fs and log files to the new location.

Changed:
  U   grokproject/trunk/grokproject/template_paste/buildout.cfg_tmpl

-=-
Modified: grokproject/trunk/grokproject/template_paste/buildout.cfg_tmpl
===================================================================
--- grokproject/trunk/grokproject/template_paste/buildout.cfg_tmpl	2009-09-15 09:45:48 UTC (rev 104021)
+++ grokproject/trunk/grokproject/template_paste/buildout.cfg_tmpl	2009-09-15 09:49:02 UTC (rev 104022)
@@ -12,6 +12,10 @@
     zdaemon_conf
     deploy_ini
     debug_ini
+    # For backward compatibility, telling buildout not to throw away
+    # the data and log subdirectories from the parts directory.
+    data
+    log
 newest = ${newest}
 
 extends = versions.cfg
@@ -69,6 +73,16 @@
 extra =
 # 'extra' is copied verbatim. Use it for product config sections and so.
 
+# The [data] and [log] parts are still in here to instruct buildout to not
+# unintentionally throw away the parts/data and parts/log subdirectories
+# that contain the Data.fs and the log files. These files should be
+# copied to the new locations. See the upgrade notes for more information.
+[data]
+recipe = zc.recipe.filestorage
+
+[log]
+recipe = zc.recipe.filestorage
+
 [site_zcml]
 recipe = collective.recipe.template
 input = etc/site.zcml.in
@@ -89,7 +103,6 @@
 input = etc/debug.ini.in
 output = $${buildout:parts-directory}/etc/debug.ini
 
-
 [eggbasket]
 recipe = z3c.recipe.eggbasket
 eggs = grok



More information about the checkins mailing list