diff options
author | Roland Grunberg | 2017-02-03 15:06:40 +0000 |
---|---|---|
committer | Roland Grunberg | 2017-02-03 15:08:15 +0000 |
commit | 22d18bd46914f7f4ca37a15855df0f246f44e0b0 (patch) | |
tree | 0fcf8185b494c0711e34023266630b0695823278 | |
parent | 6d38141bc617b62e6d16f61881a6e404d7bbca2d (diff) | |
download | orbit-22d18bd46914f7f4ca37a15855df0f246f44e0b0.tar.gz orbit-22d18bd46914f7f4ca37a15855df0f246f44e0b0.tar.xz orbit-22d18bd46914f7f4ca37a15855df0f246f44e0b0.zip |
Display CBI Repository Analysis Reports, if folder is present.
- Also, display the zip file size in human readable format as before.
-rw-r--r-- | scripts/iplog.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/iplog.php b/scripts/iplog.php index ca60b9a..a858b79 100644 --- a/scripts/iplog.php +++ b/scripts/iplog.php @@ -32,6 +32,11 @@ if (isset($_GET['buildURL'])) { $buildURL = $_GET['buildURL']; } +$displayablezipfilesize="(0M)"; +if (isset($_GET['zipFileSize'])) { + $displayablezipfilesize = $_GET['zipFileSize']; +} + $pageTitle="Orbit Build $buildlabel"; require $relativePath."/commonFiles/DL.header.php.html"; @@ -187,6 +192,11 @@ if (!file_exists($failedEarlyfile)) { echo "<img class=\"cs\" alt=\"Checks Ok\" src=\"".$relativePath."/commonFiles/Checkmark.gif\" />" ."IP Log XML File Checks: Ok <br />\n"; } + $reporeports="repository/buildlogs/reporeports"; + if (file_exists($reporeports)) { + echo "<a href=\"repository/buildlogs/reporeports/\">CBI Repository Analysis Reports</a><br />\n"; + } + echo "</p>\n"; $currentPageURLSegments = $repoPath; @@ -199,7 +209,6 @@ if (file_exists("repository/index.xml.gz")) { echo "<a href=\"${currentPageURLSegments}repository/index.xml.gz\">${currentPageURLSegments}repository/index.xml.gz</a></p>"; } - $displayablezipfilesize=fileSizeForDisplay("orbit-buildrepo-$buildlabel.zip"); echo "<h2>Zipped Orbit Build Repository</h2>"; echo "<p>The following zip file is a compressed-archive version of the above repository, for those that need or desire to have a copy of the whole repository on their local machine:<br />"; |