cvs: functable / update.all

[email protected] ("Hartmut Holzgraefe")
Newsgroups php.doc.web
Message-ID <cvshholzgra1157719841@cvsserver>
hholzgra		Fri Sep  8 12:50:41 2006 UTC

  Modified files:              
    /functable	update.all 
  Log:
  auto fetch release tags from CVS
  
  
http://cvs.php.net/viewvc.cgi/functable/update.all?r1=1.15&r2=1.16&diff_format=u
Index: functable/update.all
diff -u functable/update.all:1.15 functable/update.all:1.16
--- functable/update.all:1.15	Tue Mar  7 00:36:17 2006
+++ functable/update.all	Fri Sep  8 12:50:41 2006
@@ -18,7 +18,23 @@
 
 if [ $HAVE_CVS = 1 ] 
 then
-	
+  echo getting CVS head
+
+  if [ -d php_head ]
+  then
+      (cd php_head; cvs update 2>&1 | grep -v "^. php_head" | grep -v Updating)
+  else
+      cvs -d ":pserver:[email protected]:/repository" get -d php_head -r HEAD php-src
+  fi
+
+  echo updating version tag files
+  (cd php_head && cvs log buildconf | egrep 'php_[0-9]_[0-9]_[0-9]+:' | sed -e"s/:.*//" -e's/\t//' | sort -n > ../cvslog)
+  grep php_4 cvslog > ../version4.tags
+  grep php_5 cvslog > ../version5.tags
+
+  echo adding latest RC
+  (cd php_head && cvs log buildconf | grep "php_.*RC" | head -1 | sed -e"s/:.*//" -e's/\t//' | >> ../../version5.tags)    
+
 	echo getting previous releases
 	
 	# getting php3 releases
@@ -52,7 +68,7 @@
   then
     (cd php_4_cvs; cvs update 2>&1 | grep -v "^. php_4_cvs" | grep -v Updating)
   else
-    cvs -d ":pserver:[email protected]:/repository" get -d php_4_cvs -r PHP_4_3 php-src
+    cvs -d ":pserver:[email protected]:/repository" get -d php_4_cvs -r PHP_4_4 php-src
   fi
 
 
@@ -75,7 +91,7 @@
   then
     (cd php_5_cvs; cvs update 2>&1 | grep -v "^. php_5_cvs" | grep -v Updating)
   else
-    cvs -d ":pserver:[email protected]:/repository" get -d php_5_cvs -r PHP_5_1 php-src
+    cvs -d ":pserver:[email protected]:/repository" get -d php_5_cvs -r PHP_5_2 php-src
   fi
 
   # getting php6 latest developement snapshot
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.