You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/11 13:53:44 UTC

[whimsy] branch master updated: Expose iclas.txt URL

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 36a532e  Expose iclas.txt URL
36a532e is described below

commit 36a532e8d65978fca83d75e84c90271deef0b0b6
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jun 11 14:53:35 2020 +0100

    Expose iclas.txt URL
---
 lib/whimsy/asf/icla.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/whimsy/asf/icla.rb b/lib/whimsy/asf/icla.rb
index 7142c2c..b14864a 100644
--- a/lib/whimsy/asf/icla.rb
+++ b/lib/whimsy/asf/icla.rb
@@ -37,6 +37,10 @@ module ASF
     # location of the iclas.txt file; may be <tt>nil</tt> if not found.
     SOURCE = OFFICERS ? File.join(OFFICERS, 'iclas.txt') : nil
 
+    _officers_url = ASF::SVN.svnurl('officers') # not intended for external use
+
+    SOURCE_URL = _officers_url ? File.join(_officers_url, 'iclas.txt') : nil
+
     # flush caches if source file changed
     def self.refresh
       if not SOURCE or File.mtime(SOURCE) != @@mtime