Skip to content
Snippets Groups Projects
Commit c087eb83 authored by david_williams's avatar david_williams
Browse files

expose zipped repos

parent ec22ecc6
No related branches found
No related tags found
No related merge requests found
......@@ -853,6 +853,71 @@ if (file_exists("./perfresults/graph/performance.php"))
</tr>
</table>
$bellwether_name="repos";
if (file_exists($bellwether_name)) {
// if-then-include section
// include this whole section if (and only if) the bellwether file exists.
// For example, it may not exist on builds for "old" streams.
?>
<table border=0 cellspacing=2 cellpadding=2 width="100%">
<tr>
<td align=left valign=top colspan="2" bgcolor="#0080C0"><font
face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">P2 repositories in zipped format files.</font></td>
</tr>
<tr>
<td>
<table border=0 cellspacing=2 cellpadding=2 width="40%" align="left">
<?php
$zipfilename=$bellwether_name."/@zipprefix@-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="@shortname@";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
$zipfilename=$bellwether_name."/@zipprefix@_sdk-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="@shortname@ sdk";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
$zipfilename="$bellwether_name."/@zipprefix@_tests-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="@shortname@ tests";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
?>
</table>
</tr>
</table>
<?php } ?>
<!-- footer -->
......
......@@ -853,6 +853,71 @@ if (file_exists("./perfresults/graph/performance.php"))
</tr>
</table>
$bellwether_name="repos";
if (file_exists($bellwether_name)) {
// if-then-include section
// include this whole section if (and only if) the bellwether file exists.
// For example, it may not exist on builds for "old" streams.
?>
<table border=0 cellspacing=2 cellpadding=2 width="100%">
<tr>
<td align=left valign=top colspan="2" bgcolor="#0080C0"><font
face="'Bitstream Vera',Helvetica,Arial" color="#FFFFFF">P2 repositories in zipped format files.</font></td>
</tr>
<tr>
<td>
<table border=0 cellspacing=2 cellpadding=2 width="40%" align="left">
<?php
$zipfilename=$bellwether_name."/wtp-jsdt-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="jsdt";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
$zipfilename=$bellwether_name."/wtp-jsdt_sdk-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="jsdt sdk";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
$zipfilename="$bellwether_name."/wtp-jsdt_tests-buildrepo-$build";
$filename=$zipfilename.".zip";
if (file_exists($filename)) {
echo "<tr>";
$zipfilesize=fileSizeForDisplay($filename);
$fileShortDescription="jsdt tests";
displayRepoFileLine($downloadprefix, $filename, $zipfilesize, $fileShortDescription);
echo "</tr>";
}
?>
</table>
</tr>
</table>
<?php } ?>
<!-- footer -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment