[Erp5-report] r35982 luke - in /erp5/trunk/utils/erp5.recipe.genbt5list: ./ src/erp5/recipe...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 4 11:10:59 CEST 2010


Author: luke
Date: Fri Jun  4 11:10:57 2010
New Revision: 35982

URL: http://svn.erp5.org?rev=35982&view=rev
Log:
 - support list just of business templates, w/o url

Modified:
    erp5/trunk/utils/erp5.recipe.genbt5list/CHANGES.txt
    erp5/trunk/utils/erp5.recipe.genbt5list/README.txt
    erp5/trunk/utils/erp5.recipe.genbt5list/setup.py
    erp5/trunk/utils/erp5.recipe.genbt5list/src/erp5/recipe/genbt5list/__init__.py

Modified: erp5/trunk/utils/erp5.recipe.genbt5list/CHANGES.txt
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.genbt5list/CHANGES.txt?rev=35982&r1=35981&r2=35982&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.genbt5list/CHANGES.txt [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.genbt5list/CHANGES.txt [utf8] Fri Jun  4 11:10:57 2010
@@ -1,5 +1,11 @@
 Changelog
 =========
+
+1.0.1 (2010-06-04)
+------------------
+
+- Support simple lists of business templates, without url
+  [Luke]
 
 1.0 (2010-01-19)
 ----------------

Modified: erp5/trunk/utils/erp5.recipe.genbt5list/README.txt
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.genbt5list/README.txt?rev=35982&r1=35981&r2=35982&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.genbt5list/README.txt [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.genbt5list/README.txt [utf8] Fri Jun  4 11:10:57 2010
@@ -30,6 +30,9 @@
   the business template will be used, this recipe assumes that another recipe
   (typically infrae.subversion) gets the business templates from svn.
 
+  List of URLs can be trimmed down to have only name if BT5. This is useful
+  when using helper recipes like erp5.recipe.bt5checkout
+
 genbt5list
   Path of the genbt5list, under bin folder in ERP5 product
 

Modified: erp5/trunk/utils/erp5.recipe.genbt5list/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.genbt5list/setup.py?rev=35982&r1=35981&r2=35982&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.genbt5list/setup.py [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.genbt5list/setup.py [utf8] Fri Jun  4 11:10:57 2010
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 
 name = "erp5.recipe.genbt5list"
-version = '1.0'
+version = '1.0.1'
 
 def read(name):
     return open(name).read()

Modified: erp5/trunk/utils/erp5.recipe.genbt5list/src/erp5/recipe/genbt5list/__init__.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.genbt5list/src/erp5/recipe/genbt5list/__init__.py?rev=35982&r1=35981&r2=35982&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.genbt5list/src/erp5/recipe/genbt5list/__init__.py [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.genbt5list/src/erp5/recipe/genbt5list/__init__.py [utf8] Fri Jun  4 11:10:57 2010
@@ -47,7 +47,7 @@
         for url in options.get('bt5_urls', '').splitlines():
             if not url:
                 continue
-            url_base, bt5 = url.split()
+            bt5 = url.split()[-1]
             if bt5[-1] == '/':
                 bt5 = bt5[:-1]
             self.logger.info("Creating bt5 %s" % bt5)




More information about the Erp5-report mailing list