92 lines
4.5 KiB
Markdown
92 lines
4.5 KiB
Markdown
# Plan
|
|
|
|
What's left to do in the Federated Connector for Pop!_OS. Delete an item once
|
|
it's done; git history keeps the record. How to test is in [TEST.md](TEST.md).
|
|
|
|
This project stays separate from CoreDesktop: Pop!_OS needs its own setup
|
|
(apt, Flathub, COSMIC, Evolution), but it keeps roughly in step with
|
|
CoreDesktop's `configure`, with the same items, working the same way. It
|
|
supports Pop!_OS 26.04 and later only.
|
|
|
|
## Federated Calendar
|
|
|
|
CoreDesktop installs Federated Calendar (based on GNOME Calendar, adds
|
|
invitations and Jitsi meetings) from the `[federated]` pacman repo. It isn't
|
|
built for Pop!_OS yet: the
|
|
[federated-calendar](https://gitea.federated.computer/Federated_Computer/federated-calendar)
|
|
repo only has `build-aux/arch/`.
|
|
|
|
It will ship as a Flatpak, app ID `computer.federated.FederatedCalendar`: it
|
|
runs the same on every Pop!_OS release, and the COSMIC Store updates it, as it
|
|
does Element. Since 2026-11-28 another agent has been doing the
|
|
federated-calendar side, from a brief that asks it to:
|
|
|
|
- build the Flatpak in federated-calendar's Gitea Actions, from upstream's
|
|
`build-aux/org.gnome.Calendar.json`, and publish a GPG-signed Flatpak repo
|
|
over HTTPS with a `.flatpakrepo` (Gitea doesn't serve one itself)
|
|
- bundle an EDS whose D-Bus interfaces match Pop!_OS 26.04's
|
|
evolution-data-server 3.56, and talk to it and Online Accounts 3.58 over
|
|
D-Bus (`--talk-name=org.gnome.evolution.dataserver.*`,
|
|
`org.gnome.OnlineAccounts`)
|
|
- find the Core in both `~/.config/coredesktop/cores/*.conf` and
|
|
`~/.config/federated-connector/cores/*.conf` (read-only `xdg-config`
|
|
permissions, paths built from the home folder, not the Flatpak's config
|
|
folder), so the connector keeps writing only its own
|
|
- restart itself after an update, through the Flatpak portal's update monitor,
|
|
once no event editor has unsaved changes. This replaces `update` restarting
|
|
it: the COSMIC Store, not `update`, installs the new version.
|
|
- report back the remote's name, the `.flatpakrepo` URL, the signing key's
|
|
fingerprint, the app ID and branch, and any permission or setup the
|
|
connector must add
|
|
|
|
Here, once it reports back:
|
|
|
|
- [ ] Install it in `configure core`, after the calendars are added: add the
|
|
remote from its `.flatpakrepo` (checking the key's fingerprint), then
|
|
the app, per user as Flathub is. Show it as to do in `configure` until
|
|
it's installed.
|
|
- [ ] Say so in the README, alongside Evolution
|
|
- [ ] A smoketest scenario for what a container can check (the remote and its
|
|
key, with a stand-in `flatpak`)
|
|
- [ ] The Federated Calendar checks in [TEST.md](TEST.md)
|
|
|
|
## Keep in step with CoreDesktop
|
|
|
|
Last compared with CoreDesktop at `4e9b962` (2026-11-28). Port what applies to
|
|
Pop!_OS, then move this marker to the CoreDesktop commit compared with. To see
|
|
what's new:
|
|
|
|
```
|
|
git -C ../coredesktop log --oneline <marker>..HEAD -- configure configure.d sandbox system
|
|
```
|
|
|
|
Nothing to port since `4e9b962`.
|
|
|
|
Not ported, and why:
|
|
|
|
- `ffbaf71` Keep other machines on the network from reaching Docker
|
|
containers: only if the connector ever installs Docker
|
|
- From `9dc5eb1`: the pacman guard, unowned files and `hardware.sh` (System76
|
|
does its own), and "Send with Tailscale" (COSMIC Files has no Scripts menu)
|
|
- From `05b13b2`'s security checks: network exposure (ufw, Docker, sshd), which
|
|
the connector doesn't install
|
|
- Arch or GNOME only: `e14a345` and `ba4dc17` (login screen logo), `1e2581d`
|
|
(kernel modules), `d456e31` (initramfs), `5d7db2c` (reboot after update:
|
|
Pop!_OS' own updates handle this)
|
|
|
|
## Pop!_OS-specific
|
|
|
|
- [ ] Start the real opencode in its sandbox on Pop!_OS, to check it needs no
|
|
socket the new `denyRead` list hides. Only a stand-in has run so far.
|
|
On the development machine (Pop!_OS 26.04, `configure` not yet run
|
|
there): `update`, then `configure agents`, then `opencode` in a project
|
|
folder in a new terminal. If it fails on a socket or a permission, fix
|
|
the sandbox config and add the case to `smoketest/scenarios/50-sandbox.sh`.
|
|
- [ ] The manual checks in [TEST.md](TEST.md) on Pop!_OS 26.04, against a real
|
|
Core. None have been done yet. Start with "AI agents and the sandbox"
|
|
(with the item above), then "Your Federated Core", which needs the
|
|
Core's Superpanel address and an email address and password on it.
|
|
- [ ] Moving the srt pin: when srt has a new release, change `SRT_VERSION` in
|
|
`configure.d/lib/tools.sh` and run `smoketest/run 50 80`. Commit only if
|
|
it passes. It's at 0.0.83, npm's latest on 2026-11-28.
|