You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2019/11/12 21:48:32 UTC

[whimsy] branch master updated: allow for multiple pound and a single space chars

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 <ru...@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!