fedora-vote README,1.1,1.2

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Wed Feb 14 06:24:27 UTC 2007


Author: toshio

Update of /cvs/fedora/fedora-vote
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15396

Modified Files:
	README 
Log Message:
* README: Add information on how to determine the winners after the election.



Index: README
===================================================================
RCS file: /cvs/fedora/fedora-vote/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README	14 Feb 2007 05:49:26 -0000	1.1
+++ README	14 Feb 2007 06:24:25 -0000	1.2
@@ -1,10 +1,18 @@
+===================
 Running an Election
 ===================
 
+:Author: Toshio Kuratomi
+:Date: 13 Feb 2007
+
 This is a bit more manual than I'd like it to be but it's not too hard.
 
+----------
+Setting up
+----------
+
 Information needed
-------------------
+==================
 
 * Title of election
 * Number of seats to fill.
@@ -13,7 +21,7 @@
 * FAS usernames for the candidates.
 
 Steps
------
+=====
 
 1) Checkout the fedora-vote module from cvs
 2) Fill in the electionName variable with the title of the election.
@@ -44,7 +52,7 @@
       scp vote.cgi castvote.cgi app2:/var/www/html/admin/voting/
 
 Notes
------
+=====
 
 In the past I have setup the election with an earlier date for people to test
 it out first.  If you do this it's important to remember all the steps to
@@ -55,3 +63,30 @@
 2) delete from ballots where election_id = ELECTIONID;
 
 3) delete from votes where election_id = ELECTIONID;
+
+----------------------
+Getting the Tallysheet
+----------------------
+
+There is currently no web interface to this.  You have to log in to the
+db and view the tallysheet::
+
+  psql -h db1.fedora.phx.redhat.com -U electionsuser elections
+  Password:
+  elections=> select * from tallysheet where election_id = 2;
+   vote_count |   id   | election_id 
+  ------------+--------+-------------
+           35 | 100307 |           2
+           27 | 100263 |           2
+           26 | 100443 |           2
+           20 | 100290 |           2
+           19 | 100393 |           2
+           19 | 100189 |           2
+           19 | 100406 |           2
+           12 | 100516 |           2
+           11 | 100386 |           2
+            9 | 100815 |           2
+            6 | 100435 |           2
+
+Then you have to connect to the Fedora Account System and lookup the user ids
+for the winners to find out their names.




More information about the scm-commits mailing list