diff options
Diffstat (limited to 'production/downloadsites/eclipse/downloads/createIndex4x.php')
-rw-r--r-- | production/downloadsites/eclipse/downloads/createIndex4x.php | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/production/downloadsites/eclipse/downloads/createIndex4x.php b/production/downloadsites/eclipse/downloads/createIndex4x.php index ef09b3972..742550177 100644 --- a/production/downloadsites/eclipse/downloads/createIndex4x.php +++ b/production/downloadsites/eclipse/downloads/createIndex4x.php @@ -45,7 +45,7 @@ out the Eclipse Project FAQ,</a> or try posting a question to the <a href="https The <a href="http://archive.eclipse.org/eclipse/downloads/">archive site</a> contains older releases (including the last 3.x version, <a href="http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/">3.8.2</a>). For reference, see also <a href="https://wiki.eclipse.org/Eclipse_Project_Update_Sites">the p2 repositories provided</a>, -<a href="build_types.html">meaning of kinds of builds</a> (P,M,N,I,S, and R), and the +<a href="build_types.html">meaning of kinds of builds</a> (P,M,I,S, and R), and the <a href="https://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>. </p> <table class="downloads"> @@ -193,6 +193,10 @@ function printBuildColumns($fileName, $parts) { $buildimage="build_done.gif"; $buildalt="Build is available"; } + if (file_exists("$dropDir/buildUnstable")) { + $buildimage="caution.gif"; + $buildalt="Build is unstable"; + } echo "<a href=\"$dropDir/\"><img style=\"border:0px\" src=\"../images/$buildimage\" title=\"$buildalt\" alt=\"$buildalt\" /></a>\n"; // set to zero globally, but computed in calcTestConfigsRan @@ -372,7 +376,17 @@ foreach($dropType as $value) { // 2) the "title bar" of remaining sections. // In other words dlconfig4.php would have to be expanded if we ever wanted // "tool tip" and "section title" to be (slightly) different from each other. - echo "<td class=\"name\"><a href=\"$subdirDrops/$fileName/\" title=\"$value\">$buildName</a></td>\n"; + echo "<td class=\"name\">\n"; + if (file_exists($subdirDrops."/".$fileName."/buildUnstable")) { + $buildimage="caution.gif"; + $buildalt="Build is unstable"; + echo "<img style=\"border:0px\" src=\"../images/$buildimage\" title=\"$buildalt\" alt=\"$buildalt\" />\n"; + } + echo "<a href=\"$subdirDrops/$fileName/\" title=\"$value\">$buildName\n"; + if (file_exists($subdirDrops."/".$fileName."/buildUnstable")) { + echo "</a><a href=\"https://wiki.eclipse.org/Platform-releng/Unstable_build\" title=\"Unstable Build\"><sup style='color:red;'> Unstable!</sup>\n"; + } + echo "</a></td>\n"; } $buildName = printBuildColumns($fileName, $parts); echo "<td class=\"date\">$timeStamps[$fileName]</td>\n"; @@ -417,9 +431,29 @@ foreach($dropType as $value) { echo "<tr>\n"; $buildName=$innerValue; if (count ($parts)==3) { - echo "<td class=\"name\"><a href=\"$subdirDrops/$innerValue/\">$parts[1]</a></td>\n"; + echo "<td class=\"name\">\n"; + if (file_exists($subdirDrops."/".$innerValue."/buildUnstable")) { + $buildimage="caution.gif"; + $buildalt="Build is unstable"; + echo "<img style=\"border:0px\" src=\"../images/$buildimage\" title=\"$buildalt\" alt=\"$buildalt\" />\n"; + } + echo "<a href=\"$subdirDrops/$innerValue/\">$parts[1]\n"; + if (file_exists($subdirDrops."/".$innerValue."/buildUnstable")) { + echo "</a><a href=\"https://wiki.eclipse.org/Platform-releng/Unstable_build\" title=\"Unstable Build\"><sup style='color:red;'> Unstable!</sup>\n"; + } + echo "</a></td>\n"; } else if (count ($parts)==2) { - echo "<td class=\"name\"><a href=\"$subdirDrops/$innerValue/\">$innerValue</a></td>\n"; + echo "<td class=\"name\">\n"; + if (file_exists($subdirDrops."/".$innerValue."/buildUnstable")) { + $buildimage="caution.gif"; + $buildalt="Build is unstable"; + echo "<img style=\"border:0px\" src=\"../images/$buildimage\" title=\"$buildalt\" alt=\"$buildalt\" />\n"; + } + echo "<a href=\"$subdirDrops/$innerValue/\">$innerValue\n"; + if (file_exists($subdirDrops."/".$innerValue."/buildUnstable")) { + echo "</a><a href=\"https://wiki.eclipse.org/Platform-releng/Unstable_build\" title=\"Unstable Build\"><sup style='color:red;'> Unstable!</sup>\n"; + } + echo "</a></td>\n"; } else { echo "<td class==\"name\">Unexpected numberof parts?</td>\n"; } |