fedora-vote README, 1.2, 1.3 castvote.cgi, 1.10, 1.11 newelection.py, 1.6, 1.7 vote.cgi, 1.8, 1.9

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Wed Jul 4 17:41:33 UTC 2007


Author: toshio

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

Modified Files:
	README castvote.cgi newelection.py vote.cgi 
Log Message:
* Setup the Fedora Project Board Election.
* Add a note about how approval voting works.



Index: README
===================================================================
RCS file: /cvs/fedora/fedora-vote/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README	14 Feb 2007 06:24:25 -0000	1.2
+++ README	4 Jul 2007 17:41:31 -0000	1.3
@@ -23,7 +23,7 @@
 Steps
 =====
 
-1) Checkout the fedora-vote module from cvs
+1) Checkout the fedora-vote module from cvs and edit newelection.py.
 2) Fill in the electionName variable with the title of the election.
 3) Fill in the seats variable with the number of seats to fill.
 4) Fill the start variable with the timestamp for the starting date.


Index: castvote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/castvote.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- castvote.cgi	29 Jun 2007 05:05:00 -0000	1.10
+++ castvote.cgi	4 Jul 2007 17:41:31 -0000	1.11
@@ -24,7 +24,7 @@
 import voting
 import votingadmin
 
-electionName = 'Fedora Documentation Steering Committee February 2007'
+electionName = 'Fedora Project Board July 2007'
 
 def make_thank_you(electionName, receipt):
     content = '''


Index: newelection.py
===================================================================
RCS file: /cvs/fedora/fedora-vote/newelection.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- newelection.py	14 Feb 2007 05:49:26 -0000	1.6
+++ newelection.py	4 Jul 2007 17:41:31 -0000	1.7
@@ -5,7 +5,7 @@
 import sys
 import getpass
 
-sys.path.append('/var/www/html/admin/accounts')
+sys.path.append('../accounts')
 
 import pgdb
 import website
@@ -14,32 +14,28 @@
 dbHost = 'db1.fedora.phx.redhat.com'
 dbUser = 'electionsuser'
 
-electionName = 'Fedora Documentation Steering Committee February 2007'
-start = '2007-02-13 00:00:00'
-end = '2006-02-15 23:59:59'
+electionName = 'Fedora Project Board July 2007'
+start = '2007-06-29 00:00:00'
+end = '2007-07-08 23:59:59'
 #start = '2006-09-29 00:00:00'
 #end = '2006-10-05 23:59:59'
 seats = '6'
 
-votingGroups = ('cvsdocs',)
+votingGroups = ('cla_done',)
 
 candidates = (
-    # John Babich
-    'jmbabich',
-    # Bart Couvreur
-    'couf',
-    # Paul W. Frields
-    'pfrields',
-    # Dimitris Glezos
-    'glezos',
-    # Gavin Henry
-    'ghenry',
+    # Brian Pepple
+    'bpepple',
+    # Christopher Aillon
+    'caillon',
+    # Dennis Gilmore
+    'ausil',
+    # Jef Spaleta
+    'jspaleta',
+    # Rahul Sundaram
+    'sundaram',
     # Robert 'Bob' Jensen
-    'bjensen',
-    # Pawel Sadowski
-    'mcgiwer',
-    # Karsten Wade
-    'kwade'
+    'bjensen'
     )
 groupList = []
 candList = []


Index: vote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/vote.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vote.cgi	29 Jun 2007 05:05:00 -0000	1.8
+++ vote.cgi	4 Jul 2007 17:41:31 -0000	1.9
@@ -11,7 +11,7 @@
 
 import voting
 
-electionName = 'Fedora Documentation Steering Committee February 2007'
+electionName = 'Fedora Project Board July 2007'
 
 def make_ballot(candidates, ballotName, openSeats):
     '''Return a string representing an html ballot.'''
@@ -38,6 +38,18 @@
         <form NAME="%s" method="post" action="castvote.cgi"/>
           <h2>Ballot for %s Election</h2>
           <p><b>Vote for no more than %d candidates:</b></p>
+          <p>The voting system being used for this election is known as
+            <a href="http://en.wikipedia.org/wiki/Approval_voting">Approval
+            Voting</a>.  In approval voting you have two basic choices: voting
+            for a candidate means you approve of their getting the position.
+            Not voting for them means you don't approve of them.
+          </p>
+          <p>The wikipedia article linked above has more information on
+            tactical methods to use your vote if you care more deeply for a
+            certain set of candidates.  For instance, if you like two candidates
+            more than all the others, voting only for those two gives them a
+            higher chance of winning.
+          </p>
             <table>
               <tr>
                 <th>Candidate</th>




More information about the fedora-extras-commits mailing list