🏗️ General structure

This commit is contained in:
2024-08-21 12:25:43 +02:00
commit b9be1e829f
2 changed files with 34 additions and 0 deletions

7
config.ini.sample Normal file
View File

@ -0,0 +1,7 @@
[Trello]
TrelloAPIKey=
[SMTP]
Server=
Username=
Password=

27
main.py Normal file
View 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()