pajoye          Fri Aug  8 10:12:34 2008 UTC

  Modified files:              
    /php-internals-win/script   snapshot.bat 
  Log:
  - add leading zero to the hour, quiet mode for pscp and start a fresh log 
instad of appending to the existing one
  
http://cvs.php.net/viewvc.cgi/php-internals-win/script/snapshot.bat?r1=1.3&r2=1.4&diff_format=u
Index: php-internals-win/script/snapshot.bat
diff -u php-internals-win/script/snapshot.bat:1.3 
php-internals-win/script/snapshot.bat:1.4
--- php-internals-win/script/snapshot.bat:1.3   Thu Aug  7 20:16:01 2008
+++ php-internals-win/script/snapshot.bat       Fri Aug  8 10:12:34 2008
@@ -40,7 +40,7 @@
 
 :CVS
 
-cvs -d :pserver:[EMAIL PROTECTED]:/repository -z3 checkout -r %BRANCH% -d 
%DEST% php5 >> %START%\cvs.log 2<&1
+cvs -d :pserver:[EMAIL PROTECTED]:/repository -z3 checkout -r %BRANCH% -d 
%DEST% php5 > %START%\cvs.log 2<&1
 echo Testing %DEST%...
 IF EXIST %DEST% GOTO DEST_EXISTS 
 ECHO CVS ERROR 
@@ -49,15 +49,15 @@
 
 cd %DEST%
 
-call buildconf.bat >> %START%\buildconf.log 2<&1
+call buildconf.bat > %START%\buildconf.log 2<&1
 call configure.bat --enable-snapshot-build --enable-debug-pack 
--disable-fileinfo --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared 
--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared 
--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared > 
%START%\compile.log 2<&1
 
-nmake snap >> %START%\compile.log 2<&1
+nmake snap > %START%\compile.log 2<&1
 
 :TRANSFERT
 FOR /F "tokens=*" %%A IN ('Release_TS\\php.exe -r "echo 
substr(phpversion(),0,3);"') DO SET _PHPVERSION_SHORT=%%A
 FOR /F "tokens=*" %%A IN ('Release_TS\\php.exe -r "echo phpversion();"') DO 
SET _PHPVERSION_STRING=%%A
-FOR /F "tokens=*" %%A IN ('Release_TS\\php.exe -r "echo date('YmdGi');"') DO 
SET SNAPDATETIME=%%A
+FOR /F "tokens=*" %%A IN ('Release_TS\\php.exe -r "echo date('YmdHi');"') DO 
SET SNAPDATETIME=%%A
 
 SET PHP_ZIP_FILE=Release_TS\php-%_PHPVERSION_STRING%-Win32.zip
 copy %PHP_ZIP_FILE% %START%\php%_PHPVERSION_SHORT%-win32-%SNAPDATETIME%.zip
@@ -68,16 +68,17 @@
 REM Using -i now
 REM "%PUTTYBASE%pageant.exe" %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk
 "%PUTTYBASE%plink.exe" -batch -l %REMOTE_USER% -m 
%PHP_SDK_PATH%script\snap_delete_old.sh snaps.php.net
-"%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk 
-l %REMOTE_USER% 
%START%\php%_PHPVERSION_SHORT%-dbgpack-win32-%SNAPDATETIME%.zip 
%SSH_URL%:%REMOTE_PATH%
-"%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk 
-l %REMOTE_USER% %START%\php%_PHPVERSION_SHORT%-win32-%SNAPDATETIME%.zip 
%SSH_URL%:%REMOTE_PATH%
-"%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk 
-l %REMOTE_USER% %START%\compile.log 
%SSH_URL%:%REMOTE_PATH%/compile-%_PHPVERSION_SHORT%.log
-"%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk 
-l %REMOTE_USER% %START%\cvs.log 
%SSH_URL%:%REMOTE_PATH%/cvs-%_PHPVERSION_SHORT%.log
-"%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk 
-l %REMOTE_USER% %START%\buildconf.log 
%SSH_URL%:%REMOTE_PATH%/buildconf-%_PHPVERSION_SHORT%.log
-del %PHP_SDK_PATH%\snaps.lock
+"%PUTTYBASE%pscp.exe" -batch -q -i 
%PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% 
%START%\php%_PHPVERSION_SHORT%-dbgpack-win32-%SNAPDATETIME%.zip 
%SSH_URL%:%REMOTE_PATH%
+"%PUTTYBASE%pscp.exe" -batch -q -i 
%PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% 
%START%\php%_PHPVERSION_SHORT%-win32-%SNAPDATETIME%.zip %SSH_URL%:%REMOTE_PATH%
+"%PUTTYBASE%pscp.exe" -batch -q -i 
%PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% 
%START%\compile.log %SSH_URL%:%REMOTE_PATH%/compile-%_PHPVERSION_SHORT%.log
+"%PUTTYBASE%pscp.exe" -batch -q -i 
%PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% %START%\cvs.log 
%SSH_URL%:%REMOTE_PATH%/cvs-%_PHPVERSION_SHORT%.log
+"%PUTTYBASE%pscp.exe" -batch -q -i 
%PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% 
%START%\buildconf.log %SSH_URL%:%REMOTE_PATH%/buildconf-%_PHPVERSION_SHORT%.log
+
 GOTO EXIT
 
 :HELP
 ECHO snapshot ^<VC version^> ^<branch/tag^> ^<destination^>
 
 :EXIT
+del %PHP_SDK_PATH%\snaps.lock
 cd %START%



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to