While discussing methods to implement logging functionality of the Logger addon into other addons with @pauloamgomes, I thought about a way to load addons in a specific order. The current way, cockpit loads modules, is iterating over /modules, /addons, custom addon folders, that are defined via config loadmodules and than they load alphabetically.
Today I wrote a simple addon, that adds the option to
load modules in a specific order and to
load modules only if you need them (e. g. api calls don’t need to load admin ui addons)