Commit 61faf652b7fb92999f81783407f95cd36c215097:
SVN copy is no longer in use - see INFRA-11452
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
lib/whimsy/asf/auth.rb | +++ -
------------------------------------------------------------
4 changes: 3 additions, 1 deletions.
------------------------------------------------------------
diff --git a/lib/whimsy/asf/auth.rb b/lib/whimsy/asf/auth.rb
index 3febb40..00c52bb 100644
--- a/lib/whimsy/asf/auth.rb
+++ b/lib/whimsy/asf/auth.rb
@@ -12,11 +12,13 @@ def initialize(file='asf')
end
def each
+ # TODO - should this read the Git repo directly?
auth = ASF::Git.find('infrastructure-puppet')
if auth
auth += '/modules/subversion_server/files/authorization'
else
- auth = ASF::SVN['infra/infrastructure/trunk/subversion/authorization']
+ # SVN copy is no longer in use - see INFRA-11452
+ raise Exception.new("Cannot find Git: infrastructure-puppet")
end
File.read("#{auth}/#{@file}-authorization-template").