[Erp5-report] r32507 luke - in /erp5/trunk/buildout: ./ recipes/erp5.recipe.standaloneinsta...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 12 17:02:19 CET 2010


Author: luke
Date: Fri Feb 12 17:02:17 2010
New Revision: 32507

URL: http://svn.erp5.org?rev=32507&view=rev
Log:
 - standalone default - put data.fs in client_home if no file-storage given

Modified:
    erp5/trunk/buildout/development.cfg
    erp5/trunk/buildout/recipes/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py

Modified: erp5/trunk/buildout/development.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/development.cfg?rev=32507&r1=32506&r2=32507&view=diff
==============================================================================
--- erp5/trunk/buildout/development.cfg [utf8] (original)
+++ erp5/trunk/buildout/development.cfg [utf8] Fri Feb 12 17:02:17 2010
@@ -16,7 +16,6 @@
 [zope-instance]
 recipe = erp5.recipe.standaloneinstance
 location = ${buildout:var-directory}/zope-instance
-file-storage = ${:location}/var/Data.fs
 eggs +=
   ipdb
   pysvn

Modified: erp5/trunk/buildout/recipes/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py
URL: http://svn.erp5.org/erp5/trunk/buildout/recipes/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py?rev=32507&r1=32506&r2=32507&view=diff
==============================================================================
--- erp5/trunk/buildout/recipes/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py [utf8] (original)
+++ erp5/trunk/buildout/recipes/erp5.recipe.standaloneinstance/src/erp5/recipe/standaloneinstance/__init__.py [utf8] Fri Feb 12 17:02:17 2010
@@ -14,6 +14,8 @@
       raise zc.buildout.UserError('Location have to be specified')
     options['bin-directory'] = os.path.join(standalone_location, 'bin')
     options['scripts'] = '' # suppress script generation.
+    options['file-storage'] = options.get('file-storage',
+        os.path.join(standalone_location, 'var', 'Data.fs'))
 
     # Relative path support for the generated scripts
     relative_paths = options.get(




More information about the Erp5-report mailing list