From 431656546e6e91e7240abd78d54fa0dc63f4db9f Mon Sep 17 00:00:00 2001
From: Rob Vermaas <rob.vermaas@gmail.com>
Date: Tue, 19 Oct 2010 08:34:13 +0000
Subject: [PATCH] hydra: disallow robots.txt for root and project all builds
 page

---
 src/lib/Hydra/Controller/Root.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm
index 3d3a7994..e7e7cf62 100644
--- a/src/lib/Hydra/Controller/Root.pm
+++ b/src/lib/Hydra/Controller/Root.pm
@@ -147,6 +147,8 @@ sub robots_txt : Path('robots.txt') {
         , uri_for('Build', 'view_log', ["*"])
         , uri_for('Root', 'nar', [], "*")
         , uri_for('Root', 'status', [])
+        , uri_for('Root', 'all', [])
+        , uri_for('Project', 'all', ["*"])
         , channelUris('Root', ["*"])
         , channelUris('Project', ["*", "*"])
         , channelUris('Jobset', ["*", "*", "*"])