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 2018/09/10 23:52:35 UTC
[whimsy] branch master updated: Time stamp is now last run again
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 7b9a836 Time stamp is now last run again
7b9a836 is described below
commit 7b9a8360d2ca80aba5ceb1e133fd0d7290bb0c27
Author: Sebb <se...@apache.org>
AuthorDate: Tue Sep 11 00:52:34 2018 +0100
Time stamp is now last run again
---
tools/collate_minutes.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 549bc0d..8baf82c 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -93,6 +93,7 @@ if File.exist? INDEX_FILE
# Add stamp to index page
page = File.read(INDEX_FILE)
open(INDEX_FILE, 'w') { |file|
+ # must agree with section.add_child
file.write page.sub(/(Last run: )\d{4}-\d\d-\d\d \d\d:\d\d(\. The data is extracted from a list of)/,"\\1#{STAMP}\\2")
}
exit
@@ -749,7 +750,8 @@ def layout(title = nil)
if title
x.text! "This was extracted (@ #{STAMP}) from a list of"
else # main index, which is always replaced if any input files have changed
- x.text! "Last changed: #{STAMP}. The data is extracted from a list of"
+ # text below must agree with code that updates the index when no changes have occurred
+ x.text! "Last run: #{STAMP}. The data is extracted from a list of"
end
x.a 'minutes', :href => 'http://www.apache.org/foundation/records/minutes/'
x.text! "which have been approved by the Board."