louisdewar / doxa

The OLD version of DOXA (for the new version see https://doxaai.com) A customisable platform for creating fully automated AI 🧠 competitions.
https://doxa.uclaisociety.co.uk
14 stars 2 forks source link

Update process for doxa_cli #55

Open louisdewar opened 2 years ago

louisdewar commented 2 years ago

Currently there's no convenient way to let users know they need to update other than telling them to delete their bin folder.

We could probably include the version number of the CLI in the user agent and then the server could automatically detect if the version of the user agent is below the current programmed CLI version and then set a response header indicating that the client should update. The cli could then perform the request as usual but show a message telling the user to update.