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: Allow for badly wrapped Comments
Date Wed, 09 Jan 2019 15:15:43 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 d07c523  Allow for badly wrapped Comments
d07c523 is described below

commit d07c52325f9077cc30f5d3233040d97c72f6f273
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Jan 9 08:56:24 2019 +0000

    Allow for badly wrapped Comments
---
 www/incubator/signoff.cgi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/incubator/signoff.cgi b/www/incubator/signoff.cgi
index c1db5bf..b120368 100755
--- a/www/incubator/signoff.cgi
+++ b/www/incubator/signoff.cgi
@@ -52,6 +52,8 @@ def get_mentor_signoffs()
     signoffs.scan(/\[(.+?)\]\((.*?)\) (.*)/).each do |check, podling, name|
       name.strip!
       podling.strip!
+      # allow for reports where comments have been joined to the previous line
+      name.sub! %r{ Comments:.*}, ''
       name.sub! /\s+\(.*?\)/, ''
       
       mentors[name] = [] unless mentors[name]


Mime
View raw message