Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Horiguchi
bb412a5125
gnomeExtensions: cleanup extension renames 2021-10-27 00:18:58 +02:00
Ryan Horiguchi
9cb9b011ac
gnomeExtensions: auto-update 2021-10-18 00:51:10 +02:00
Ryan Horiguchi
f9d6a88874
gnomeExtensions: Auto-update 2021-10-02 16:50:27 +02:00
piegames
ccb3538971 gnomeExtensions: Auto-update 2021-08-21 01:46:51 +02:00
Josh Moller-Mara
5806a57ce6 gnomeExtensions.system-monitor: fix system-monitor name collision
"system-monitor@paradoxxx.zero.gmail.com" is manually packaged,
"System_Monitor@bghome.gmail.com" is automatically packaged.
Both have the extensionPortalSlug "system-monitor", but the former
gets shadowed by the latter.
2021-07-30 14:21:59 -07:00
piegames
bffbf4617a gnomeExtensions: integrate manually packaged extensions better with the others
Their keys are now not used directly. Instead, we go the standard route of mapping to the
UUID in order to apply the rename procedure. This makes sure the manual override always does
the correct thing, and also gives us more consistency overall.
2021-07-14 03:35:11 +02:00
piegames
b642ac7b70
gnome: Package all the GNOME extensions
An automatic way to do this that scales up and requires little manual intervention is really needed. It works by scraping extensions.gnome.org with a python script, that writes all relevant information into the `extensions.json`. Every attribute of besaid file can be built into a package using `buildShellExtension`.

Extensions are grouped by GNOME Shell version for practical reasons. Only extensions for GNOME 40 and 3.38 were added, as we don't support legacy GNOME versions.
The extensions are exposed as an attrset, `pkgs.gnome40Extensions` and `pkgs.gnome38Extensions` respectively. The package name of each extensions is generated automatically from its UUID.

The attribute `pkgs.gnomeExtensions` contains the officially packaged and supported extensions set. It contains all the automatically packaged extensions for the current GNOME Shell version, which are overwritten by manually packaged ones where needed. Unlike gnomeXYExtensions, the names are not UUIDs, but automatically generated human-friendly names. Naming collisions – which are tracked in collisions.json – need to be manually resolved in the `extensionRenames` attrset.
2021-05-21 23:10:12 +02:00