You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/03/15 17:09:06 UTC
[whimsy.git] [1/1] Commit 61faf65: SVN copy is no longer in use - see INFRA-11452
Commit 61faf652b7fb92999f81783407f95cd36c215097:
SVN copy is no longer in use - see INFRA-11452
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>
------------------------------------------------------------
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").