Open dirkleas opened 6 years ago
prototyped in src/python with usage rackcli fix SevenModules.vcv
or if it's the last patch you had loaded in rack you can simply use rackcli fix
. the algorithm uses a fuzzy algorithm for matching slug variants like the Vult example above
Add plugin feature to rename changed slugs for situations where patches referenced plugins/modules by slug/etc. have been renamed by developer or comes in multiple bundles (e.g. free, pay). Make the rename feature smart enough to suggest correct names/values. Consider using sed-style editing syntax (e.g. standard mac/linux stream editor).
For example, Trummor2 comes in both Vult's free and pay bundles. If someone shares a patch based on the free bundle and you go to play it with only the pay bundle installed, it throws an error when you open the patch -- rackcli to the rescue...
rackcli --patch SevenModules.vcv --sed "s/VultModulesFree/VultModules/g"
Add more smarts by looking up Vult module options online and streamline to...
rackcli --patch SevenModules.vcv --fix