[Erp5-report] r42603 rafael - in /erp5/trunk/utils/erp5.appliance.test: ./ src/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 21 21:02:39 CET 2011


Author: rafael
Date: Fri Jan 21 21:02:39 2011
New Revision: 42603

URL: http://svn.erp5.org?rev=42603&view=rev
Log:
Added --base_url option to permit provide custom Urls. This is good for test releases and releases candidate builds.

Modified:
    erp5/trunk/utils/erp5.appliance.test/CHANGES.txt
    erp5/trunk/utils/erp5.appliance.test/src/test.py

Modified: erp5/trunk/utils/erp5.appliance.test/CHANGES.txt
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.appliance.test/CHANGES.txt?rev=42603&r1=42602&r2=42603&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/CHANGES.txt [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/CHANGES.txt [utf8] Fri Jan 21 21:02:39 2011
@@ -1,6 +1,8 @@
 2.14 (unreleased)
 -----------------
 
+ - Add '--base_url' to user use custom Base URLs [Rafael Monnerat]
+
 2.13 (2010-12-27)
 -----------------
 

Modified: erp5/trunk/utils/erp5.appliance.test/src/test.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.appliance.test/src/test.py?rev=42603&r1=42602&r2=42603&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] Fri Jan 21 21:02:39 2011
@@ -656,6 +656,12 @@ class Parser(OptionParser):
              help="URL used to detect revision of running test.",
              type=str,
              default="https://svn.erp5.org/repos/public/"),
+      Option("-b", "--base_url",
+             help="Base url where the configuration files are available.",
+             type=str,
+             default="https://svn.erp5.org/repos/public/erp5/trunk/buildout"),
+
+ 
     ])
 
   def check_args(self):
@@ -709,8 +715,8 @@ def main212():
   try:
     config = parserConfig()
     run(config,
-        'https://svn.erp5.org/repos/public/erp5/trunk/buildout/buildout-2.12.cfg',
-        'https://svn.erp5.org/repos/public/erp5/trunk/buildout/profiles/development-2.12.cfg',
+        '%s/buildout-2.12.cfg' % config.base_url,
+        '%s/development-2.12.cfg' % config.base_url,
         'bootstrap2.6', 'ERP5Appliance212')
     return_code = 0
   except SystemExit, err:
@@ -725,8 +731,8 @@ def main28():
   try:
     config = parserConfig()
     run(config,
-        'https://svn.erp5.org/repos/public/erp5/trunk/buildout/buildout.cfg',
-        'https://svn.erp5.org/repos/public/erp5/trunk/buildout/profiles/development.cfg',
+        '%s/buildout.cfg' % config.base_url,
+        '%s/profiles/development.cfg' % config.base_url,
         'bootstrap2.4',
         'ERP5Appliance28')
     return_code = 0



More information about the Erp5-report mailing list