aaron-iles / ultra_tracker

A personal tracker for ultrarunners.
0 stars 0 forks source link

Add config validation #18

Open aaron-iles opened 6 months ago

aaron-iles commented 6 months ago

To avoid issues post standup of the container, add validation to the provided config file.

  1. Valid yaml (kinda already done)
  2. Each aid station is found in the map (may already be done)
  3. The runner marker is found in the map (may already be done)
  4. The runner's estimate marker is found in the map (may need improvement)
  5. The start time is correctly formatted
aaron-iles commented 3 months ago

Definitely need to check that the aid stations are found since the error that occurs when someone typos the aid station name in the config is hard to track down.