Promote moongreet-git/moonlock-git/moonset-git and ~30 Arch-repo essentials (networkmanager, bluez, wlsunset, xwayland-satellite, file-manager stack, portals, zsh plugins, CLI tools, neovim, git, ufw, fwupd, etc.) from optdepends (or absent) to hard depends. Previously a fresh `paru -S moonarch-git` installed the configs but none of the packages they depend on, producing a non-functional Moonarch — no greeter, no lockscreen, no launcher, no network stack. AUR packages cannot be hard depends (pacman cannot resolve AUR), so they remain in moonarch's packages/aur.txt and post-install.sh pulls them explicitly. optdepends trimmed to real extras — docker, rustup (for dev), waterfox.
4.8 KiB
4.8 KiB
Decisions
2026-04-21 – moonarch-git becomes a full meta-package (hard deps on all Arch-repo essentials + own registry siblings)
- Who: Dominik, ClaudeCode
- Why:
moonarch-gitlistedmoongreet-git/moonlock-git/moonset-gitonly asoptdependsand omitted most Arch-repo essentials (wlsunset, networkmanager, bluez, xwayland-satellite, file-manager stack, zsh plugins, CLI tools, …) entirely — they lived only inpackages/official.txt.paru -S moonarch-giton a fresh system therefore produced a desktop with no greeter, no lockscreen, no power menu, no nightlight, no network manager, no portals — a non-functional Moonarch. Split source of truth between PKGBUILD deps and txt files caused continuous drift (e.g. walker-bin was missing from both). - Tradeoffs:
moonarch-gitis now chunky — installing it pulls ~60 packages (vs ~20 before). Acceptable because this is exactly what every Moonarch system needs; a leaner package just shifted the install work to imperative scripts that silently failed. AUR packages cannot be harddepends=(pacman can't resolve AUR), so they stay inpackages/aur.txtand post-install.sh pulls them explicitly.optdepends=was slashed to real extras (docker, rustup for dev, waterfox) — no more mirroring of aur.txt there. - How: Added to
depends=: moongreet-git, moonlock-git, moonset-git, xwayland-satellite, libnotify, foot-terminfo, wlsunset, nwg-look, awww, libpulse, gst-plugin-pipewire, networkmanager + nm-applet + nm-openvpn + openvpn, bluez, gvfs + gvfs-{dnssd,mtp,smb}, udisks2, ntfs-3g, xdg-desktop-portal-{gnome,gtk}, qt6-5compat, zsh-{autosuggestions,syntax-highlighting}, bat, btop, eza, fastfetch, fd, fzf, lazygit, ripgrep, neovim, git, fwupd, ufw. Removed fromoptdepends=: all Moonarch ecosystem packages (now hard deps), all AUR packages (post-install.sh pulls from aur.txt), and already-depended Arch-repo packages.pkgrelbumped 9 → 10.
2026-04-20 – Registry is the only install path; drop paru --pkgbuilds
- Who: Dominik, ClaudeCode
- Why: Two parallel mechanisms for finding moonarch packages (the Arch registry via
[moonarch]inpacman.conf, and paru's PKGBUILD-repo via[moonarch-pkgbuilds]inparu.conf) created ambiguous state:paru -Sresolves from whichever has a matching version first, and diagnostics have to account for both. With the registry DB now stable (see zombie fix below), the PKGBUILD-repo path is redundant. - Tradeoffs: No more local-build fallback when the registry is broken — but when the registry is broken, the real fix is to repair it, not to mask the problem with a second mechanism. Existing systems need their
/etc/paru.confcleaned once (hook handles that on next moonarch-git upgrade). - How:
moonarch.installpost_install now deletesMode = arpand the[moonarch-pkgbuilds]section from/etc/paru.confinstead of writing them.moonarch/scripts/post-install.shandtransform.shno longer configure paru.conf or callparu -Syu --pkgbuilds; they runpacman -Sy+paru -S moonarch-git(registry only).
2026-04-20 – CI wipes all package versions before upload to kill DB zombies
- Who: Dominik, ClaudeCode
- Why:
paru -Syustopped offeringmoonarch-gitupdates after the r99 → r105 pkgver bump. Root cause: Gitea's Arch registry updatesmoonarch.dbincrementally on upload, but does not evict old entries when a pkgver changes.r99lingered in the DB as a zombie — file already 404, but desc/sig still present — so clients sawr99as "latest" and never gotr105. Not a one-off: every future pkgver bump would repeat the issue. - Tradeoffs: Delete-before-upload adds an HTTP round-trip per package and requires
read:packageon the registry token (write:packagewas already there for upload). Alternative was an admin-side DB scrub per zombie — unscalable and hostile to the user. - How:
build-and-publish.yamlnow lists every existing version of each built package viaGET /api/v1/packages/{owner}?type=arch&q={name}andDELETEs them before the upload loop. jq installed on the runner as a dependency of the listing parser. The per-uploadDELETEof the exact new version was removed (redundant).
2026-04-20 – Register moongreet/moonset/sweet-cursors in the Arch registry
- Who: Dominik, ClaudeCode
- Why: These three packages were missing entirely from the registry — their last pkgver-bumps landed before the
build-and-publishCI fixes (makedepends install, source-based PKGBUILD parse, multi-artifact upload). Without a new PKGBUILD change, the workflow never re-triggered, so they stayed absent. - Tradeoffs: Bumping
pkgrelmanually is a one-shot push. Alternative (wait for the next real upstream change) would have left packages uninstallable indefinitely. - How: Bumped
pkgrelin each PKGBUILD, single commit, triggered thebuild-and-publishworkflow.