[foundation-web] Prepared 2014 elections



commit 4354c6670edb48fdb0aabc40d2c9ca934742a7b9
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Sun Apr 6 01:20:44 2014 +0200

    Prepared 2014 elections

 configure.in                                       |    1 +
 foundation.gnome.org/htaccess                      |    2 +-
 foundation.gnome.org/vote/2014/Makefile.am         |   14 +
 foundation.gnome.org/vote/2014/candidates.wml      |  237 ++++++++++++++++++
 foundation.gnome.org/vote/2014/index.wml           |   65 +++++
 foundation.gnome.org/vote/2014/mkical.py           |  258 ++++++++++++++++++++
 foundation.gnome.org/vote/2014/rules.wml           |  146 +++++++++++
 foundation.gnome.org/vote/2014/timeline.ics        |   79 ++++++
 .../vote/2014/voting-instructions.txt              |   32 +++
 foundation.gnome.org/vote/Makefile.am              |    2 +-
 10 files changed, 834 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 587c9b9..8cd18b1 100644
--- a/configure.in
+++ b/configure.in
@@ -48,4 +48,5 @@ foundation.gnome.org/vote/2010/Makefile
 foundation.gnome.org/vote/2011/Makefile
 foundation.gnome.org/vote/2012/Makefile
 foundation.gnome.org/vote/2013/Makefile
+foundation.gnome.org/vote/2014/Makefile
 ])
diff --git a/foundation.gnome.org/htaccess b/foundation.gnome.org/htaccess
index 969ff53..dbb88bf 100644
--- a/foundation.gnome.org/htaccess
+++ b/foundation.gnome.org/htaccess
@@ -33,7 +33,7 @@ Redirect /election-2001.html          http://vote.gnome.org/2001/
 Redirect /electionresults.html         http://vote.gnome.org/2000/results.html
 Redirect /electionrules-2000.html      http://vote.gnome.org/2000/rules.html
 Redirect /electionrules-2001.html      http://vote.gnome.org/2001/rules.html
-Redirect /electionrules.html           http://vote.gnome.org/2013/rules.html
+Redirect /electionrules.html           http://vote.gnome.org/2014/rules.html
 
 Redirect /elections.html               http://vote.gnome.org
 Redirect /final-vote-archive.diff      http://vote.gnome.org/2000/vote-archives.diff
