Skip to content

extensionUtils: Prepare for upcoming changes

Florian Müllner requested to merge fmuellner/gnome-shell:util-preps into main

This is the first of three merge requests to restructure ExtensionUtils and adapt its API for the brave new module world.

It only sets the stage for upcoming changes, so it's a bit of a mixed bag.

Follow up merge requests will split up ExtensionUtils as mentioned in this comment - not only between shell/extenstion stuff, but also in ExtensionUtils-for-extensions and ExtensionUtils-for-prefs.

Finally, a merge request will implement the class-based API outlined in this comment.

As a bonus, in the end no module that is shared between the shell and prefs will use Main.extensionManager directly, which should help with the overall ESM port.

Anyway, need to catch some sleep now :-)

Merge request reports