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 17b265e  Use the new short identifier for SVN access
17b265e is described below

commit 17b265e9ecfbc9885f9c5ebb8941c0b455a18cd0
Author: Sebb <[email protected]>
AuthorDate: Mon Apr 30 21:04:54 2018 +0100

    Use the new short identifier for SVN access
---
 www/roster/models/committee.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 885a795..345cc84 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -15,11 +15,11 @@ class Committee
       list =~ /^#{pmc.mail_list}\b/
     end
 
-    comdev = 
ASF::SVN['asf/comdev/projects.apache.org/trunk/site/json/foundation']
-    info = JSON.parse(File.read("#{comdev}/projects.json"))[id]
+    comdev = ASF::SVN['comdev-foundation']
+    info = JSON.parse(File.read(File.join(comdev, 'projects.json')))[id]
 
-    image_dir = ASF::SVN.find('asf/infrastructure/site/trunk/content/img')
-    image = Dir["#{image_dir}/#{id}.*"].map {|path| File.basename(path)}.last
+    image_dir = ASF::SVN.find('site-img')
+    image = Dir[File.join(image_dir, "#{id}.*")].map {|path| 
File.basename(path)}.last
 
     moderators = nil
     pSubs = Array.new # private@ subscribers

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to