@rgarner I’m trying to think how to make a system like https://plugins.octoprint.org/; could be that engines aren’t quite the right thing, but maybe there’s a way I can bend them to my will.
Post
Replies:
5
@floppy any mileage in abusing one or more `constraints` blocks with custom FeatureConstraints#matches?
@rgarner hm, maybe…. This is all useful stuff thank you. Helpful to have ideas just bouncing around ❤️
@rgarner I’m trying to think how to make a system like https://plugins.octoprint.org/; could be that engines aren’t quite the right thing, but maybe there’s a way I can bend them to my will.
@floppy all an Engine really is is a Rack app that has a routing match associated with it at boot time via #mount (routes end up compiled so there's no real 'dynamic' there to speak of), so if your plugins map naturally to sprouting a bunch of new paths, so much the better – spike out something with constraints (no reboot required!)
If it's something different to that? Dunno. Couldn't divine the OctoPrint boundary from a cursory glance...