feat(gnome-extensions): Add PK ID recipe input support (#249)
* chore(gnome-extensions): Make extension URL quering more robust If there are multiple Gnome extensions with the same name, & they are compatible with Gnome version in the base image, then build will fail. Previously, build would always fail if there are extensions with duplicate names. * docs(gnome-extensions): Fix typo * docs(gnome-extensions): Mention github repo * fix(gnome-extensions): Version checking * chore(gnome-extensions): Make operation order better for reading * feat(gnome-extensions): Use new PK ID installation method * fix(gnome-extensions): Unbound variable error * fix(gnome-extensions): Legacy config order logic * docs(gnome-extensions): Fix spacing * docs(gnome-extension): Delete false-claim about better config readability * chore(gnome-extensions): Add safe check for "null" in if `jq` parsing * chore(gnome-extensions): Update uninstall step to use PK This will break config for uninstalling extensions in literal names, but I bet that no one uses this feature yet since this extension is still new & fresh, so I'll just break it. * Revert to the current module state * docs(gnome-extensions): Add README details about missing gschema.compiled file * chore(gnome-extensions): Introduce hybrid literal-name/PK config If 2 or more same-named extensions are recommended, then user is recommended to use PK ID instead. * chore(gnome-extensions): Ignore ShellCheck 2128 error, since it's harmless & intended * chore(gnome-extensions): Also ignore harmless SC2178 notice * chore(gnome-extensions): Use UUID for matching compiled.gschema workaround rather than extension name * docs(gnome-extensions): Add note in module.yml that PK can be used
This commit is contained in:
parent
14d98ff8e3
commit
a7024ba475
3 changed files with 98 additions and 33 deletions
|
|
@ -7,6 +7,12 @@ example: |
|
|||
- Night Theme Switcher
|
||||
- Blur my Shell # Notice how extension is named "Blur my Shell" & not "Blur My Shell"?
|
||||
# Name is case-sensitive, so check if extension name is typed correctly
|
||||
- AppIndicator and KStatusNotifierItem Support
|
||||
- 307 # Dash-to-Dock
|
||||
# https://extensions.gnome.org/extension/307/dash-to-dock/
|
||||
# You can also specify PK ID number from the extension URL,
|
||||
# if you encounter the scenario where there are multiple extensions with the same name.
|
||||
# You don't need to look & search for this scenario, since module will automatically fail & inform you to put PK ID number instead
|
||||
uninstall:
|
||||
- GSConnect # Uninstall step here should be used only for the extensions
|
||||
# which are not installed through OS package manager in the base image,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue