Downloads Page: show release content drops
diff --git a/downloads/downloads-common.php b/downloads/downloads-common.php
index 7d16832..87a11df 100644
--- a/downloads/downloads-common.php
+++ b/downloads/downloads-common.php
@@ -22,12 +22,12 @@
$projects = array("gmf-tooling");
$PR = "gmf-tooling";
$topLevel = "modeling/gmp";
-$nodownloads=array();
-$extraprojects=array('');
+$nodownloads=array('gmf-tooling');
+$extraprojects=array('gmf-tooling');
$buildtypes = array("R"=>"Releases", "I"=>"Integration", "S"=>"Stable");
$PWD = '/home/data2/httpd/download.eclipse.org//modeling/gmp//'.$PR.'/downloads/drops';
+//$PWD = $_SERVER['DOCUMENT_ROOT'].'/gmf-tooling/downloads/drops';
-echo $PWD;
$dir_list = scandir($_SERVER['DOCUMENT_ROOT']);
@@ -91,15 +91,11 @@
$showMax = (isset($_GET["showMax"]) && preg_match("/^(\d+)$/", $_GET["showMax"], $regs) ? $regs[1] : ($sortBy == "date" ? "10" : "5"));
$showBuildResults = !isset($_GET["light"]) && !isset($_GET["nostatus"]); // suppress display of status to render page faster
-//$PWD = "/home/data2/httpd/download.eclipse.org/$topLevel/$PR/downloads/drops";
-//$PWD = $_SERVER["DOCUMENT_ROOT"] ."/$PR/downloads/drops";
-//$PWD = '/home/data/httpd/download.eclipse.org/'.$topLevel.'/'.$PR.'/downloads/drops';
-
$downloadScript = getdownloadScript($PR);
$downloadPre = "";
print "<div id=\"midcolumn\">\n";
-print "<h2>GMF Tooling P2 Repositories & SDK Dropins ([talons-1])</h2>\n";
+print "<h2>GMF Tooling P2 Repositories & SDK Dropins</h2>\n";
print "<p>This page provides a bundled P2 repository and different SDK dropins (in runnable form) for each build.</p>";
$branches = loadDirSimple($PWD, ".*", "d");
diff --git a/downloads/downloads-scripts.php b/downloads/downloads-scripts.php
index 2b226a7..b314a80 100644
--- a/downloads/downloads-scripts.php
+++ b/downloads/downloads-scripts.php
@@ -249,7 +249,7 @@
}
if ($echo_out) // if the whole category is empty, don't show it (eg., GEF)
{
- $echo_out_all .= "<li><img src=\"/modeling/images/dl.gif\" alt=\"Download\"/> $z\n<ul>\n" . $echo_out . "</ul>\n</li>\n";
+ $echo_out_all .= "<li><img src=\"/modeling/images/dl.gif\" alt=\"Download\"/> GMF Tooling\n<ul>\n" . $echo_out . "</ul>\n</li>\n";
}
}
}
diff --git a/downloads/index.php b/downloads/index.php
index 4fed460..5c510cf 100644
--- a/downloads/index.php
+++ b/downloads/index.php
@@ -24,29 +24,27 @@
/* zips that are allowed to be absent from the downloads page (eg., new ones added mid-stream) */
$extraZips = array(
- "gmf-examples-pde", "GMF-examples-pde", "gmf-xpand", "gmf-tooling-Update", "gmf-sdk", "gmf-sdk-experimental", "gmf-tests-experimental"
+ "gmf-examples-pde", "gmf-examples-pde", "gmf-xpand", "gmf-tooling-Update", "gmf-sdk", "gmf-sdk-experimental", "gmf-tests-experimental"
);
/* $project => sections/Project Name => (prettyname => filename) */
/* only required if using something other than the default 4; otherwise will be generated */
$dls = array(
- /*"/newProj" => array(
- "Project Name" => array( # same as value in _projectCommon.php's $projects array
+ "/gfm-tooling" => array( # same as value in _projectCommon.php's $projects array
"<acronym title=\"Click to download archived All-In-One p2 Repo Update Site\"><img alt=\"Click to download archived All-In-One p2 Repo Update Site\" src=\"/modeling/images/dl-icon-update-zip.gif\"/> <b style=\"color:green\">All-In-One Update Site</b></acronym>" => "Update",
"SDK (Runtime, Source)" => "SDK",
"Runtime" => "runtime",
"Examples" => "examples",
"Automated Tests" => "automated-tests"
- )
- ),*/
- "/gmf-tooling" => array(
+ ),
+ /*"/gmf-tooling" => array(
"GMF Tooling" => array(
"<acronym title=\"Click to download archived All-In-One p2 Repo Update Site\"><img alt=\"Click to download archived All-In-One p2 Repo Update Site\" src=\"/modeling/images/dl-icon-update-zip.gif\"/> <b style=\"color:green\">All-In-One Update Site</b></acronym>" => "Update",
"GMF Tooling Master" => "tooling-Master",
"GMF Tooling SDK" => "sdk-tooling",
"GMF Tooling" => "tooling",
)
- ),
+ ),*/
);
/* list of valid file prefixes for projects who have been renamed; keys have leading / to match $proj */
diff --git a/downloads/scripts.php b/downloads/scripts.php
index b27b037..843f375 100644
--- a/downloads/scripts.php
+++ b/downloads/scripts.php
@@ -8,7 +8,7 @@
return(!is_dir($PWD) || !is_readable($PWD) ||($suf == "logs" && !is_writable($PWD)));
}
-function getPWD($suf = "downloads/drops", $doDynCheck = true, $debug_echoPWD = 1) // set 0 to hide (for security purposes!)
+function getPWD($suf = "downloads/drops", $doDynCheck = true, $debug_echoPWD = 0) // set 0 to hide (for security purposes!)
{
global $PR, $App;