whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit 61faf65: SVN copy is no longer in use - see INFRA-11452
Date Tue, 15 Mar 2016 16:09:06 GMT
Commit 61faf652b7fb92999f81783407f95cd36c215097:
    SVN copy is no longer in use - see INFRA-11452


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@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").

Mime
View raw message