This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch seconds-separator
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/seconds-separator by this push:
     new ce210b37 Explicitly add a seconds separator for new nominations
ce210b37 is described below

commit ce210b3795ac4c813e66cef98080224f85a2eb35
Author: Shane Curcuru <[email protected]>
AuthorDate: Wed Jan 29 07:51:10 2025 -0500

    Explicitly add a seconds separator for new nominations
    
    This is useful to make it clear to readers where an original nominator's 
statement ends, and any comments from seconds are.
    I'd appreciate a review, just to ensure it doesn't break anything 
different; we definitely need this separator added for our meeting process.
---
 lib/whimsy/asf/member-files.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/whimsy/asf/member-files.rb b/lib/whimsy/asf/member-files.rb
index 5ce45982..5672bc12 100644
--- a/lib/whimsy/asf/member-files.rb
+++ b/lib/whimsy/asf/member-files.rb
@@ -37,6 +37,7 @@ module ASF
       \s*Nomination\ [sS]tatement:\s*?\r?\n+(?<statement>.*)\z
       }mx
 
+    SECONDS_SEPARATOR = '*** Seconds (if any; include your id) ***'
     # get the latest meeting directory or nomination file
     def self.latest_meeting(name=nil)
       if name.nil? # we want the parent directory
@@ -130,6 +131,8 @@ module ASF
         '',
         '   Nomination Statement:',
         ASFString.reflow(statement, 4, 80),
+        '',
+        SECONDS_SEPARATOR,
         ''
       ].compact.join("\n") + "\n"
     end
@@ -151,6 +154,8 @@ module ASF
         '',
         '   Nomination Statement:',
         ASFString.reflow(statement, 4, 80),
+        '',
+        SECONDS_SEPARATOR,
         ''
       ].compact.join("\n") + "\n"
     end

Reply via email to