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/07/20 15:33:34 UTC

[whimsy] branch master updated: Use library svn path method

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 83b4a8b  Use library svn path method
83b4a8b is described below

commit 83b4a8b87055f804ae06a77036c89a57db0e933e
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jul 20 16:33:25 2020 +0100

    Use library svn path method
---
 www/board/agenda/views/actions/todos.json.rb | 2 +-
 www/board/subscriptions.cgi                  | 6 +++---
 www/brand/replyedit.cgi                      | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index a9fa719..9515ce6 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -189,7 +189,7 @@ if (@change || @establish) and env.password
       body "Dear new PMC chairs,\n\nCongratulations on your new role at " +
       "Apache. I've changed your LDAP privileges to reflect your new " +
       "status.\n\nPlease read this and update the foundation records:\n" +
-      "https://svn.apache.org/repos/private/foundation/officers/advice-for-new-pmc-chairs.txt" +
+      "#{ASF::SVN.svnpath!('officers', 'advice-for-new-pmc-chairs.txt')}" +
       "\n\nWarm regards,\n\n#{sender.public_name}"
     end
 
diff --git a/www/board/subscriptions.cgi b/www/board/subscriptions.cgi
index 275b441..9b3440a 100755
--- a/www/board/subscriptions.cgi
+++ b/www/board/subscriptions.cgi
@@ -28,9 +28,9 @@ _html do
           _ "This script takes the list of subscribers (updated #{modtime}) to "
           _a 'board@apache.org', href: 'https://mail-search.apache.org/members/private-arch/board/'
           _ ' which are matched against '
-          _a 'members.txt', href: 'https://svn.apache.org/repos/private/foundation/members.txt'
+          _a 'members.txt', href: ASF::SVN.svnpath!('foundation', 'members.txt')
           _ ', '
-          _a 'iclas.txt', href: 'https://svn.apache.org/repos/private/foundation/officers/iclas.txt'
+          _a 'iclas.txt', href: ASF::SVN.svnpath!('officers', 'iclas.txt')
           _ ', and '
           _code 'ldapsearch mail'
           _ ' to match each email address to an Apache ID.  '
@@ -47,7 +47,7 @@ _html do
         end
         _p! do
           _ 'The resulting list is then cross-checked against '
-          _a 'committee-info.text', href: 'https://svn.apache.org/repos/private/committers/board/committee-info.txt'
+          _a 'committee-info.text', href: ASF::SVN.svnpath!('board', 'committee-info.txt')
           _ ' and '
           _code 'ldapsearch cn=pmc-chairs'
           _ '.  Membership that is only listed in one of these two sources is '
diff --git a/www/brand/replyedit.cgi b/www/brand/replyedit.cgi
index b4fc49a..c0140b4 100755
--- a/www/brand/replyedit.cgi
+++ b/www/brand/replyedit.cgi
@@ -12,7 +12,7 @@ _html do
       title: PAGETITLE,
       related: {
         "https://www.apache.org/foundation/marks/resources" => "Trademark Site Map",
-        "https://svn.apache.org/repos/private/foundation/Brand/runbook.txt" => "Members-only Trademark runbook",
+        ASF::SVN.svnpath!('foundation', 'Brand', 'runbook.txt') => "Members-only Trademark runbook",
         "https://lists.apache.org/list.html?trademarks@apache.org" => "Ponymail interface to trademarks@"
       },
       helpblock: -> {
@@ -20,7 +20,7 @@ _html do
           _ 'This is a wireframe '
           _strong 'DEMO'
           _ ' of a proposed editing ui for Boilerplate Reply to a previously selected question. See '
-          _a 'Proposed how to reply guide', href: 'https://svn.apache.org/repos/private/foundation/Brand/replies-readme.md'
+          _a 'Proposed how to reply guide', href: ASF::SVN.svnpath!('foundation', 'Brand', 'replies-readme.md')
         end
         _p do
           _ 'This would allow the user to edit the selected boilerplate reply, including options of how/when to send, and a button to actually submit a reply for sending. '