Revision: 51431 Author: kim Date: 2009-06-03 19:10:55 +0000 (Wed, 03 Jun 2009)
Log Message: ----------- update.php calls temporarily disabled so other folks can get on with their work. will be re-enabled when they actually work Modified Paths: -------------- trunk/testing/installer/naive_installer.py Modified: trunk/testing/installer/naive_installer.py =================================================================== --- trunk/testing/installer/naive_installer.py 2009-06-03 19:00:12 UTC (rev 51430) +++ trunk/testing/installer/naive_installer.py 2009-06-03 19:10:55 UTC (rev 51431) @@ -55,9 +55,18 @@ raise Naive_Installer_Exception("_setup_schema: While installing, I found a schema.sql and tried to use it, but there was some issue with it.\n",e) def _setup_update(self): + + return # XXX This method is a work in progress. I don't want to hold up users, + # so I'll upload to svn like this if not self.instancedir(): raise Naive_Installer_Exception("_setup_update:Internal Error: Could not determine instancedir") - command=settings.phpcommand+os.path.join(self.instancedir,maintenance,"update.php") + + update_script=os.path.join(self.instancedir(),"maintenance","update.php") + + if not os.path.exists(update_script): + raise Naive_Installer_Exception("_setup_update:While installing, could not find update.php at: "+command) + + command=settings.phpcommand+" "+update_script rv=os.system(command)>>8 if rv: raise Naive_Installer_Exception("_setup_update:While installing, I tried to run the instance's maintenance/update.php, but some issue occurred.") _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs