4.1 KiB
Plan
What's left to do in the CoreDesktop GNOME extension. Delete an item once it's
done; git history keeps the record. Checks that need a real GNOME session are
in TEST.md.
Install and update with CoreDesktop
The extension is the gnome-shell-extension-coredesktop package in the
[federated] pacman repo, like Federated Calendar. build-aux/arch/PKGBUILD
builds it, .gitea/workflows/release.yml (or make release) publishes it,
and CoreDesktop installs it from packages.conf and turns it on
(gnome/gnome-extensions.sh, migrations/1795806218.sh). Still to check:
- The first run of the Release workflow on Gitea works: the runner has the
ubuntu-latestlabel and can run thearchlinux:base-develcontainer, and Gitea's Arch API answers the upload with 201 (409 for a version it already has), asrelease.shexpects. Only tested against a fake registry in a local container so far. - After the first
updatewith the package and a re-login,gnome-extensions info coredesktop@federated.computershows the path under/usr/share/gnome-shell/extensionsandState: ACTIVE - A new install (or
refresh) turns the menu on throughgnome/gnome-extensions.sh - The license: the PKGBUILD says MIT, to match CoreDesktop, but the
repo has no LICENSE file. Add one, or change
license=to the right one.
Sibling projects
Done in 9e514eb (released as 1.0.r3.g9e514eb): the Sibling projects menu
item and dialog, from sibling check --porcelain, with Update and
Update all running sibling update in a terminal. A newer sibling counts
as an update for the Update pill, the header and the dot. So far it has
only been tried in a headless GNOME Shell 51 with a stub sibling.
- Run the "Sibling projects" part of
TEST.mdon a real session, with real siblings and a network, on GNOME 48 and 51 at least - A sibling update started from the menu writes no log, so when one fails
its notification can't offer Open log or Report problem. Have
bin/run-trackedsave the output in~/.local/state/coredesktop/logsfor these, or havesibling updatewrite its own log the wayupdatedoes - Siblings update one run at a time, like update and refresh (see
changesSysteminextension.js). Decide whether two different siblings may update at once
Testing
- The extension's only automated check is
make lint. Add gjs tests for what doesn't need a shell: parsingsibling check --porcelain(Cli.checkSiblings, including, modifiedand?) andconfigure --list, run against stub commands in a temporaryHOME - Script the headless shell run from the README into
make smoke: start it with stub commands, open the menu and each dialog from a probe extension, screenshot them, and fail on anyJS ERROR
Other
refreshturns the menu back on for a user who turned it off, sincegnome/gnome-extensions.shrunsenable_gnome_extensionevery time. Fix with a once-per-user marker (e.g. in~/.local/state/coredesktop/) if anyone minds.- Add each new GNOME Shell version to
shell-versioninmetadata.jsonwhen it comes out (48–51 now). GNOME disables an extension that doesn't list the running version, and CoreDesktop's80-gnome-extensions.shdoesn't look at system extensions, so nothing else catches it. release.shbuilds the newest commit on Gitea'smain, not the commit that started the workflow. Two quick pushes can release the second one twice (the second run then succeeds with "nothing to do"). Fine as is; pin the PKGBUILD's source to the commit if it ever matters.- Federated Calendar has the same gap this repo had: publishing is a
manual
makepkgand upload. Copyrelease.sh, thereleasemake target and the workflow there, with its own repo-levelPACKAGE_TOKENsecret. The calendar's build needsmesonand its dependencies, so it can't use--nodepsand needsmakepkg --syncdepsin the container.