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: allow for multiple pound and a single space chars
Date Tue, 12 Nov 2019 21:48:32 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 f9efa8d  allow for multiple pound and a single space chars
f9efa8d is described below

commit f9efa8d4ad72b1df486602b5a579f2f34782e5eb
Author: Sam Ruby <rubys@rubyimac.local>
AuthorDate: Tue Nov 12 16:47:56 2019 -0500

    allow for multiple pound and a single space chars
---
 www/incubator/signoff.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/incubator/signoff.cgi b/www/incubator/signoff.cgi
index a6ad15e..8f8571d 100755
--- a/www/incubator/signoff.cgi
+++ b/www/incubator/signoff.cgi
@@ -48,7 +48,7 @@ def get_mentor_signoffs()
   agendas.each do |file|
     date = file[/\d+_\d+_\d+/].gsub('_', '-')
     agenda = File.read(file)
-    signoffs = agenda.scan(/^Signed-off-by:\s+.*?\n\n/m).join
+    signoffs = agenda.scan(/^#* ?Signed-off-by:\s+.*?\n\n/m).join
     signoffs.scan(/\[(.+?)\]\((.*?)\) (.*)/).each do |check, podling, name|
       name.strip!
       podling.strip!


Mime
View raw message