svn: /web/php-rmtools/trunk/client/script/ snap.php

From: Date: Mon, 12 Dec 2011 13:21:08 +0000
Subject: svn: /web/php-rmtools/trunk/client/script/ snap.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12618@lists.php.net to get a copy of this message
pajoye Mon, 12 Dec 2011 13:21:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320893 Log: - upload test pack Changed paths: U web/php-rmtools/trunk/client/script/snap.php Modified: web/php-rmtools/trunk/client/script/snap.php =================================================================== --- web/php-rmtools/trunk/client/script/snap.php 2011-12-12 13:20:28 UTC (rev 320892) +++ web/php-rmtools/trunk/client/script/snap.php 2011-12-12 13:21:08 UTC (rev 320893) @@ -68,6 +68,7 @@ $build->buildconf(); $build->configure(); $build->make(); + $html_make_log = $build->getMakeLogParsed(); $build->makeArchive(); } catch (Exception $e) { echo $e->getMessage() . "\n"; @@ -83,6 +84,9 @@ if ($build->archive_path) { copy($build->debug_path, $toupload_dir . '/php-debug-pack-' . $branch_name_short . '-' . $build_name . '-r'. $last_rev . '.zip'); } + if ($build->test_path) { + copy($build->debug_path, $toupload_dir . '/php-test-pack-' . $branch_name_short . '-' . $build_name . '-r'. $last_rev . '.zip'); + } file_put_contents($toupload_dir . '/logs/buildconf-' . $build_name . '-r'. $last_rev . '.txt', $build->log_buildconf); file_put_contents($toupload_dir . '/logs/configure-' . $build_name . '-r'. $last_rev . '.txt', $build->log_configure); @@ -114,8 +118,8 @@ file_put_contents($toupload_dir . '/' . $json_filename, $json); rm\upload_build_result_ftp_curl($toupload_dir, $branch_name . '/r' . $last_rev); - $build->clean(); - rmdir($build_src_path); +// $build->clean(); +// rmdir($build_src_path); } } } @@ -125,13 +129,13 @@ } /*Upload the branch DB */ -rm\upload_file($branch->db_path, $branch_name . '/' . basename($branch->db_path)); +//rm\upload_file($branch->db_path, $branch_name . '/' . basename($branch->db_path)); if ($has_build_errors) { rm\send_error_notification($branch_name, $build_errors, $branch->getPreviousRevision(), $last_rev, 'http://windows.php.net/downloads/snaps/' . $branch_name . '/r' . $last_rev); } else { /* if no error, let update the snapshot page */ - rm\update_snapshot_page(); +// rm\update_snapshot_page(); } echo "Done.\n";

« previous php.webmaster (#12618) next »