election/openstack_election/cmds
Ghanshyam Mann ecbdd0dbb9 Fix setup_election_config for combined election events
Most of the election tooling work on seperate events
of PTL and TC election. If election is combined then
setup_election_config generate the combined event(
for example 'TC & PTL Election') and it does not work
with those tools/scripts.

This fixes it and even for combined election it generates
the separate events. If we look at the election site, the
separate events are more clear for users.

Generated config looks like below:

Change-Id: I7d2e540dea9d89c832f6d9e3e9da743fe8d39295

---
release: 2023.2
election_type: combined
tag: mar-2023-elections
tc_seats: 4
timeframe:
  name: Zed-2023.1
  start: 2022-03-11T00:00
  end: 2023-02-15T00:00
  email_deadline: 2023-02-15T00:00
timeline:
- name: TC Nominations
  start: 2023-02-01T23:45
  end: 2023-02-15T23:45
- name: PTL Nominations
  start: 2023-02-01T23:45
  end: 2023-02-15T23:45
- name: TC Campaigning
  start: 2023-02-15T23:45
  end: 2023-02-22T23:45
- name: TC Election
  start: 2023-02-22T23:45
  end: 2023-03-08T23:45
- name: PTL Election
  start: 2023-02-22T23:45
  end: 2023-03-08T23:45

Change-Id: I5b1766d0fce9eb7ded000a7b582a8e4086314831
2023-03-08 08:15:26 -08:00
..
__init__.py Make openstack_election look more like a python module 2016-09-12 15:35:40 +10:00
change_owners.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
check_all_candidacies.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
check_candidacy.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
check_manual.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
ci_check_all_candidate_files.py Don't test candidate files if they're removed 2020-09-28 13:21:06 +00:00
close_election.py Omit leaderless list from TC election results 2021-03-10 19:51:44 +00:00
create_directories.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
generate_rolls.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
render_statistics.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
search_rolls.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
setup_election_config.py Fix setup_election_config for combined election events 2023-03-08 08:15:26 -08:00
template_emails.py Migrate election tooling to release versions 2023-03-03 11:01:20 -08:00
update_governance.py Use PTL election results for governance updates 2020-10-28 18:32:31 +00:00