This makes it easier to figure out how to get plain text log files.
---
 fetch.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/fetch.php b/fetch.php
index 2e7bbbd..e30d305 100644
--- a/fetch.php
+++ b/fetch.php
@@ -51,11 +51,12 @@ if (!file_exists($path)) {
     echo color_text("log file cannot be opened!", true, $raw);
   } else {
 
-    $links = sprintf("%s → %s → %s → %s\n",
+    $links = sprintf("%s → %s → %s → %s (%s)\n",
                     sprintf("<a href=\"package.php?p=%s\">%s</a>", 
urlencode($pkg), $pkg),
                     logs_link($pkg, "", $ver, "", $ver),
                     logs_link($pkg, $arch, $ver, "", $arch),
-                    fdate($stamp)
+                    fdate($stamp),
+                    build_log_link($pkg, $arch, $ver, $stamp, 1, 'text'),
                     );
     ifecho($links);
 
-- 
2.11.0

Reply via email to