Skip to content

Replace AUR sync with direct upstream release watches - #445

Merged
ryanrhughes merged 1 commit into
masterfrom
refactor/direct-upstream-sync
Sep 15, 2026
Merged

ryanrhughes merged 1 commit into
masterfrom
refactor/direct-upstream-sync

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

AUR recipe replacements repeatedly break Omarchy’s aarch64 customizations when upstream packaging or patch context changes. This moves all 68 actively synced AUR packages to direct project/vendor watches and makes their checked-in PKGBUILDs the maintained recipes. The nine existing manual holds remain held; all 77 packages retain historical AUR provenance.

  • Retire the scheduled AUR workflow and replace sync-aur with a one-time importer that refuses to overwrite a maintained recipe.
  • Discover releases from GitHub, GitLab/git tags, registries, vendor feeds, and archive metadata. Keep downstream architectures, build functions, dependencies, signature verification, and source patches in place; update only release fields and existing checksum arrays.
  • Validate every declared architecture and commit each recipe update atomically. A failed package leaves its recipe untouched while successful updates still reach a PR; the workflow continues reporting the failure.
  • Normalize 13 recipes for future updates, advancing their complete package releases above master and every published channel. This includes explicit upstream build numbers, RustDesk’s release submodule, a pinned MacBook driver commit, HTTPS for Spotify, and retaining iA Duospace’s legacy files.

The complete package-to-source inventory and watch schema are in docs/upstream-sources.md.

Validation:

  • Live rehearsal of all 68 watches in disposable copies: 15 updates, 53 already current, zero failures. Rehearsal version upgrades are not included in this PR.
  • 22 offline tests cover architecture coverage, rollback, signatures/checksums, version ordering, release discovery, manual holds, one-time imports, and continuation after a package fails.
  • Existing sync-upstream, sync-rebuilds, omarchy-pkgs, omarchy-release, and partial-release tests pass.
  • All package metadata validates; declared architectures and release policy are preserved. Every changed recipe strictly exceeds the versions in edge, rc, and stable.

This validates discovery, source integrity, and recipe rewriting; it does not build all 68 packages. Changes to upstream dependencies or build systems still require packaging maintenance.

@ryanrhughes
ryanrhughes merged commit 191cd77 into master Sep 15, 2026
2 checks passed
@ryanrhughes
ryanrhughes deleted the refactor/direct-upstream-sync branch September 15, 2026 01:19
demian0311 added a commit to diagrammo/dgmo that referenced this pull request Sep 17, 2026
Gives the dgmo command its first route onto a Linux machine that is not
`npm i -g`. `makepkg -si` from packaging/arch/ builds and installs it today
with nothing hosted by us: no AUR entry, no repository, no signing key, no
account with anybody. Arch ships base-devel, so makepkg is already there.

The layout mirrors omacom/omarchy-pkgs exactly — PKGBUILD plus
.omarchy/package.json — because the destination is Omarchy's own package
repository, where this would live at pkgbuilds/dgmo/. That metadata declares an
`npm` upstream watch on @diagrammo/dgmo-cli, so once accepted their pipeline
does the version bumps and nothing of ours has to. Modelled on their
github-copilot-cli recipe, which is the same shape: an npm-published Node CLI
with a prebuilt native addon.

Why not the AUR, which this issue picked on 2026-09-11: Omarchy stopped syncing
from it on 2026-09-15 (omacom/omarchy-pkgs#445, "Replace AUR sync with direct
upstream release watches"), moving all 68 synced packages onto direct vendor
watches and retiring the scheduled workflow. A stock Omarchy 4.0.4 install has
0 of its 966 packages built from the AUR, so an AUR-only package reaches no
Omarchy machine by default.

Verified on anchor 2026-09-16: makepkg builds
dgmo-0.85.0-1-x86_64.pkg.tar.zst (10.2 MB) on the first run; the resvg prune
leaves only resvg-js and resvg-js-linux-x64-gnu; /usr/bin/dgmo is the expected
symlink; and the CLI extracted from the package reports 0.85.0 and renders a
pie to SVG (3,027 bytes) and PNG (1440x960 RGBA). A real `pacman -U` was not
run — sudo on that box needs a password.

Nothing has been opened on omacom/omarchy-pkgs. Two CLI defects have to be
fixed before it is: isHomebrewManaged() does not detect a pacman-owned install,
so `dgmo install` would npm-install the MCP server that is already in the
package, under a /usr prefix needing root; and clipboard copy shells out to
xclip, which Omarchy does not ship. Both are named in the README here.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant