Version 1:
We have a script running somewhere with filesystem access to the server and it just goes through all the folders and add them as events, games, logs, experiments and sets the image paths.
The Code is quite easy because that what we basically already do.
Version 2:
We add manually all the paths to the logs and experiments. Based on the structure a script running on the hetzner server can figure out the rest.
Version 3:
We have a script with filesystem access that adds all the logs to the database. Another script running on hetzner then figures out the connection to games, events and so on. Would be a bit more coding effort then version 1. The only thing to gain from this approach is that the script on the uni server has less to do. But it still needs to go over every folder just like in version 1.
Version 1: We have a script running somewhere with filesystem access to the server and it just goes through all the folders and add them as events, games, logs, experiments and sets the image paths.
The Code is quite easy because that what we basically already do.
Version 2: We add manually all the paths to the logs and experiments. Based on the structure a script running on the hetzner server can figure out the rest.
Version 3: We have a script with filesystem access that adds all the logs to the database. Another script running on hetzner then figures out the connection to games, events and so on. Would be a bit more coding effort then version 1. The only thing to gain from this approach is that the script on the uni server has less to do. But it still needs to go over every folder just like in version 1.