Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-09-13 14:37:21


Author: grafik
Date: 2007-09-13 14:37:21 EDT (Thu, 13 Sep 2007)
New Revision: 39241
URL: http://svn.boost.org/trac/boost/changeset/39241

Log:
Fix some missing content from testing result ZIPs.
Text files modified:
   website/public_html/beta/common/code/archive_file.php | 3 ++-
   website/public_html/beta/development/testing_results.php | 8 +++++++-
   2 files changed, 9 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/common/code/archive_file.php
==============================================================================
--- website/public_html/beta/common/code/archive_file.php (original)
+++ website/public_html/beta/common/code/archive_file.php 2007-09-13 14:37:21 EDT (Thu, 13 Sep 2007)
@@ -19,6 +19,7 @@
     function archive_file(
         $pattern,
         $vpath,
+ $get_as_raw = false,
         $archive_subdir = true,
         $archive_prefix = ARCHIVE_PREFIX,
         $archive_file_prefix = ARCHIVE_FILE_PREFIX)
@@ -78,7 +79,7 @@
             header("HTTP/1.0 404 Not Found");
             $this->extractor_ = 'raw';
         }
- else if ($this->extractor_ == 'raw')
+ else if ($get_as_raw || $this->extractor_ == 'raw')
         {
             $this->_extract_raw($unzip);
             //~ print "--- $unzip";

Modified: website/public_html/beta/development/testing_results.php
==============================================================================
--- website/public_html/beta/development/testing_results.php (original)
+++ website/public_html/beta/development/testing_results.php 2007-09-13 14:37:21 EDT (Thu, 13 Sep 2007)
@@ -1,5 +1,11 @@
 <?php
 require_once(dirname(__FILE__) . '/../common/code/archive_file.php');
 
-$_file = new archive_file('/^[\/]([^\/]+)[\/](.*)$/',$_SERVER["PATH_INFO"],false,RESULTS_DIR."/","");
+$_file = new archive_file(
+ '/^[\/]([^\/]+)[\/](.*)$/',$_SERVER["PATH_INFO"],
+ true, // we always want raw output
+ false, // the result zips don't have the tag subdir
+ RESULTS_DIR."/",
+ ""
+ );
 ?>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk