Add Voting Last Days template for Combined model
An E-mail template for the previously missing voting_last_days message when in a combined model election. Also adjust the poll_name replacement macro for the more verbose TC poll name used this cycle, and switch the reference_url replacement macro from Gitea's raw view to its normal code browsing view. Change-Id: I8072afe6edbd4253be96cdc188d0c6aeceeee298
This commit is contained in:
parent
a19a2e824a
commit
66e843bf6b
@ -10,7 +10,8 @@ from openstack_election import utils
|
|||||||
|
|
||||||
conf = config.load_conf()
|
conf = config.load_conf()
|
||||||
|
|
||||||
REFERENCE_URL = utils.PROJECTS_URL % '/'.join(('tag', conf['tag']))
|
REFERENCE_URL = utils.PROJECTS_URL.replace(
|
||||||
|
'raw', 'src') % '/'.join(('tag', conf['tag']))
|
||||||
LEADERLESS_URL = ('https://governance.openstack.org/resolutions/'
|
LEADERLESS_URL = ('https://governance.openstack.org/resolutions/'
|
||||||
'20141128-elections-process-for-leaderless-programs.html')
|
'20141128-elections-process-for-leaderless-programs.html')
|
||||||
|
|
||||||
@ -41,7 +42,8 @@ if election_type in ['tc', 'combined']:
|
|||||||
campaign_end=utils.get_event('TC Campaigning')['end_str'],
|
campaign_end=utils.get_event('TC Campaigning')['end_str'],
|
||||||
election_start=utils.get_event('TC Election')['start_str'],
|
election_start=utils.get_event('TC Election')['start_str'],
|
||||||
election_end=utils.get_event('TC Election')['end_str'],
|
election_end=utils.get_event('TC Election')['end_str'],
|
||||||
poll_name='%s TC Election' % (conf['release'].capitalize()),
|
poll_name='OpenStack %s Cycle Technical Committee Election Poll' % (
|
||||||
|
conf['release'].capitalize()),
|
||||||
))
|
))
|
||||||
template_names += ['campaigning_kickoff']
|
template_names += ['campaigning_kickoff']
|
||||||
|
|
||||||
|
43
openstack_election/templates/combined_voting_last_days.j2
Normal file
43
openstack_election/templates/combined_voting_last_days.j2
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
To: openstack-discuss@lists.openstack.org
|
||||||
|
Subject: [all][elections][ptl][tc] Combined PTL/TC Voting Last Days
|
||||||
|
|
||||||
|
We are coming down to the last hours for voting in the TC and
|
||||||
|
{{ list_of_elections }}
|
||||||
|
elections. Voting ends {{ election_end }}.
|
||||||
|
|
||||||
|
Search your Gerrit preferred email address[0] for the messages with
|
||||||
|
subjects like...
|
||||||
|
|
||||||
|
Poll: {{ poll_name }}
|
||||||
|
|
||||||
|
That is your ballot and links you to the voting application. Please
|
||||||
|
vote. If you have voted, please encourage your colleagues to vote.
|
||||||
|
|
||||||
|
Candidate statements are linked to the names of all confirmed
|
||||||
|
candidates: https://governance.openstack.org/election/
|
||||||
|
|
||||||
|
What to do if you don't see the email and have a commit in at least
|
||||||
|
one of the official project teams' deliverable repositories[1]:
|
||||||
|
|
||||||
|
* check the trash of your gerrit Preferred Email address[0], in
|
||||||
|
case it went into trash or spam
|
||||||
|
|
||||||
|
* find the ID of at least one commit merged to an official
|
||||||
|
deliverable repo[1] over the current and previous cycles, confirm
|
||||||
|
you are an OpenStack Foundation Individual Member[2], and then
|
||||||
|
email the election officials[3] or get in touch in the
|
||||||
|
#openstack-elections channel on the Freenode IRC network.
|
||||||
|
|
||||||
|
If we can confirm that you are entitled to vote, we will add you
|
||||||
|
to the voters list and you will be emailed a ballot.
|
||||||
|
|
||||||
|
Please vote!
|
||||||
|
|
||||||
|
Thank you,
|
||||||
|
|
||||||
|
[0] Sign into review.openstack.org and go to Settings > Contact
|
||||||
|
Information. Look at the email listed as your Preferred Email.
|
||||||
|
That is where the ballot has been sent.
|
||||||
|
[1] {{ reference_url }}
|
||||||
|
[2] https://www.openstack.org/profile/
|
||||||
|
[3] https://governance.openstack.org/election/#election-officials
|
Loading…
x
Reference in New Issue
Block a user