The Sphinx directive ' *' generates a blockquote'd list which isn't
needed for TC elections as we don't need nested lists like we do for PTL
elections.
Switch to a std. ul
Change-Id: I999a2823d421b24e80aacf71af41475a26c9888d
Our current list appears to be unsorted at best, leading to an out of
order history of the previous elections. Reverse the list displaying
recent (first) to latest (last) results.
Change-Id: I8228aeaac205c35633f3c6e5279497c6b7177125
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* Change candidacy filenames from IRC nick to email address
* Assert that candidates must self-nominate, but others may commit to gerrit
* Indcate that IRC nick will be collected from the Foundation Member profile
Change-Id: I4393c30265cd5b6cb7667b14ef2ef4b15b774533
By default date.parse() will use the local timezone from the browers.
But, we want to force UTC, since users are from around the world.
Change-Id: I6430704f46c293e31804e6890eac1abcb955ad8a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Please note:
1. We can't use the aug-2017-elections tag as governed projects may have
changed. The new tag will need to be applied before 2017-10-09T23:59
2. The dates for valid APC's is extended from the PTL election to
include the final days of the Pike release This matches my reading
of the bylaws Appendix 4, Section 3.b.ii [1]
"""
An Individual Member is an ATC who has had a contribution
approved for inclusion in any of the official OpenStack projects
during one of the two prior release cycles of the Core OpenStack
Project.
"""
3. The election period is 5 business days which exceeds the
requirement of 4 business days [2]
[1] https://www.openstack.org/legal/technical-committee-member-policy/
[2] https://governance.openstack.org/tc/reference/charter.html#election-for-tc-seats
Change-Id: Id8df8d4f7062316347fc5cfb3ec8323c8ec2df9c
At the time od election Vladimir used the @mirantis address. Since
then that email address has been removed from gerrit. Using the REST
api we can confirm that the account that uploaded that review matches
the new email address.
---
[tony@thor ~]$ curl https://review.openstack.org/changes/?q=I8d4fba4f2c39bf0542c79e9999a3face2261f2ce
)]}'
[
{
"id": "openstack%2Felection~master~I8d4fba4f2c39bf0542c79e9999a3face2261f2ce",
"project": "openstack/election",
"branch": "master",
"hashtags": [],
"change_id": "I8d4fba4f2c39bf0542c79e9999a3face2261f2ce",
"subject": "Nominate Vladimir Kuklin for Fuel PTL for Pike",
"status": "MERGED",
"created": "2017-01-27 13:26:56.000000000",
"updated": "2017-01-30 09:28:04.000000000",
"submitted": "2017-01-28 01:29:56.000000000",
"insertions": 126,
"deletions": 0,
"_number": 426230,
"owner": {
"_account_id": 8786
}
}
]
[tony@thor ~]$ curl https://review.openstack.org/accounts/8786
)]}'
{
"_account_id": 8786,
"name": "Vladimir Kuklin",
"email": "aglarendil@gmail.com",
"username": "aglarendil"
}
---
Change-Id: Idedb61072b9996976c372c5e57d0cc356a2b9308
This change adds final result mail announcement so that officials can
cross check the result before sending the announcement.
The document will be available at:
https://governance.openstack.org/election/_sources/results/
Change-Id: Ie3181d98b55ebf032f9c12603c8a98d37bfb9881
The original implementation of archived election results doesn't
work well for publishing the result of the PTL round of the current
election. Instead of relying on an (explicit) list of past elections,
this change moves the archive to a results directory and render
all the results present (implicit).
Change-Id: Ia78988bced1cc07e2a44dde46b793f106857af94
The current events extension is computing the statuses at build time,
which is getting incorrect when an event is outdated until there is
a rebuild. This change fix that by doing the event status computation
at load time in javascript.
Moreover this change removes an unused import in utils.
Change-Id: Ifd1b84ff0182cf9bb7950da3d59f36c83019ac30
When building docs if a single candidate runs for PTL of multiple projects
sphinx will generate warnings like:
.../openstack/election/doc/source/ocata/ptl.rst:3: WARNING: Duplicate explicit target name: "tony breeds (tonyb)".
.../openstack/election/doc/source/ocata/ptl.rst:3: WARNING: Duplicate explicit target name: "tony breeds (tonyb)".
.../openstack/election/doc/source/ocata/ptl.rst:3: WARNING: Duplicate explicit target name: "tony breeds (tonyb)".
Make the candidate links anonymous to avoid those warnings.
Even though it can't be a problem for the TC make those links anonymous for
consistency
Change-Id: I5a812db7f9ac1438b79db0cd8c77f8850c1922bf
If we run the tools (create-directories or check-all-candidacies) under
python3 they'll fail with silly errors (like[1]). This is because we
have a number of assumptions they we'll be running under python2 like:
- pickle.protocol: we done specify one so if we write a pickle file
from python3 we can't read it in python2.
- urllib and urlparse: those modules change paths in python 2 or 3 so
use the six helpers to get the bits we want.
- Explicitly write files in binary format
- Various str vs bytes issues
- dict().keys() returns dict_keys under python3 explictly cast that to
list()
After addressing these issues we can run the tools under either python2
or python3. To make this easy to check create explicit ven2 and venv3
test environments, leaving all other testenvs to use the system default.
[1] http://paste.openstack.org/show/593823/
Change-Id: I20334a52500847c810b486c9c8b108e75a5d6303
This change moves parameter from utils.py and index.rst to the
configuration.yaml. Moreover this change does:
* Use ISO 8601 dateformat in configuration
* Change events extension to use datetime instead of calendar
* Add a configuration extension to render doc substitutions
Change-Id: Ie35cb9ae2c334814afaa36b3afd606c8bcf62616
This change modifies the timeline structure to describe a
start and end date instead of two different events.
Moreover this change adds:
* the number of days remaining until the next event.
* a 'next' status when current event haven't started yet
Change-Id: Ib76b0315a7409a8442c1be6f8341b0596c1d56ae
This change renders dynamic rst file to doc/source instead of candidate directory
so that they gets published by infra docs jobs. This is just to be able to access
the source rst file on docs-draft.openstack.org host.
Change-Id: I2435531d091ff051338c4ba9a495834d6653ab68
./doc/source/_exts/candidates.py:20:1: H306 imports not in alphabetical order (jinja2.filesystemloader, jinja2.environment.environment)
./doc/source/_exts/events.py:17:1: H306 imports not in alphabetical order (os, calendar)
./doc/source/_exts/events.py:21:1: H306 imports not in alphabetical order (jinja2.filesystemloader, jinja2.environment.environment)
./openstack_election/check_candidacy.py:62:29: E126 continuation line over-indented for hanging indent
./openstack_election/utils.py:27:1: H306 imports not in alphabetical order (yaml, re)
./openstack_election/cmds/close_election.py:90:9: H232 Python 3.x incompatible octal 755 should be written as 0o755
./openstack_election/tests/test_utils.py:25:21: E126 continuation line over-indented for hanging indent
./tools/new-election.py:18:31: H301 one import per line
./tools/new-election.py:27:5: H233 Python 3.x incompatible use of print operator
./tools/new-election.py:31:5: H233 Python 3.x incompatible use of print operator
./tools/new-election.py:41:5: H233 Python 3.x incompatible use of print operator
Co-Authored-By: Nguyen Hung Phuong <phuongnh@vn.fujitsu.com>
Change-Id: Idd9bc1f1f92da1658e6da2af588c575ee0ba2cb0