whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Eliminate magic strings
Date Sun, 14 Jun 2020 11:33:12 GMT
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 71e16bc  Eliminate magic strings
71e16bc is described below

commit 71e16bcf699cd867f5e9ebe79a0bb4e2a7db2dd5
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Jun 14 12:33:02 2020 +0100

    Eliminate magic strings
---
 www/board/publish_minutes.cgi | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/board/publish_minutes.cgi b/www/board/publish_minutes.cgi
index aaf5597..0831852 100755
--- a/www/board/publish_minutes.cgi
+++ b/www/board/publish_minutes.cgi
@@ -14,11 +14,10 @@ unless secretary
   exit
 end
 
-CONTENT = 'asf/infrastructure/site/trunk/content'
-BOARD_SITE = ASF::SVN["#{CONTENT}/foundation/board"]
-MINUTES = ASF::SVN["#{CONTENT}/foundation/records/minutes"]
+BOARD_SITE = ASF::SVN['site-board']
+MINUTES = ASF::SVN['minutes']
 BOARD_PRIVATE = ASF::SVN['foundation_board']
-CALENDAR = "#{BOARD_SITE}/calendar.mdtext"
+CALENDAR = File.join(BOARD_SITE, 'calendar.mdtext')
 
 _html do
   _head do


Mime
View raw message