Open corviday opened 6 years ago
So, I'm a big fan of command line tools. But OTOH I'm not sure how well our command line tools for ensemble create/modify/delete have been serving us. I'm curious as to whether it would be worthwhile to write a small management web app, similar to what you get with the Django admin interface (if you've ever used something like that). Maybe we could try and spin something up using Flask-Admin?
We have a reasonably solid tool for associating files to an ensemble, but we don't have a good way to remove files from an ensemble. When I've had to do it, I've just run SQL queries on the live database, not an experience I relish.
It would be nice if there was a better way to remove files from an ensemble. Something that would probably be easy to do would be the inverse of the
associate_ensemble
script; you'd pass it one or more file names (and optionally variable names) and an ensemble name and those files are removed from the ensemble.A fancier system might accept a .yaml file that would provide the attributes of the files you'd like added or removed, something like:
but that seems even less likely to be a good use of our time.