🏗️ General structure
This commit is contained in:
7
config.ini.sample
Normal file
7
config.ini.sample
Normal file
@ -0,0 +1,7 @@
|
||||
[Trello]
|
||||
TrelloAPIKey=
|
||||
|
||||
[SMTP]
|
||||
Server=
|
||||
Username=
|
||||
Password=
|
27
main.py
Normal file
27
main.py
Normal file
@ -0,0 +1,27 @@
|
||||
def main():
|
||||
# Step 1:
|
||||
# Create an config file from the sample file if there is none,
|
||||
# then return.
|
||||
# Read config file if it already existed.
|
||||
|
||||
# Step 2:
|
||||
# Get data from Trello API
|
||||
# - Time each card has been in the step it's in
|
||||
# - Escalation level
|
||||
# - Who is assigned (as well as their email)
|
||||
|
||||
# Step 3:
|
||||
# For each card, compare to escalation rules to see if it's at the step
|
||||
# and escalation level it should be at. If not, flag it.
|
||||
|
||||
# Step 4:
|
||||
# Generate reports for each person, showing their own cards.
|
||||
# Perhaps a "master report" with every card.
|
||||
|
||||
# Step 5:
|
||||
# Send out the reports via email.
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in New Issue
Block a user