dbvideostriketeam / wubloader

MIT License
14 stars 6 forks source link

Automate deployments of thumbnail templates #358

Open chrusher opened 10 months ago

chrusher commented 10 months ago

It would be nice if the thumbnail templates could be updated on one node and the other edit nodes could automatically update. Existing backfiller code could be adapted but special handling will be need for when a template is updated rather than added.

ekimekim commented 8 months ago

Bonus work: Making it possible for non-technical folks to upload/update templates.

ekimekim commented 8 months ago

Thinking about it, it may be easier to store the templates in the database. They are not large, nor accessed frequently. In addition, thrimshim needs to know which ones exist and thrimshim is designed to not nessecarily have disk access. This solves the distribution problem (even for volunteer edit nodes), though we would need to make some tooling for template management. But we want to do that anyway, so non-technical folks can manage it.

chrusher commented 8 months ago

Yeah that seems like a reasonable solution.

For template management, we would want to add, replace, rename and delete templates as well as setting and modifying the template parameters and any template attribution (see issue #380). I assume a web form to do this should not be too difficult. We likely want to put authentication on the web form so only the art team and the wub wranglers can modify things.

ekimekim commented 2 weeks ago

An additional thought on this: Right now the default thumbnail template is selected via a hard-coded list inside thrimshim. This has already broken things once because we renamed the templates and didn't update thrimshim. A better solution would probably be to make "default template for each shift" selectable in whatever UI we end up with.

This is a bonus though, our current solution does work.