Repository navigation
Replace AUR sync with direct upstream release watches - #445
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
sync-aurwith a one-time importer that refuses to overwrite a maintained recipe.The complete package-to-source inventory and watch schema are in docs/upstream-sources.md.
Validation:
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.