Bug 408019 GMF Notation git website request
diff --git a/_projectCommon.php b/_projectCommon.php
index d05b468..e89f5e6 100644
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -14,6 +14,7 @@
$PR = "gmf-notation";
$projectName = "GMF Notation";
+$topLevel = "modeling/gmp";
$debug = (isset ($_GET["debug"]) && preg_match("/^\d+$/", $_GET["debug"]) ? $_GET["debug"] : -1);
diff --git a/downloads/downloads-common.php b/downloads/downloads-common.php
index afa6067..3456416 100644
--- a/downloads/downloads-common.php
+++ b/downloads/downloads-common.php
@@ -72,7 +72,7 @@
$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/modeling/gmp/$PR/downloads/drops";
+$PWD = "/home/data2/httpd/download.eclipse.org/$topLevel/$PR/downloads/drops";
$downloadScript = getdownloadScript();
$downloadPre = "";
@@ -154,6 +154,7 @@
if (isset($oldrels) && is_array($oldrels) && sizeof($oldrels) > 0)
{
showArchived($oldrels);
+ showNotes();
}
print "</div>\n";
?>
diff --git a/downloads/downloads-scripts.php b/downloads/downloads-scripts.php
index 911024e..9e175ab 100644
--- a/downloads/downloads-scripts.php
+++ b/downloads/downloads-scripts.php
@@ -468,7 +468,7 @@
global $downloadScript, $downloadPre, $PR, $proj;
$out = "";
- $mid = "$downloadPre/modeling/gmp/$proj/downloads/drops/"; // new for www.eclipse.org centralized download.php script
+ $mid = "$downloadPre/$topLevel/$proj/downloads/drops/";
$md5files = array("$url.md5", preg_replace("#/([^/]+$)#", "/checksum/$1", $url) . ".md5");
foreach ($md5files as $md5file)
{