Repository navigation
Build aurora-scripts, aurora-fwextract and lzfse from source - #2944
Merged
Merged
Conversation
The Mac image takes these three from the asahi-alarm repository, which Omarchy 4.6 drops. aurora-scripts and aurora-fwextract provide and replace the asahi-* names, so installed Macs swap at the next -Syu; lzfse keeps its name with pkgrel 2 above asahi-alarm's 1.0-1. aura, m1n1-aurora and omarchy-mac-boot now depend on aurora-scripts>=20260127.1.
[Medium impact] The PR appears safe to merge for edge qualification. SummaryBuilds
Reviews (2) · Last reviewed commit: "Build aurora-scripts, aurora-fwextract a..." · Reviewed by Greptile |
maralcbr
force-pushed
the
asahi-import-aurora-scripts
branch
from
November 17, 2026 02:20
8b159e2 to
7ea4b72
Compare
Contributor
Publish succeeded → livePackages: aura (aarch64, PR artifact); aurora-fwextract (aarch64, PR artifact); aurora-scripts (aarch64, PR artifact); lzfse (aarch64, PR artifact); m1n1-aurora (aarch64, PR artifact); omarchy-mac-boot (aarch64, PR artifact)
|
This was referenced Nov 17, 2026
This was referenced Nov 17, 2026
emirb
added a commit
that referenced
this pull request
Nov 17, 2026
Three pull requests merged into master since this branch started add replaces that the owners check refuses without an approval. Each one moves users from an older package name to the new one: - #2911 builds the T2 Mac packages here. apple-t2-audio-config replaces its -alt variant, t2fanrd replaces t2fand, and linux-t2 keeps the replaces of Arch's linux recipe (virtualbox-guest-modules-arch, wireguard-arch) and apple-gmux-t2-dkms-git. - #2944 renames asahi-fwextract and asahi-scripts to aurora-fwextract and aurora-scripts. - #2946 builds FEX-Emu from source as fex-emu. With these 8 lines bin/release-owners --check passes on all 343 directories, with 50 approvals.
emirb
added a commit
that referenced
this pull request
Nov 17, 2026
#2590) * Check which directory makes each package name Nothing stopped a recipe from making, providing or replacing a package another directory owns. A name that two directories make on one architecture publishes the same filenames twice, and whichever artifact is collected last wins: #1878 built linux-omarchy as pkgbase linux-omarchy-bore and edge kept the 2.6 KB stub. A replaces is worse: pacman -Syu offers every replacement, and yes is its default. release/owners.json now lists, for each package directory, the architectures it publishes to and the names it makes, provides and replaces, read from its recipe with makepkg --printsrcinfo. bin/release-owners writes it, and its --check fails when: - two directories make one name, or one <pkgbase>-debug, on one architecture; - a recipe provides another directory's package, or replaces anything but its own names, without a line in "approved"; - a recipe makes, provides or replaces omarchy-keyring, or the omarchy-keyring recipe makes anything else; - an approval is not needed any more. The approved list is the one part people write. Its 42 lines cover what the recipes do today: 32 replaces, all migrations such as omarchy-mac-boot replacing omarchy-apple-boot, and 10 provides, such as omarchy-dev providing omarchy. makepkg --printsrcinfo takes about 1.7 s per recipe and architecture, so the tool reads recipes in parallel: all 286 in 80 to 99 s on 32 CPUs, against 13 min 55 s one at a time. The self-tests read only the recipes a pull request changes and take the other entries from its base: 0 to 3 s. Any change outside pkgbuilds/ reads them all. The tool reads recipes as nobody. bin/add-package adds a new package's entry. A package PR still merges itself when release/owners.json changes only in its directories; a change to "approved" needs a maintainer. * Tell agents and reviewers about release/owners.json AGENTS.md now says how a recipe that changes its names gets its line in release/owners.json, and that an approval is a maintainer's call. Two Greptile rules flag every change to the approved list and recipes that start to replace or claim another package's name. * Check release/owners.json in the self-tests container The check ran in an Arch container of its own, so every pull request started a second container and ran pacman -Syu twice. On this branch's first run that setup took 21 s of the step's 6 min 25 s; the rest read every recipe, since the branch changes bin/. On a pull request that changes only recipes the read takes seconds, so the setup was most of the cost. The check now runs first in the existing self-tests container. * Withdraw auto-merge when a later push no longer qualifies GitHub keeps auto-merge through later pushes by anyone with write access. auto-merge-pr.yml withdrew it only when build-approved was removed, so a PR that qualified and then pushed a change outside its packages, or a new line in the approved list of release/owners.json, still merged by itself. It now withdraws on any event whose decision is no, a push included. A failed author lookup gives no decision and withdraws nothing. * Upload each built package as an artifact of its own A build's packages reach publish.yml inside one packages.tar artifact, so GitHub records a digest for the tar, never for a package. Each build now also uploads every package as its own unzipped artifact, whose digest is the package file's SHA-256, and an index that lists them: index-<dir>-<arch>-<tree>.json, with each file's name, SHA-256 and size. An artifact name cannot hold ':', so an epoch's ':' is written %3A in the artifact's name; the index keeps the real name. .github/actions/upload-packages does it for build-pr.yml and for publish.yml's rebuild job, beside the packages.tar upload, which stays. The upload action takes one unzipped file per call, so the action has 16 upload slots; the largest build today makes 11 files (libretro-vice-git), and a build with more fails instead of leaving one out. The index is uploaded last, so it names only uploaded files. A run on a throwaway branch on 12 November 2026 uploaded a 3,000,000 byte package with an epoch, a debug package and the index. For each, the artifact's digest equalled the SHA-256 of its download, the size matched, and the download was the raw file, not a zip. The index named each artifact by its %3A name with the same SHA-256 and size. * Upload packages.tar after each package and the index A rerun takes a build's packages.tar artifact as proof the build is done and skips it. packages.tar was uploaded first, so if a package's own upload or the index failed after it, a rerun skipped the build and left them missing. packages.tar now goes last, in build-pr.yml and in publish.yml's rebuild job. * Regenerate release/owners.json after merging master Master gained 58 package directories since this branch started and removed ffmpeg. bin/release-owners writes their lines from the recipes, as for every other directory. * Approve the replaces that the T2 and Aurora packages added Three pull requests merged into master since this branch started add replaces that the owners check refuses without an approval. Each one moves users from an older package name to the new one: - #2911 builds the T2 Mac packages here. apple-t2-audio-config replaces its -alt variant, t2fanrd replaces t2fand, and linux-t2 keeps the replaces of Arch's linux recipe (virtualbox-guest-modules-arch, wireguard-arch) and apple-gmux-t2-dkms-git. - #2944 renames asahi-fwextract and asahi-scripts to aurora-fwextract and aurora-scripts. - #2946 builds FEX-Emu from source as fex-emu. With these 8 lines bin/release-owners --check passes on all 343 directories, with 50 approvals. * Let a build pass when a per-package upload fails Nothing reads the per-package artifacts or their index yet. So a failed or timed-out upload of them should not fail a package PR's build or a publish rebuild, which still deliver packages.tar. The release job that reads them will make the step required again. * Withdraw auto-merge when the files disqualify, even if the lookup fails A failed author lookup withdrew nothing, so a push that added a change outside packages to an armed PR kept auto-merge while the lookup was down. GitHub keeps auto-merge through pushes by anyone with write access, so that PR could merge by itself. The workflow now also decides the same PR as if a trusted author had opened it. When even that is no, the files disqualify the PR, and auto-merge is withdrawn whatever the lookup said. The workflow comment said a maintainer keeps auto-merge they enabled by hand on another PR. Any event on a PR outside the rule withdraws it, so the comment now says that. tests/pr-workflow-approval.cjs fails on the previous rule and passes on this one, 47 of 47.
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.
Summary
The Mac edge image takes
asahi-scripts,asahi-fwextractandlzfsefrom the asahi-alarm repository, which Omarchy 4.6 drops. This builds all three here from their upstream tags, using asahi-alarm/PKGBUILDs' recipes.These follow the asahi-alarm import decisions for 4.6:
aurora-*and provide, conflict with and replace the old name. Generic upstreams likelzfsekeep their name.pkgverand takes a higherpkgrel, like theuboot-asahihold.[omarchy]comes first.noneuntil then.Recipes are unchanged apart from the name,
groups=('omarchy-platform-apple-silicon')(as on the audio imports in omarchy-pkgs#2943),arch=('aarch64')(the scripts are Apple Silicon only), installed licence files andsha256sums. aurora-fwextract setsdependsinsidepackage(), the way m1n1-aurora does, because the build environment cannot install aurora-scripts or lzfse. Upstream tracking (docs/upstream-sources.md, watches) is left for a later PR, so all three are"sync": falsefor now.Evidence
tests/aurora-edge/metadata.py(Arch container, asnobody): Before: expectedasahi-scripts>=20260127.1on aura and m1n1-aurora. After: passes withaurora-scripts>=20260127.1and a new test that:ASAHI_ALARM_IMPORTS, strictly above)asahi-scriptsreview.py,firmware.py,pinned-sources.sh,package-metadata.sh,package-owners.sh,pkgname-unique.sh,pgp-keys-vendored.shandbuild-matrix.shpass. namcap reports only the missing-Maintainer warnings the rest of the tree has.I simulated an installed Mac's upgrade with stub packages:
[omarchy]first,[alarm]last, and an extra package depending onasahi-scripts. A singlepacman -Syu --noconfirmran:The other
asahi-scriptsdependent stayed installed, because the provide satisfied it.The aarch64 builds come from this PR's CI.
Merge Danger
Door: two-way
The packages install the same files at the same paths, and the
.installscripts are unchanged. Rolling back means an unpublish plus a pkgrel bump.Blast Radius: Mac installs
asahi-fwupdateand the m1n1 pacman hook, as an asahi-scripts upgrade already does.pacman -S m1n1-aurorawithout-Syuon an asahi-scripts Mac would offer to remove asahi-scripts, with No as the default.omarchy updateruns-Syu, so it never hits this.