-
Notifications
You must be signed in to change notification settings - Fork 35
DMB consider logs in one place #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cpaelzer
wants to merge
5
commits into
ubuntu:main
Choose a base branch
from
cpaelzer:dmb-consider-logs-in-one-place
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ca43865
DMB: reduce the complexity of the voting description
cpaelzer d672396
DMB: keep qorum and voting in one place
cpaelzer 5723218
DMB: be honest about chair selection
cpaelzer 5ed7d88
DMB: make code actually match the text
cpaelzer 4b4c84e
DMB: unify logs in one place
cpaelzer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
orphan: true | ||
--- | ||
|
||
(dmb-vote-function)= | ||
# DMB vote funtion | ||
|
||
The text on {ref}`dmb-rules` should be easier to consume, but if in doubt | ||
here a different way to express it. | ||
|
||
These rules were proposed in | ||
* this [mailing list thread](https://lists.ubuntu.com/archives/devel-permissions/2021-August/001728.html) | ||
* then [extended to a poll](https://lists.ubuntu.com/archives/devel-permissions/2021-October/001756.html) | ||
* with the [results](https://lists.ubuntu.com/archives/devel-permissions/2021-November/001782.html) | ||
* then [clarified again](https://lists.ubuntu.com/archives/devel-permissions/2021-October/001763.html) | ||
* and [finalized](https://lists.ubuntu.com/archives/devel-permissions/2021-October/001764.html) | ||
* Also earlier [Quorum was publicly discussed](https://discourse.ubuntu.com/t/open-discussion-meetings-quorum/5966) on the community forum. | ||
|
||
All that is summarized in this Python-like function: | ||
|
||
```python | ||
def do_vote(votes, total_members=7): | ||
""" | ||
This function prints exactly one of: "passed", "failed", "hung", "require follow up". | ||
|
||
:param votes: list of integers (-1, 0, +1) representing votes cast by members present | ||
:param total_members: int, number of active board members (default 7) | ||
""" | ||
quorum = 4 | ||
dmb_members_present = len(votes) | ||
sum_of_votes = sum(votes) | ||
non_abstain_votes = [v for v in votes if v != 0] | ||
if dmb_members_present >= quorum: | ||
# unanimous among dmb_members_present non-abstain voters | ||
if non_abstain_votes and all(v == 1 for v in non_abstain): | ||
print("passed and final") | ||
if non_abstain_votes and all(v == -1 for v in non_abstain): | ||
print("failed and final") | ||
if sum_of_votes > 0: | ||
print("passed, but can be overturn by absent members voting by mail until or at next meeting") | ||
if sum_of_votes < 0: | ||
print("failed, but can be overturn by absent members voting by mail until or at next meeting") | ||
# tie or zero sum | ||
print("hung, absent members are asked to vote by mail until or at next meeting") | ||
else: | ||
print("Not quorate - require follow up, next time majority of present members votes will suffice") | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this imply that future DMB members must have google accounts?
If this is the case, how easy would it be to move away from google once we start hosting all of our logs there?