From dda064bc8c4343f7dc1c5ea82a5c3a37b8b7d59d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 30 Jul 2010 10:17:47 +0000 Subject: [PATCH] hydra: nar was replaced, so also move in robots.txt --- src/lib/Hydra/Controller/Root.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm index c1609e47..41927ce7 100644 --- a/src/lib/Hydra/Controller/Root.pm +++ b/src/lib/Hydra/Controller/Root.pm @@ -115,7 +115,6 @@ sub robots_txt : Path('robots.txt') { return ( uri_for($controller, 'closure', $bindings, "*") , uri_for($controller, 'manifest', $bindings) - , uri_for($controller, 'nar', $bindings, "*") , uri_for($controller, 'pkg', $bindings, "*") , uri_for($controller, 'nixexprs', $bindings) , uri_for($controller, 'channel_contents', $bindings) @@ -132,6 +131,7 @@ sub robots_txt : Path('robots.txt') { , uri_for('Build', 'view_nixlog', ["*"], "*") , uri_for('Build', 'view_log', ["*"], "*") , uri_for('Build', 'view_log', ["*"]) + , uri_for('Root', 'nar', [], "*") , channelUris('Root', ["*"]) , channelUris('Project', ["*", "*"]) , channelUris('Jobset', ["*", "*", "*"])