diff --git a/foundation.gnome.org/vote/2014/Makefile.am b/foundation.gnome.org/vote/2014/Makefile.am
new file mode 100644
index 0000000..dd5e082
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/Makefile.am
@@ -0,0 +1,14 @@
+SUBDIRS =
+
+urlpath = /vote/2014
+ 
+page_SCRIPTS = \
+       index.html \
+       candidates.html\
+       rules.html 
+
+page_DATA = \
+       timeline.ics
+       mkical.py
+
+include $(top_srcdir)/rules.common
diff --git a/foundation.gnome.org/vote/2014/candidates.wml b/foundation.gnome.org/vote/2014/candidates.wml
new file mode 100644
index 0000000..8f88aa9
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/candidates.wml
@@ -0,0 +1,237 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html>
+
+  <head>
+    <title>GNOME Foundation 2014 Elections Candidates</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+  </head>
+
+  <body>
+    <div id="content">
+    <h1>Candidates for the GNOME Foundation 2014 Elections</h1>
+
+    <p>
+      Below you will find a list of candidates who are running for the
+      GNOME Foundation Board of Directors. A short summary statement from
+      each candidate and a link to their full candidacy announcement is
+      provided to help you learn more about them. We encourage all voters
+      to read the full candidacy statements and related discussions on
+      <a href="http://mail.gnome.org/archives/foundation-list/";>foundation-list&#64;gnome&#46;org</a>.
+    </p>
+
+    <p>
+      When deciding who you should vote for, please carefully consider
+      the various tasks the Board of Directors must perform. This
+      <a href="../overview.html">overview</a> may be helpful. Keep in mind that
+      the board will make a number of important decisions and will also have to
+      perform many tasks which require a significant amount of time and effort
+      and the ability to work and communicate with other people, companies, and
+      the media. The board of directors will represent GNOME to companies and
+      the world in a very real way. It is a good idea to strive for a
+      well-balanced board consisting of people with various backgrounds,
+      skills, and perspectives.
+    </p>
+
+    <p>
+      Additional elections details can be found on the
+      <a href="http://foundation.gnome.org";>GNOME Foundation Web Site</a>.
+    </p>
+
+    <p>
+      If you have any questions, please send them to either
+      <a href="http://mail.gnome.org/archives/foundation-list/";>foundation-list&#64;gnome&#46;org</a>
+      or to us at <a
+      href="mailto:elections&#64;gnome&#46;org";>elections&#64;gnome&#46;org</a>.
+    </p>
+
+<!--
+
+    <h2>Candidates for the GNOME Foundation Board of Directors</h2>
+
+    <ol>
+        <p>
+            <li><strong>Tobias Mueller</strong><br />
+                Affiliation: <em>None</em><br />
+                Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00001.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00001.html</a>
+                <blockquote>
+                    I am passionate about Free Software and GNOME and advancing it satisfies 
+                    me. I enjoyed the work during the last year and I hope to be able to 
+                    continue doing so. Within the last year I helped revamping our bylaws 
+                    and then got more and more involved in making our Friends of GNOME 
+                    program more smooth. This is still ongoing and I also initiated contact 
+                    with a European entity to collect funds for us to make us more 
+                    indepedent from Paypal. Being on the board makes finishing that a lot 
+                    easier.
+                </blockquote>
+                <!- - Verified Member: 708 - ->
+            </li>
+        </p>
+
+        <p>
+            <li><strong>Max Huang</strong><br />
+            Affiliation: <em></em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00003.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00003.html</a>
+                <blockquote>
+                
+                    I am working in National Center for High-performance 
+                    Computing Taiwan(http://www.nchc.org.tw/en/).  I 
+                    have contributed to GNOME for the past 3  years. 
+                     Promote open source, freeware and linux at school 
+                    in Taiwan.
+                    
+                </blockquote>
+                <!- - Verified Member: 842 - ->
+            </li>
+        </p>
+        
+
+        <p>
+            <li><strong>Joanmarie Diggs</strong><br />
+            Affiliation: <em>Igalia, S.L.</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00004.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00004.html</a>
+                <blockquote>
+                    I have contributed to GNOME for the past six+ years 
+                    as a developer and maintainer of the Orca screen 
+                    reader and as a member of the GNOME Accessibility 
+                    Team. This past year I have also served on the GNOME 
+                    Foundation's Board.
+                </blockquote>
+                <!- - Verified Member: 786 - ->
+            </li>
+        </p>
+        
+        <p>
+            <li><strong>Emmanuele Bassi</strong><br />
+            Affiliation: <em>Endless Mobile</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00005.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00005.html</a>
+                <blockquote>
+                    I have been a GNOME contributor for the past 10 
+                    years, and served as secreatry on the board of 
+                    directors for the past two years.
+                    
+                    I would love to continue serving as secretary on the 
+                    board; I want to help facilitating the 
+                    communications between teams, contributors, adboard 
+                    members, ISVs that wish to target GNOME, as well as 
+                    OSVs that wish to use GNOME as their platform of 
+                    choice for their products.
+                </blockquote>
+                <!- - Verified Member: 506 - ->
+            </li>
+        </p>
+        
+        <p>
+            <li><strong>Andreas Nilsson</strong><br />
+            Affiliation: <em>Red Hat</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00006.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00006.html</a>
+                <blockquote>
+                    Designer based in Gothenburg, Sweden, involved in 
+                    GNOME since 2005.
+                    
+                    I am part of the Marketing Team, mainly hacking on 
+                    our websites and putting together printing materials 
+                    for conferences. I also contribute to the Design 
+                    Team, filing design bugs and doing some UX design. 
+                    I've been an OPW mentor 2 times already, and 
+                    hopefully will be a 3rd time this summer.
+                </blockquote>
+                <!- - Verified Member: 544 - ->
+            </li> 
+        </p>
+
+        <p>
+            <li><strong>Sriram Ramkrishna</strong><br />
+            Affiliation: <em>Intel</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00007.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00007.html</a>
+                <blockquote>
+                
+                    I have decided this year to continue to increase my 
+                    participation in GNOME.  I joined GNOME in 1997, 
+                    working on GNOME Summaries that led to the GNOME 
+                    Journal.  We expanded from a one man contributor to 
+                    a full 4-5 person team writing professional level 
+                    articles on GNOME.
+                    
+                </blockquote>
+                <!- - Verified Member: 193 - ->
+            </li>
+        </p>
+        
+        <p>
+            <li><strong>Ekaterina Gerasimova</strong><br />
+            Affiliation: <em>None</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00008.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00008.html</a>
+                <blockquote>                    
+
+                    I have experienced the difficulties that are 
+                    encountered by our local teams when organising 
+                    events and I agree with Joanie that the Foundation's 
+                    processes need to become more efficient. These 
+                    responsibilities need to be clarified and followed 
+                    to reduce friction and improve collaboration within 
+                    the GNOME community.
+                    
+                    Our existing processes are missing defined fallbacks 
+                    and resolution paths. When decisions become stuck or 
+                    blocked on, opportunities fall through and the 
+                    Foundation loses out when its members cannot attend 
+                    conferences and hackfests.
+                
+                </blockquote>
+                <!- - Verified Member: 867 - ->
+            </li>
+        </p>
+
+
+
+        
+        <p>
+            <li><strong>Marina Zhurakhinskaya</strong><br />
+            Affiliation: <em>Red Hat</em><br />
+            Full statement at <a 
href="https://mail.gnome.org/archives/foundation-announce/2014-May/msg00009.html";>https://mail.gnome.org/archives/foundation-announce/2014-May/msg00009.html</a>
+                <blockquote>
+
+                    I have been working on GNOME for the last five 
+                    years, as a developer of online-desktop and 
+                    gnome-shell and as a lead of our outreach efforts. 
+                    With the help of so many people in the community, 
+                    three and a half years ago I created the Outreach 
+                    Program for Women which enabled 49 women to do 
+                    internships with GNOME and significantly increased 
+                    participation of women in the community. This 
+                    program has grown to include internships with 18 
+                    Free Software organizations this summer.
+
+                </blockquote>
+                <!- - Verified Member: 739 - ->
+            </li>
+        </p>
+        
+    </ol>
+
+
+-->
+
+
+    <h2>Additional Elections-related Information</h2>
+
+    <p>
+      Note, that according to the
+      <a href="http://www.gnome.org/wp-content/uploads/2011/11/bylaws.pdf";>Bylaws</a> Article VIII Section 2d
+      there is a 2-person maximum on the number of people affiliated with any
+      one company that can be on the board: if more than 2 persons from one
+      company get elected, only the top 2 vote getters will get on.
+      You will be able to vote for up to 7 candidates of your choice, with no
+      restrictions, except that you cannot vote more than once for the same
+      candidate.
+    </p>
+
+    <p>
+      If you have any futher question, please consult the
+      <a href="rules.html">Rules for this election</a> or write to
+      <a href="mailto:elections gnome org">elections gnome org</a>.
+    </p>
+
+  </body>
+</html>
diff --git a/foundation.gnome.org/vote/2014/index.wml b/foundation.gnome.org/vote/2014/index.wml
new file mode 100644
index 0000000..0da6253
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/index.wml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html>
+
+  <head>
+    <title>GNOME Foundation 2014 Elections</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="author" content="Tobias Mueller" />
+  </head>
+
+  <body>
+
+    <div id="content">
+    <h1>GNOME Foundation 2014 Elections</h1>
+
+    <p>
+      The GNOME Foundation Membership currently elects the Board of 
+      Directors each year for July, 1st. Any member can nominate 
+      themself to run in the elections. The overall elections process 
+      is overseen by the Membership and Elections Committee, which can 
+      be reached at <a
+      href="mailto:elections&#64;gnome&#46;org";>elections&#64;gnome&#46;org</a>.
+    </p>
+
+    <p>
+      The elections results from the 2014 Board of Directors elections 
+      will be archived here for public access.
+    </p>
+
+    <h2>2014 Elections Materials:</h2>
+    <ul>
+<!--
+        <li>
+            <a href="https://mail.gnome.org/archives/foundation-list/2014-June/msg00015.html";>Election 
results announcement</a>
+        </li>
+        <li>
+            <a href="../../results.php?election_id=21">Detailed election results</a>
+        </li>
+        <li>
+            <a href="../../votes.php?election_id=21">List of all votes</a>
+        </li>
+        <li>
+            <a href="../../vote.php?election_id=21">Interface to vote</a>
+        </li>
+
+        <li>
+            <a href="candidates.html">List of candidates for Board of Directors</a>
+        </li>
+-->
+        <li>
+            <a href="http://www.gnome.org/foundation/membership/?date=2014-05-30";>List of registered 
voters</a>
+        </li>
+    
+        <li>
+            <a href="rules.html">Elections Rules and Timeline</a> (webcal <a
+            href="webcal://vote.gnome.org/2014/timeline.ics">timeline</a>)
+        </li>
+    
+        <li>
+            <a href="../overview.html">Overview of the Board of Directors role</a>
+        </li>
+    </ul>
+
+  </body>
+</html>
diff --git a/foundation.gnome.org/vote/2014/mkical.py b/foundation.gnome.org/vote/2014/mkical.py
new file mode 100644
index 0000000..a0667cc
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/mkical.py
@@ -0,0 +1,258 @@
+#!/usr/bin/env python
+'''
+This Python script creates a simple iCal file based on hardcoded events
+in this file.
+'''
+
+import calendar
+import datetime
+import logging
+import math
+import os
+import vobject
+
+
+#### Configure these variables
+YEAR = 2014
+CANDIDATES_OPENED_DATE    = (YEAR, 5,  5)
+CANDIDATES_CLOSED_DATE    = (YEAR, 5, 18)
+CANDIDATES_ANNOUNCED_DATE = (YEAR, 5, 21)
+VOTING_OPENED_DATE        = (YEAR, 5, 25)
+VOTING_CLOSED_DATE        = (YEAR, 6,  8)
+PRELIMINARY_RESULTS_DATE  = (YEAR, 6, 10)
+CHALLENGE_CLOSED_DATE     = (YEAR, 6, 17)
+
+
+
+### I'm sorry that these functions clutter your calendar-creating experience
+### Please scroll down a bit to edit the description texts
+
+#### Application Data
+def c(multilinestring):
+    '''
+    A helper functions which cleans up a multiline string, so that
+    it doesn't contain any newlines or multiple whitespaces
+    '''
+    stripped = [l.strip() for l in multilinestring.splitlines()]
+    ret = " ".join (stripped)
+    return ret
+    
+def d(year, month, day):
+    '''
+    Just a tiny wrapper around datetime.datetime to create a datetime object
+    '''
+    return datetime.date(year, month, day)
+
+
+
+CANDIDATES_OPENED = (
+    d(*CANDIDATES_OPENED_DATE),
+    'Announcements and list of candidates opens',
+    c("""If you are a member of the GNOME Foundation and are interested 
+    in running for election, you may nominate yourself by sending an 
+    e-mail to foundation-announce gnome org with your name, e-mail 
+    address, corporate affiliation (if any), and a description of why 
+    you'd like to serve, before
+    %s (23:59 UTC).""" % d(*CANDIDATES_CLOSED_DATE)) + '''
+    ''' + c("""    
+    You should also send a summary of your candidacy announcement 
+    (75 words or less) to elections gnome org  If you are not yet a 
+    GNOME Foundation member and would like to stand for election, 
+    you must first apply for membership and be accepted to be eligible 
+    to run. (You may, however, announce your candidacy prior to formal 
+    acceptance of your application;
+    should your application not be accepted, you will not be included in 
+    the list of candidates.)""") + '''
+    '''
+)
+
+CANDIDATES_CLOSED = (
+    d(*CANDIDATES_CLOSED_DATE),
+    'List of candidates closed',
+    CANDIDATES_OPENED[2] # Get the same text again
+)
+
+CANDIDATES_ANNOUNCED = (
+    d(*CANDIDATES_ANNOUNCED_DATE),
+    'List of candidates announced',
+    'You may now start to send your questions to the candidates'
+)
+
+VOTING_OPENED = (
+    d(*VOTING_OPENED_DATE),
+    'Instructions to vote are sent',
+    'Please read your email and follow these instructions and submit your vote by %s' % 
d(*VOTING_CLOSED_DATE)
+)
+VOTING_CLOSED = (
+    d(*VOTING_CLOSED_DATE),
+    'Votes must be returned',
+    'Preliminary results are announced on %s' % d(*PRELIMINARY_RESULTS_DATE)
+)
+
+
+PRELIMINARY_RESULTS = (
+    d(*PRELIMINARY_RESULTS_DATE),
+    'Preliminary results are announced',
+    'The preliminary results can be challenged until %s' % d(*CHALLENGE_CLOSED_DATE)
+)
+
+CHALLENGE_CLOSED = (
+    d(*CHALLENGE_CLOSED_DATE),
+    'Challenges to the results closed',
+    "If there weren't any challenges, preliminary results are valid"
+)
+
+
+
+
+def create_ical(eventlist):
+    '''Generates an ical stream based on the list given as eventlist.
+    The list shall contain elements with a tuple with a
+    (date, string, string) object, serving as date when the event takes place,
+    summary and description respectively.
+    '''
+    log = logging.getLogger('create_ical')
+
+    cal = vobject.iCalendar()
+    cal.add('method').value = 'PUBLISH'
+    cal.add('calscale').value = 'GREGORIAN'
+    cal.add('x-wr-timezone').value = 'UTC'
+    
+    for (timestamp, summary, description) in eventlist:
+        log.debug('creating %s, %s', timestamp, description)
+        vevent = cal.add('vevent')
+        vevent.add('dtstart').value = timestamp
+        vevent.add('dtend').value = timestamp + datetime.timedelta(1)
+        vevent.add('summary').value = summary
+        vevent.add('description').value = description
+    
+    stream = cal.serialize()
+    return stream
+
+
+def wraptext(s, width):
+    '''Wraps a string @s at @width characters.
+    
+    >>> wraptext('fooo', 2)
+    ['fo','oo']
+    '''
+    l = len(s)
+    nr_frames = int(math.ceil(float(l)/width))
+    print nr_frames
+    frames = []
+    for i in xrange(nr_frames):
+        start, end = i*width, (i+1) * width
+        frames.append(s[start:end])
+        # One could (and prolly should) yield that
+    return frames
+
+def ordinal(n):
+    n = int(n)
+    if 10 <= n % 100 < 20:
+        return str(n) + 'th'
+    else:
+       return  str(n) + {1 : 'st', 2 : 'nd', 3 : 'rd'}.get(n % 10, "th")
+                       
+
+def cal_for_month(month, events, width=80, year=datetime.datetime.now().year):
+    '''Generates a textual calendar for the @month in @year.
+    It will return a string with the calendar on the left hand side and the
+    events on the right hand side.
+    @events shall be a list with tuples: timestamp, summary, description.
+    
+    Returns a string with the calendar
+    '''
+    log = logging.getLogger('cal_for_month')
+
+    cal = calendar.TextCalendar()
+    calstrings = cal.formatmonth(year, month, 3).splitlines()
+
+    for (timestamp, summary, description) in events:
+        log.debug('creating %s, %s', timestamp, summary)
+        year, month, day = timestamp.year, timestamp.month, timestamp.day
+        maxwidth = max([len(cs) for cs in calstrings])
+        rightwidth = 80 - maxwidth
+        for i, line in enumerate(calstrings):
+            needles =      (" %d " % day,
+                           " %d\n" % day)
+            replacement = "(%d)" % day
+            # Find the day so that we can highlight it and add a comment
+            day_in_week = False
+            for needle in needles:
+                if needle in line+"\n":
+                    # k, this looks a bit weird but we have that corner 
+                    # case with the day being at the end of the line 
+                    # which in turn will have been split off
+                    day_in_week = True
+                    break # Set the needle to the found one
+            if day_in_week == False: # Nothing found, try next week
+                log.debug('Day (%d) not found in %s', day, line)
+                continue
+            else:
+                log.debug('Day (%d) found in %s', day, line)
+                new_line = (line+"\n").replace(needle, replacement).rstrip()
+                new_line += "   %s (%s)" % (summary, ordinal(day))
+                # Replace in-place for two events in the same week
+                # FIXME: This has bugs :-( 
+                calstrings[i] = new_line
+                    
+    return os.linesep.join(calstrings)
+
+def create_textcal(eventlist):
+    '''Generates a multiline string containing a calendar with the 
+    events written on the side
+    The list shall contain elements with a tuple with a
+    (date, string, string) object, serving as date when the event takes place,
+    summary and description respectively.
+    '''
+    log = logging.getLogger('textcal')
+    log.debug('Generating from %s', eventlist)
+    months = set(map(lambda x: x[0].month, eventlist))
+    year = set(map(lambda x: x[0].year, eventlist)).pop()
+    
+    final_cal = []
+    for month in months:
+        events = filter(lambda x: x[0].month == month, eventlist)
+        log.debug('Events for %d: %s', month, events)
+        month_cal = cal_for_month(month, events, year=year)
+        final_cal.append(month_cal)
+        
+    return os.linesep.join(final_cal)
+
+if __name__ == "__main__":
+    from optparse import OptionParser
+    parser = OptionParser("usage: %prog [options]")
+    parser.add_option("-l", "--loglevel", dest="loglevel", help="Sets the loglevel to one of debug, info, 
warn, error, critical", 
+                      default=None)
+    parser.add_option("-i", "--ical",
+                      action="store_true", dest="ical", default=False,
+                      help="print iCal file to stdout")
+    parser.add_option("-t", "--textcal",
+                      action="store_true", dest="tcal", default=False,
+                      help="print textual calendar to stdout")
+    (options, args) = parser.parse_args()
+
+    loglevel = {'debug': logging.DEBUG, 'info': logging.INFO,
+                'warn': logging.WARN, 'error': logging.ERROR,
+                'critical': logging.CRITICAL}.get(options.loglevel, logging.WARN)
+    logging.basicConfig( level=loglevel )
+    log = logging.getLogger()
+    
+    eventlist = [
+        CANDIDATES_OPENED,
+        CANDIDATES_CLOSED,
+        CANDIDATES_ANNOUNCED,
+        VOTING_OPENED,
+        VOTING_CLOSED,
+        PRELIMINARY_RESULTS,
+        CHALLENGE_CLOSED,
+    ]
+    
+    if not any([options.ical, options.tcal]):
+        parser.error("You want to select either ical or textcal output. See --help for details")
+    if options.ical:
+        ical = create_ical( eventlist )
+        print ical
+    if options.tcal:
+        tcal = create_textcal( eventlist )
+        print tcal
diff --git a/foundation.gnome.org/vote/2014/rules.wml b/foundation.gnome.org/vote/2014/rules.wml
new file mode 100644
index 0000000..2fd1a1b
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/rules.wml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html>
+
+  <head>
+    <title>GNOME Foundation 2014 Elections Rules</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+  </head>
+
+  <body>
+
+    <div id="content">
+    <h1>Rules &amp; Timeline for the GNOME Foundation 2014 Elections</h1>
+
+    <h2>Elections Rules</h2> 
+
+    <ol>
+      <li>
+        See the <a 
href="https://git.gnome.org/browse/foundation-web/tree/foundation.gnome.org/about/bylaws.rst";>GNOME 
Foundation Bylaws</a> (<a href="http://www.gnome.org/foundation/governance/attachment/bylaws-2/";>PDF</a>) for
+        general rules.
+      </li>
+      <li>
+       There are 7 board slots that are to be filled during these elections.
+      </li>
+      <li>
+        Members of the GNOME Foundation as of
+        <!-- CANDIDATES_ANNOUNCED_DATE -->2014-05-21
+        
+        are eligible to vote in the elections. Members without voting rights
+        such as <a 
href="https://mail.gnome.org/archives/foundation-announce/2012-May/msg00015.html";>Emeritus members</a>
+        are not eligible to vote.
+        Anyone who has made a 
+        contribution to GNOME can apply for membership by completing the
+        <a href="http://foundation.gnome.org/membership/apply/";>application</a>.
+      </li>
+      <li>
+        Any eligible voter is eligible to be elected to the Board of Directors.
+        To announce your candidacy, send a message to
+        <a 
href="http://mail.gnome.org/archives/foundation-announce/";>foundation-announce&#64;gnome&#46;org</a>
+        with your full name, e-mail, corporate affiliation (if any), and a
+        description of your reasons for wanting to serve as a director.
+        Candidacies must be announced prior to
+        <!-- CANDIDATES_CLOSED_DATE -->2014-05-18, 23:59 UTC.
+        
+      </li>
+      <li>
+        All candidates should mail a summary of their candicacy announcement
+        (see previous rule) to <a
+        href="mailto:elections&#64;gnome&#46;org";>elections&#64;gnome&#46;org</a>.
+        Summaries should be no more than 75 words of continuous text (i.e. no
+        bullet lists or multiple paragraphs) and must be received by the
+        nomination deadline given above. A compilation of the summaries will
+        be mailed to all registered voters several days prior to the elections.
+      </li>
+      <li>
+        All discussion related to the elections should be held on
+        <a href="http://mail.gnome.org/archives/foundation-list/";>foundation-list&#64;gnome&#46;org</a>.
+        Members are invited to ask questions to one or all candidates on that
+        list.
+      </li>
+      <li>
+       Instructions explaining how to vote will be sent via e-mail to all
+       eligible voters on
+       <!-- VOTING_OPENED_DATE -->2014-05-25,
+       
+       and votes must be returned by
+       <!-- VOTING_CLOSED_DATE -->2014-06-08, 23:59 UTC.
+      </li>
+      <li>
+        Votes will be held confidential during the elections, but an 
+        anonymized archive of all submitted votes will be made publicly 
+        accessible at its conclusion.
+      </li>
+      <li>
+        The GNOME Foundation Membership and Elections Committee is
+        responsible for counting the votes.
+        The committee serves at the pleasure of the GNOME Board of Directors
+        as per Section 9.1 of the bylaws.
+      </li>
+      <li>
+       The 7 candidates voted for most as counted by a <a 
href="http://mail.gnome.org/archives/foundation-list/2009-March/msg00012.html";>single transferable
+       vote system</a> will be elected, except that no more than two
+       individuals affiliated with any one corporation may be elected. Should
+       more than two of the top seven vote-getters be affiliated with the
+       same company, only the two with the most votes will be considered
+       elected. For a full definition of corporate affiliation, see the
+       <a href="https://live.gnome.org/Foundation/Charter";>GNOME Foundation charter</a>.
+      </li>
+      <li>
+        In the event of a tie for the final slot on the board, the Elections
+        Committee will schedule run-off elections as soon as possible. 
+      </li>
+      <li>
+        The Elections Committee will announce preliminary results as soon as
+        possible after the elections close, along with instructions on how to
+        access the votes archive and how to independently verify the vote
+        count.
+      </li>
+      <li>
+        Any eligible voter may challenge the preliminary results by e-mailing
+        <a
+        href="mailto:elections&#64;gnome&#46;org";>elections&#64;gnome&#46;org</a>
+        prior to
+        <!-- PRELIMINARY_RESULTS_DATE -->2014-06-17.
+        
+        The decision of the Elections Committee as
+        to any challenge shall be final. Once any challenges have been
+        resolved, the Elections Committee shall announce the final results.
+      </li>
+      <li>
+        Any questions regarding these procedures should be directed to the
+        Elections Committee by e-mail to <a
+        href="mailto:elections&#64;gnome&#46;org";>elections&#64;gnome&#46;org</a>.
+        The committee shall have the power to make any necessary changes or
+        clarifications to these rules at any point during the elections.
+      </li>
+    </ol>
+
+    <h2>Timeline</h2>
+    <p><small>(all deadlines are 23:59 UTC)</small></p> 
+    <ul>
+      <li>
+        <!-- CANDIDATES_OPENED_DATE -->2014-05-05: Announcements and list of candidates opens.
+      </li>
+      <li>
+        <!-- CANDIDATES_CLOSED_DATE -->2014-05-18: Last day to announce candidacies, submit summary 
statements.
+      </li>
+      <li>
+        <!-- CANDIDATES_ANNOUNCED_DATE -->2014-05-21: Final list of candidates.
+      </li>
+      <li>
+        <!-- VOTING_OPENED_DATE -->2014-05-27: Instructions mailed to eligible voters, voting begins.
+      </li>
+      <li>
+        <!-- VOTING_CLOSED_DATE -->2014-06-08: Voting closes.
+      </li>
+      <li>
+        <!-- PRELIMINARY_RESULTS_DATE -->2014-06-10: Preliminary results are announced.
+      </li>
+      <li>
+        <!-- CHALLENGE_CLOSED_DATE -->2014-06-17: Last day to challenge preliminary results.
+      </li>
+    </ul>
+
+  </body>
+</html>
diff --git a/foundation.gnome.org/vote/2014/timeline.ics b/foundation.gnome.org/vote/2014/timeline.ics
new file mode 100644
index 0000000..bca55e8
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/timeline.ics
@@ -0,0 +1,79 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+METHOD:PUBLISH
+PRODID:-//PYVOBJECT//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:20140405T183050Z-31727 sapx230
+DTSTART;VALUE=DATE:20140505
+DTEND;VALUE=DATE:20140506
+DESCRIPTION:If you are a member of the GNOME Foundation and are interested
+  in running for election\, you may nominate yourself by sending an e-mail 
+ to foundation-announce gnome org with your name\, e-mail address\, corpora
+ te affiliation (if any)\, and a description of why you'd like to serve\, b
+ efore 2014-05-18 (23:59 UTC).\n     You should also send a summary of your
+  candidacy announcement (75 words or less) to elections gnome org  If you 
+ are not yet a GNOME Foundation member and would like to stand for election
+ \, you must first apply for membership and be accepted to be eligible to r
+ un. (You may\, however\, announce your candidacy prior to formal acceptanc
+ e of your application\; should your application not be accepted\, you will
+  not be included in the list of candidates.)\n    
+SUMMARY:Announcements and list of candidates opens
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-74910 sapx230
+DTSTART;VALUE=DATE:20140518
+DTEND;VALUE=DATE:20140519
+DESCRIPTION:If you are a member of the GNOME Foundation and are interested
+  in running for election\, you may nominate yourself by sending an e-mail 
+ to foundation-announce gnome org with your name\, e-mail address\, corpora
+ te affiliation (if any)\, and a description of why you'd like to serve\, b
+ efore 2014-05-18 (23:59 UTC).\n     You should also send a summary of your
+  candidacy announcement (75 words or less) to elections gnome org  If you 
+ are not yet a GNOME Foundation member and would like to stand for election
+ \, you must first apply for membership and be accepted to be eligible to r
+ un. (You may\, however\, announce your candidacy prior to formal acceptanc
+ e of your application\; should your application not be accepted\, you will
+  not be included in the list of candidates.)\n    
+SUMMARY:List of candidates closed
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-75065 sapx230
+DTSTART;VALUE=DATE:20140521
+DTEND;VALUE=DATE:20140522
+DESCRIPTION:You may now start to send your questions to the candidates
+SUMMARY:List of candidates announced
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-68474 sapx230
+DTSTART;VALUE=DATE:20140525
+DTEND;VALUE=DATE:20140526
+DESCRIPTION:Please read your email and follow these instructions and submi
+ t your vote by 2014-06-08
+SUMMARY:Instructions to vote are sent
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-27813 sapx230
+DTSTART;VALUE=DATE:20140608
+DTEND;VALUE=DATE:20140609
+DESCRIPTION:Preliminary results are announced on 2014-06-10
+SUMMARY:Votes must be returned
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-13457 sapx230
+DTSTART;VALUE=DATE:20140610
+DTEND;VALUE=DATE:20140611
+DESCRIPTION:The preliminary results can be challenged until 2014-06-17
+SUMMARY:Preliminary results are announced
+END:VEVENT
+BEGIN:VEVENT
+UID:20140405T183050Z-3298 sapx230
+DTSTART;VALUE=DATE:20140617
+DTEND;VALUE=DATE:20140618
+DESCRIPTION:If there weren't any challenges\, preliminary results are vali
+ d
+SUMMARY:Challenges to the results closed
+END:VEVENT
+X-WR-TIMEZONE:UTC
+END:VCALENDAR
+
diff --git a/foundation.gnome.org/vote/2014/voting-instructions.txt 
b/foundation.gnome.org/vote/2014/voting-instructions.txt
new file mode 100644
index 0000000..cd5e454
--- /dev/null
+++ b/foundation.gnome.org/vote/2014/voting-instructions.txt
@@ -0,0 +1,32 @@
+Dear %(firstname)s %(lastname)s,
+
+The election of the GNOME Foundation Board will soon be open.
+
+Voting will run from 2014-05-25 (Sunday) until 2014-06-08, 23:59 UTC.
+
+To vote, please go to http://vote.gnome.org/vote.php?id=18
+and follow the instructions there.
+
+A list of candidates and their reasons for running is available at
+http://vote.gnome.org/2014/candidates.html
+
+When instructed to do so, enter the following details:
+
+   E-mail: %(email)s
+   Vote token: %(token_or_last_renewed_on)s
+
+The election has 4 steps - first, you must identify yourself using the 
+voting token above. Then select your preferred candidates in order of 
+preference. A third step will show you your choice, and ask you to 
+confirm or return to the previous step. Finally, after confirming your 
+choice, a unique identifier will be given to you which will allow you to 
+verify after the election that your vote was counted correctly. To ensure 
+anonymity, no link will be kept between this token and your identifiers, 
+so please keep this token safe. Once you have voted, you will not be able 
+to vote again.
+
+Thank you for your vote!
+
+Regards,
+  Tobias Mueller
+  on behalf of the GNOME Membership and Elections Commitee
diff --git a/foundation.gnome.org/vote/Makefile.am b/foundation.gnome.org/vote/Makefile.am
index a1427b1..7c46e0e 100644
--- a/foundation.gnome.org/vote/Makefile.am
+++ b/foundation.gnome.org/vote/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = include 2004-10 2005-10 2000 2001 2002 2003 2004 2005 2006 2007 2007-10 2009 2010 2011 2012 2013
+SUBDIRS = include 2004-10 2005-10 2000 2001 2002 2003 2004 2005 2006 2007 2007-10 2009 2010 2011 2012 2013 
2014
 
 urlpath = /vote
  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]