PeterJCLaw / srcomp-cli

Command line tools for interacting with the state of the Student Robotics Competition
https://github.com/PeterJCLaw/srcomp/wiki
0 stars 2 forks source link

Make league schedule import ordering user-controllable #13

Closed PeterJCLaw closed 3 years ago

PeterJCLaw commented 3 years ago

Currently it's based on whether we have a layout file and if present the ordering of the teams there. This is intentional and needed at a physical competition where the layout ordering relates to the order in which we safety check teams and thus the order they're actually ready for a match. However for virtual competitions this is less useful and instead it would be nice to be able to either specify an ordering otherwise and/or ask for a random arrangement.

While fixing this we may also remove the conditional check regarding the existence of the layout file, since loading SRComp requires the file anyway.