cvs: SVNROOT / authz.db pre-commit run-conversion.php start-commit

[email protected] ("Gwynne Raskind")
Newsgroups svn.migration
Message-ID <cvsgwynne1229373812@cvsserver>
gwynne		Mon Dec 15 20:43:32 2008 UTC

  Added files:                 
    /SVNROOT	pre-commit start-commit 

  Removed files:               
    /SVNROOT	authz.db 

  Modified files:              
    /SVNROOT	run-conversion.php 
  Log:
  - Put a couple of modules in their proper places
  - Install start-commit and pre-commit hooks
  - No longer using authz.db file
  - Add start-commit and pre-commit hooks for authentication
  
  
http://cvs.php.net/viewvc.cgi/SVNROOT/run-conversion.php?r1=1.57&r2=1.58&diff_format=u
Index: SVNROOT/run-conversion.php
diff -u SVNROOT/run-conversion.php:1.57 SVNROOT/run-conversion.php:1.58
--- SVNROOT/run-conversion.php:1.57	Fri Dec 12 04:20:25 2008
+++ SVNROOT/run-conversion.php	Mon Dec 15 20:43:31 2008
@@ -7,7 +7,7 @@
 
 // -----------------------------------------------------------------------------------------------------------------------------
 // Constants
-$version = substr('$Revision: 1.57 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.58 $', strlen('$Revision: '), -2);
 
 $passes = array(
     'processcvs',       // Process CVS modules
@@ -317,17 +317,17 @@
                 in_array($cvs_module, array('smarty', 'smarty-web', 'php4.fubar', 'php4.unused', 'peardoc.backup', 'php3', 'phpfi', 'livedocs',
                     'Zend', 'functable', 'dialin', 'docstuff', 'jpgraph', 'phpoc_de', 'phpdoc-fa_IR', 'lxr', 'portal', 'pres', 'embed', 'imapd'))) {
             rm("{$cvsPath}/{$cvs_module}");
-        } else if (in_array($cvs_module, array('php-gtk', 'php-gtk-doc', 'old-php-gtk-modules'))) {
+        } else if (in_array($cvs_module, array('php-gtk', 'php-gtk-doc', 'old-php-gtk-modules', 'php-gtk-web'))) {
             mv("{$cvsPath}/{$cvs_module}", "{$cvsPath}/gtk/{$cvs_module}");
             $converter->addCVSModule("gtk/{$cvs_module}");
-        } else if (in_array($cvs_module, array('ZendAPI', 'php-src', 'pecl', 'pecl4win', 'php-objc', 'php-lang',
+        } else if (in_array($cvs_module, array('ZendAPI', 'php-src', 'pecl', 'php-objc', 'php-lang',
                 'win-installer', 'bindlib_w32', 'zlib', 'pdo-specs', 'php-internals-win', 'fastcgi-isapi'))) {
             mv("{$cvsPath}/{$cvs_module}", "{$cvsPath}/php/{$cvs_module}");
             $converter->addCVSModule("php/{$cvs_module}", $cvs_module == 'pecl');
         } else if (in_array($cvs_module, array('modules', 'pearbot', 'pear-core', 'peardoc'))) {
             mv("{$cvsPath}/{$cvs_module}", "{$cvsPath}/pear/{$cvs_module}");
             $converter->addCVSModule("pear/{$cvs_module}", $cvs_module == 'modules');
-        } else if (substr($cvs_module, -3) == "web" || in_array($cvs_module, array('pres2', 'presentations', 'bugtracker'))) {
+        } else if (substr($cvs_module, -3) == "web" || in_array($cvs_module, array('pres2', 'presentations', 'bugtracker', 'pecl4win'))) {
             if (substr($cvs_module, -4) == '-web') {
                 $dest_cvs_module = substr($cvs_module, 0, -4);
             } else if (substr($cvs_module, -3) == 'web') {
@@ -514,6 +514,14 @@
 
     $svnPath = $GLOBALS['options']['svnroot'];
 
+    v(2, "Installing start-commit hook...\n");
+    @unlink("{$svnPath}/repository/hooks/start-commit");
+    symlink("{$svnPath}/SVNROOT/start-commit", "{$svnPath}/repository/hooks/start-commit");
+
+    v(2, "Installing pre-commit hook...\n");
+    @unlink("{$svnPath}/repository/hooks/pre-commit");
+    symlink("{$svnPath}/SVNROOT/pre-commit", "{$svnPath}/repository/hooks/pre-commit");
+
     v(2, "Installing post-commit hook...\n");
     @unlink("{$svnPath}/repository/hooks/post-commit");
     symlink("{$svnPath}/SVNROOT/post-commit", "{$svnPath}/repository/hooks/post-commit");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.