gwynne Fri Nov 7 00:11:20 2008 UTC Modified files: /SVNROOT run-conversion.php Log: even more modules put in their proper places http://cvs.php.net/viewvc.cgi/SVNROOT/run-conversion.php?r1=1.7&r2=1.8&diff_format=u Index: SVNROOT/run-conversion.php diff -u SVNROOT/run-conversion.php:1.7 SVNROOT/run-conversion.php:1.8 --- SVNROOT/run-conversion.php:1.7 Thu Nov 6 23:40:16 2008 +++ SVNROOT/run-conversion.php Fri Nov 7 00:11:20 2008 @@ -2,7 +2,7 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Constants -$version = substr('$Revision: 1.7 $', strlen('$Revision: '), -2); +$version = substr('$Revision: 1.8 $', strlen('$Revision: '), -2); $passes = array( 'processcvs', // Process CVS modules @@ -382,16 +382,17 @@ if ($cvs_module == 'CVSROOT') { continue; } - if (count(scandir($options['cvsroot'] . DIRECTORY_SEPARATOR . $cvs_module)) == 2) { // empty + if (!is_dir($options['cvsroot'] . DIRECTORY_SEPARATOR . $cvs_module) || + count(scandir($options['cvsroot'] . DIRECTORY_SEPARATOR . $cvs_module)) == 2) { // empty continue; } if (in_array($cvs_module, array('smarty', 'smarty-web', 'php4.fubar', 'php4.unused', 'peardoc.backup', 'php3', 'phpfi', 'livedocs', - 'Zend', 'functable', 'dialin', 'docstuff', 'jpgraph'))) { + 'Zend', 'functable', 'dialin', 'docstuff', 'jpgraph', 'phpoc_de', 'phpdoc-fa_IR', 'lxr', 'portal', 'pres'))) { continue; } else if (in_array($cvs_module, array('php-gtk', 'php-gtk-doc', 'old-php-gtk-modules'))) { $repoList['gtk']->addCVSModule($cvs_module); } else if (in_array($cvs_module, array('TSRM', 'ZendAPI', 'ZendEngine2', 'php-src', 'pecl', 'pecl4win', 'php-objc', 'php-lang', - 'win-installer', 'bindlib_w32', 'zlib', 'pdo-specs', 'php-internals-win'))) { + 'win-installer', 'bindlib_w32', 'zlib', 'pdo-specs', 'php-internals-win', 'fastcgi-isapi'))) { $repoList['src']->addCVSModule($cvs_module, $cvs_module == 'pecl'); } else if ($cvs_module == 'phd') { $repoList['phd']->addCVSModule($cvs_module); @@ -399,10 +400,10 @@ $repoList['gd']->addCVSModule($cvs_module); } else if (in_array($cvs_module, array('pear', 'pearbot', 'pear-core', 'peardoc'))) { $repoList['pear1']->addCVSModule($cvs_module, $cvs_module == 'pear'); + } else if (substr($cvs_module, -3) == "web" || in_array($cvs_module, array('pres2', 'presentations', 'bugtracker'))) { + $repoList['web']->addCVSModule($cvs_module); } else if (strncmp($cvs_module, "phpdoc", 6) == 0) { $repoList['doc']->addCVSModule($cvs_module); - } else if (substr($cvs_module, -3) == "web") { - $repoList['web']->addCVSModule($cvs_module); } else { $repoList['other']->addCVSModule($cvs_module); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php