mp-access / Backend-Re

0 stars 2 forks source link

Check for repo updates even on start up #25

Closed a-a-hofmann closed 2 years ago

a-a-hofmann commented 5 years ago

If there is an update to a repo while the server is down and cannot receive webhooks, then the submissions will not be invalidated

a-a-hofmann commented 5 years ago

In case of a server restart we lose the previous version of a course. In order to check if there were updates we would have to parse the local git repository first, then try to pull for updates

Haeri commented 5 years ago

We can sote the current git hash and and on crash pull that commit from git to restore our last state and then pull the latest commit to then generate diffs

ofvalentine commented 2 years ago

The course supervisor controls when the course data is pulled via the frontend.