public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] htdocs: add bse href, add robots.txt and testruns link
@ 2022-07-02 23:07 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2022-07-02 23:07 UTC (permalink / raw)
  To: buildbot; +Cc: Mark Wielaard

Add base href to make local hacking easier.
Add robots.txt to keep crawlers out.
Add bunsen testruns link and icon explanation.
---
 htdocs/index.html.pre | 11 ++++++++++-
 htdocs/robots.txt     |  3 +++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 htdocs/robots.txt

diff --git a/htdocs/index.html.pre b/htdocs/index.html.pre
index f0502b5..dcb377a 100644
--- a/htdocs/index.html.pre
+++ b/htdocs/index.html.pre
@@ -6,6 +6,7 @@
     <meta name="description" content="Sourceware GNU Toolchain buildbot">
     <meta name="keywords" content="sourceware gnu toolchain buildbot">
     <link href="default.css" rel="stylesheet" type="text/css">
+    <base href="https://builder.sourceware.org/">
     <title>GNU Toolchain sourceware buildbot</title>
   </head>
   <body>
@@ -21,7 +22,15 @@
 
     <h2>buildbot</h2>
     <p>
-      The <a href="/buildbot/">buildbot</a> (<em>note:</em> uses javascript and websockets).
+      The <a rel="nofollow" href="/buildbot/">buildbot</a>
+      (<em>note:</em> uses javascript and websockets).
+    </p>
+    <p>
+      The <a rel="nofollow" href="/testruns/">
+        <img width="16" height="16" src="/testruns/favicon.ico"/>
+        bunsen testrun logs</a>
+      (click the <img width="16" height="16" src="/testruns/favicon.ico"/>
+       below for per project or builder logs).
     </p>
     <p>
     The builder git config files:
diff --git a/htdocs/robots.txt b/htdocs/robots.txt
new file mode 100644
index 0000000..0c75670
--- /dev/null
+++ b/htdocs/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Disallow: /buildbot/
+Disallow: /testruns/
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-02 23:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-02 23:07 [COMMITTED] htdocs: add bse href, add robots.txt and testruns link Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).