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/10/11 13:53:13 UTC

[whimsy] branch master updated: Simplify

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 a5bf8eb  Simplify
a5bf8eb is described below

commit a5bf8ebf7b8abbe632911d3b19029f20e5d93a07
Author: Sebb <se...@apache.org>
AuthorDate: Sun Oct 11 14:52:57 2020 +0100

    Simplify
---
 tools/collate_minutes.rb | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index f7d2cc2..52d6eaa 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -33,22 +33,8 @@ SITE_MINUTES = ASF::Config.get(:board_minutes) ||
   File.expand_path('../../www/board/minutes', __FILE__)
 
 # list of SVN resources needed
-resources = {
-  SVN_SITE_RECORDS_MINUTES:
-    'asf/infrastructure/site/trunk/content/foundation/records/minutes',
-  BOARD: 'private/foundation/board'
-}
-
-# verify that the SVN resources can be found
-resources.each do |const, location|
-  Kernel.const_set const, ASF::SVN[location]
-  unless Kernel.const_get const
-    STDERR.puts 'Unable to locate local checkout for ' + location
-    exit 1
-  end
-end
-
-incubator = URI.parse('http://incubator.apache.org/')
+SVN_SITE_RECORDS_MINUTES = ASF::SVN['minutes']
+BOARD = ASF::SVN['foundation_board']
 
 KEEP = ARGV.delete '--keep' # keep obsolete files?
 
@@ -116,7 +102,7 @@ ASF::Podling.list.each do |podling|
   site[podling.name] = {
     name:   podling.display_name,
     status: podling.status,
-    link:   incubator + "projects/#{podling.name}.html",
+    link:   "http://incubator.apache.org/projects/#{podling.name}.html",
     text:   podling.description
   }
 end