whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: ensure that there is white space after flagged reports
Date Mon, 15 Jan 2018 13:59:27 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 30e06ef  ensure that there is white space after flagged reports
30e06ef is described below

commit 30e06ef0319d70eb9abac5718bf3e040a2895feb
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Jan 15 08:59:01 2018 -0500

    ensure that there is white space after flagged reports
---
 www/board/agenda/views/actions/commit.json.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/board/agenda/views/actions/commit.json.rb b/www/board/agenda/views/actions/commit.json.rb
index 29a0972..f9d3aa2 100644
--- a/www/board/agenda/views/actions/commit.json.rb
+++ b/www/board/agenda/views/actions/commit.json.rb
@@ -112,6 +112,7 @@ Agenda.update(agenda_file, @message) do |agenda|
           flags.gsub! /\n +# .*? \[.*\]/, ''
           flags[/discussion:\n\n()/, 1] = flagged_reports.sort.
             map {|pmc, who| "        # #{pmc} [#{who.join(', ')}]\n"}.join
+          flags.sub!(/\n+(\s+)A\.\z/) {"\n\n#{$1}A."}
         end
 
         flags

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message