Files
connector-popos/PLAN.md
T
davidandClaude Opus 5.5 0eff0c70d3 Taildrop to Downloads, exit nodes past captive portals, stay awake
Ports the rest of CoreDesktop's 9dc5eb1 that applies to Pop!_OS.

- configure tailscale turns on federated-connector-taildrop.service,
  which saves files sent here with Taildrop to Downloads and says so in
  a notification. COSMIC Files has no Scripts menu, so CoreDesktop's
  "Send with Tailscale" isn't ported; send with tailscale file cp.
  Leaving the network turns it off.
- It also installs a NetworkManager dispatcher script that stops using a
  Tailscale exit node while you sign in to a captive portal, and uses it
  again once online. Pop!_OS checks connectivity (20-connectivity-pop),
  so NetworkManager sees the portal.
- A computer joined before this shows Tailscale as to do, and configure
  tailscale adds both without signing in again. update restarts the
  Taildrop service on the new version, as it does the email watcher.
- install.sh keeps the computer from sleeping until an install or update
  finishes.

The pacman guard, unowned files and hardware.sh are Arch only.

Smoketest: 75-taildrop-portal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:06:31 -07:00

68 lines
3.3 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.
## 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/`.
- [ ] Choose how to ship it. A Flatpak is the likely choice: upstream's
`build-aux/org.gnome.Calendar.json` is a starting point, it runs
the same on any Pop!_OS release, and it updates in the COSMIC Store with
Element. The other choice is a `.deb` in an apt repo on Gitea, which
would need building for each Ubuntu release.
- [ ] Build it in federated-calendar's Gitea Actions next to the Arch package,
and publish it (a Flatpak repo on Gitea, or a `.flatpakref`)
- [ ] Federated Calendar finds the Core in `~/.config/coredesktop/cores/*.conf`;
the connector writes `~/.config/federated-connector/cores/*.conf`. Have
Federated Calendar look in both, or the connector write both. A Flatpak
also needs read access to that folder (`--filesystem=xdg-config/...:ro`).
- [ ] Check that, without GNOME, it sees the Core's calendars in GNOME Online
Accounts and Evolution Data Server, as Evolution does. A Flatpak talks to
them over D-Bus (`--talk-name=org.gnome.OnlineAccounts`,
`org.gnome.evolution.dataserver.*`).
- [ ] Install it in `configure core`, after the calendars are added, and say
so in the README, alongside Evolution
- [ ] `update`: restart it after a new version, as CoreDesktop's PLAN.md
describes (it keeps running in the background after its window closes)
## Keep in step with CoreDesktop
Last compared with CoreDesktop at `4a4a3bd` (2026-11-11), when the port was
made. 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
```
Since `4a4a3bd`, to look at:
- [ ] `05b13b2` Test the agent sandbox from inside: port
`smoketest/scenarios/60-security.sh`, which runs a script through
sandbox/bin's wrappers and checks what it can't read, write or reach,
and its later checks from `d5925fa` (what root runs is root's alone) and
`53c6c8b` (the install path). Hiding the connector's settings from
agents is done.
- [ ] `ffbaf71` Keep other machines on the network from reaching Docker
containers: only if the connector ever installs Docker
Arch or GNOME only, nothing to port: from `9dc5eb1`, the pacman guard, unowned
files and `hardware.sh` (System76 does its own); `e14a345` and `ba4dc17`
(login screen logo), `1e2581d` (kernel modules), `d456e31` (initramfs),
`5d7db2c` (reboot after update: Pop!_OS' own updates handle this).
## Pop!_OS-specific
- [ ] The manual checks in [TEST.md](TEST.md) on a real Pop!_OS 24.04 machine,
against a real Core. None have been done yet.