svn: pear/peardoc/trunk/scripts/

From: Date: Sat, 11 Jul 2009 13:28:36 +0000
Subject: svn: pear/peardoc/trunk/scripts/
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11739@lists.php.net to get a copy of this message
saltybeagle Sat, 11 Jul 2009 13:28:36 +0000 ViewVC URL: http://svn.php.net/viewvc?view=revision&revision=283869 Changed paths: U pear/peardoc/trunk/scripts/pearwebbuild.php Log: CVS->SVN conversion for pear manual build script. Modified: pear/peardoc/trunk/scripts/pearwebbuild.php =================================================================== --- pear/peardoc/trunk/scripts/pearwebbuild.php 2009-07-11 11:55:27 UTC (rev 283868) +++ pear/peardoc/trunk/scripts/pearwebbuild.php 2009-07-11 13:28:36 UTC (rev 283869) @@ -7,7 +7,7 @@ * Used at http://pear.php.net/ and * http://ucommbieber.unl.edu/peardoc/build/, rsync://ucommbieber.unl.edu/peardoc * - * Usage: php pearwebuild.php [--updatecvs] [--updatephd] + * Usage: php pearwebuild.php [--updatesvn] [--updatephd] */ $php_executable = 'php'; $phd_executable = 'phd'; @@ -23,14 +23,14 @@ $parser = new Console_CommandLine(); $parser->description = 'Builds the full manual'; $parser->version = '$Id$'; -$parser->addOption('updatecvs', array( - 'long_name' => '--updatecvs', - 'description' => 'Update peardoc from CVS', +$parser->addOption('updatesvn', array( + 'long_name' => '--updatesvn', + 'description' => 'Update peardoc from SVN', 'action' => 'StoreTrue' )); $parser->addOption('updatephd', array( 'long_name' => '--updatephd', - 'description' => 'Update phd from CVS', + 'description' => 'Update phd from SVN', 'action' => 'StoreTrue' )); $parser->addOption('phpdir', array( @@ -56,17 +56,17 @@ } -if ($cmdline->options['updatecvs']) { +if ($cmdline->options['updatesvn']) { chdir(dirname(dirname(dirname(__FILE__)))); - // Update cvs - shell_exec('cvs -q -d :pserver:cvsread@cvs.php.net:/repository checkout peardoc'); + // Update svn + shell_exec('svn checkout http://svn.php.net/repository/pear/peardoc/trunk peardoc'); } if ($cmdline->options['updatephd']) { chdir(dirname(dirname(dirname(__FILE__)))); - // Update cvs - shell_exec('cvs -q -d :pserver:cvsread@cvs.php.net:/repository checkout phd'); + // Update svn + shell_exec('svn checkout http://svn.php.net/repository/phd/trunk phd'); // Update phd shell_exec($pear_executable.' upgrade -f '.dirname(dirname(dirname(__FILE__))).'/phd/package.xml'); }

« previous php.pear.doc (#11739) next »