commit b9be1e829ff03ad42bb2a2833529ccb6b52fd5f1 Author: Nikolaj Gade Date: Wed Aug 21 12:25:43 2024 +0200 :building_construction: General structure diff --git a/config.ini.sample b/config.ini.sample new file mode 100644 index 0000000..6a27365 --- /dev/null +++ b/config.ini.sample @@ -0,0 +1,7 @@ +[Trello] +TrelloAPIKey= + +[SMTP] +Server= +Username= +Password= diff --git a/main.py b/main.py new file mode 100644 index 0000000..8d50b79 --- /dev/null +++ b/main.py @@ -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() \ No newline at end of file