diff --git a/PLAN.md b/PLAN.md index 3e8e98f..e05b9b5 100644 --- a/PLAN.md +++ b/PLAN.md @@ -4,6 +4,27 @@ 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-latest` label and can run the `archlinux:base-devel` container, + and Gitea's Arch API answers the upload with 201 (409 for a version it + already has), as `release.sh` expects. Only tested against a fake + registry in a local container so far. +- [ ] After the first `update` with the package and a re-login, + `gnome-extensions info coredesktop@federated.computer` shows the path + under `/usr/share/gnome-shell/extensions` and `State: ACTIVE` +- [ ] A new install (or `refresh`) turns the menu on through + `gnome/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 @@ -32,3 +53,23 @@ only been tried in a headless GNOME Shell 51 with a stub `sibling`. - [ ] 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 any `JS ERROR` + +## Other + +- [ ] `refresh` turns the menu back on for a user who turned it off, since + `gnome/gnome-extensions.sh` runs `enable_gnome_extension` every 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-version` in `metadata.json` + when it comes out (48–51 now). GNOME disables an extension that doesn't + list the running version, and CoreDesktop's `80-gnome-extensions.sh` + doesn't look at system extensions, so nothing else catches it. +- [ ] `release.sh` builds the newest commit on Gitea's `main`, 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 `makepkg` and upload. Copy `release.sh`, the `release` make + target and the workflow there, with its own repo-level `PACKAGE_TOKEN` + secret. The calendar's build needs `meson` and its dependencies, so it + can't use `--nodeps` and needs `makepkg --syncdeps` in the container.