monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
614 stars 144 forks source link

duplicate engines mitigation #1746

Open catfact opened 6 months ago

catfact commented 6 months ago

of course it has been a problem for years that script authors want to distribute copies of required engine classes with their script libs.

one option is simply to "name-mangle" the engine class when you copy it. not a terrible solution but a bit weird looking and really requires everyone follow a robust mangling scheme consistently.

but it also could be mitigated at a system level, and i really think its high time we did this:


and of course we also never did follow through on these fine suggestions and preliminary work for runtime-interpreted engine code: https://github.com/monome/norns/issues/863

tehn commented 6 months ago

i think this is a a good idea.

given an engine install from maiden requires a matron/crone restart, having this script run at matron start seems like it'd be robust.

i think this could be done pretty easily with a very short shell script?

where should the "holding area" be? or it could be renamed in-place, like *.sc.disabled

and soft-error listing disabled engines should be issued


i like #863 as well