buggyrace / buggy-race-server

Race server and supporting material for running a "Buggy Racing" Python programming project
https://www.buggyrace.net
Other
1 stars 0 forks source link

offer choice of default phase 0 tasks depending on config #150

Closed davewhiteland closed 1 year ago

davewhiteland commented 1 year ago

We need to review of how the phase 0 tasks could take into account the project config settings after the set-up phase but before the project has begun. There's a little bit of this going on — but not enough — in the conditional parts of the workflow page (/project/workflow on the race server): that page is customised depending on choices made in the "Project" and "GitHub" config settings... currently that's not reflected in the task texts, because we have only one default set of task texts at the moment... but I think we might need a choice of defaults for phase 0 because this is a bit challenging for someone setting up a new project.

davewhiteland commented 1 year ago

This is implemented in the drop-down from DistribMethod

https://github.com/buggyrace/buggy-race-server/blob/main/buggy_race_server/admin/models.py#L120-L154