You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2026/02/23 15:34:54 UTC

(steve) branch trunk updated: docs: update sample election YAML to use record list and Unix timestamps

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

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 818919a  docs: update sample election YAML to use record list and Unix timestamps
818919a is described below

commit 818919a133153c033696b060569abe596ff72fe5
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Mon Feb 23 09:34:25 2026 -0600

    docs: update sample election YAML to use record list and Unix timestamps
    
    Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <ai...@aider.chat>
---
 v3/server/bin/election.yaml.sample | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/v3/server/bin/election.yaml.sample b/v3/server/bin/election.yaml.sample
index e5277f6..d3a47a3 100644
--- a/v3/server/bin/election.yaml.sample
+++ b/v3/server/bin/election.yaml.sample
@@ -5,8 +5,8 @@ election:
   title: "Board Election 2024"
   owner_pid: "alice"  # Apache ID of the election owner
   authz: "pmc"  # Optional authorization level
-  open_at: "2024-01-01T00:00:00"  # Optional ISO datetime for opening
-  close_at: "2024-01-31T23:59:59"  # Optional ISO datetime for closing
+  open_at: 1704067200  # Optional Unix timestamp for opening (2024-01-01T00:00:00)
+  close_at: 1706745599  # Optional Unix timestamp for closing (2024-01-31T23:59:59)
 
 issues:
   - title: "Approve Budget"
@@ -25,4 +25,9 @@ issues:
         d: "David"
       seats: 3  # Number of seats to elect
 
-eligible_voters: "members"  # Placeholder: all persons in the database are eligible
+record:  # List of PIDs eligible to vote (must exist in person database)
+  - alice
+  - bob
+  - carlos
+  - david
+  - eve