You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2023/03/01 22:40:41 UTC

[whimsy] branch master updated (44668447 -> fb9327b3)

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

sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


    from 44668447 Parse the proxies file once
     new 00ff5ed7 Docco
     new fb9327b3 Show nominee count

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 lib/whimsy/asf/meeting-util.rb | 6 ++++++
 www/members/meeting.cgi        | 7 +++++++
 2 files changed, 13 insertions(+)


[whimsy] 02/02: Show nominee count

Posted by se...@apache.org.
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

commit fb9327b3d5ba5042c0415eec2222fe9d27860418
Author: Sebb <se...@apache.org>
AuthorDate: Wed Mar 1 22:40:36 2023 +0000

    Show nominee count
---
 www/members/meeting.cgi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/members/meeting.cgi b/www/members/meeting.cgi
index 6bbdc585..f7854452 100755
--- a/www/members/meeting.cgi
+++ b/www/members/meeting.cgi
@@ -81,6 +81,7 @@ _html do
     today = Time.now
     # Calculate quorum
     num_members, quorum_need, num_proxies, attend_irc = ASF::MeetingUtil.calculate_quorum(cur_mtg_dir)
+    proxy_nominees = ASF::MeetingUtil.getProxyNominees.count
     # Use ics files for accurate times; see create-meeting.rb; note change in process 2022/2023
     ics_date = ics2dtstart(File.join(cur_mtg_dir, ICS_FILE))
     ROSTER = "/roster/committer"
@@ -145,6 +146,12 @@ _html do
             _ " Members attending the first half of the meeting on Tuesday and respond to Roll Call to reach quorum and continue the meeting."
             _ " Calculation: Total voting members: #{num_members}, with one third for quorum: #{quorum_need}, minus previously submitted proxies: #{num_proxies}"
           end
+          _p do
+            _ "There are #{proxy_nominees} people acting as proxies."
+            if proxy_nominees >= attend_irc
+              _strong 'If they all attend, then quorum will be achieved.'
+            end
+          end
           _p 'Individual Members are considered to have Attended a meeting if they either: respond to Roll Call (in first or second half of meeting); submit a proxy (that gets submitted during Roll Call); or who cast a ballot on any matters.'
           _ul do
             _li 'Estimated 2023 dates:'


[whimsy] 01/02: Docco

Posted by se...@apache.org.
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

commit 00ff5ed73950f103d37c9578fa615291a165b997
Author: Sebb <se...@apache.org>
AuthorDate: Wed Mar 1 22:39:57 2023 +0000

    Docco
---
 lib/whimsy/asf/meeting-util.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/whimsy/asf/meeting-util.rb b/lib/whimsy/asf/meeting-util.rb
index 21168f6f..d146e5f4 100644
--- a/lib/whimsy/asf/meeting-util.rb
+++ b/lib/whimsy/asf/meeting-util.rb
@@ -31,6 +31,12 @@ module ASF
     }
 
     # Calculate how many members required to attend first half for quorum
+    # Returns: num_members, quorum_need, num_proxies, attend_irc
+    # where:
+    # num_members = number of active members (taken from 'record' if possible, else members.txt)
+    # quorum_need = (num_members + 2) / 3
+    # num_proxies = number of files under 'proxies-received'
+    # attend_irc = quorum_need - num_proxies
     def self.calculate_quorum(mtg_dir)
       begin
         begin