Skip to content

aurora-audio, alsa-ucm-conf-aurora, aurora-bless: replace asahi-alarm's builds - #4272

Merged
maralcbr merged 2 commits into
masterfrom
aurora-replaces-asahi
Dec 1, 2026
Merged

maralcbr merged 2 commits into
masterfrom
aurora-replaces-asahi

Conversation

@maralcbr

@maralcbr maralcbr commented Dec 1, 2026

Copy link
Copy Markdown
Member

Summary

Three Omarchy builds provide and conflict with asahi-alarm's packages but don't replace them. A Mac that installed the asahi-alarm builds keeps them as foreign packages once asahi-alarm is dropped (omarchy#19261), and they never update again. With replaces=, the next pacman -Syu swaps each one for Omarchy's build.

 aurora-audio 4.1.aurora3-7
-  replaces=('asahi-audio-aurora')
+  replaces=('asahi-audio' 'asahi-audio-aurora')
 alsa-ucm-conf-aurora 10.aurora3-3
-  replaces=('alsa-ucm-conf-asahi-aurora')
+  replaces=('alsa-ucm-conf-asahi' 'alsa-ucm-conf-asahi-aurora')
 aurora-bless 0.4.4.aurora2-2
+  replaces=('asahi-bless')
  • release/owners.json:
    • Three new approved replaces lines. This is an intended migration, as with aurora-scripts, aurora-fwextract, uboot-aurora (omarchy-pkgs#4104) and linux-aurora.
    • The directory lines are regenerated with bin/release-owners.
  • tests/aurora-edge/metadata.py:
    • mesa and vulkan-asahi stay "provided, never replaced".
    • The three asahi-alarm-only names move to a new test that asserts they are replaced.

The "never replace a stock name" rule protects Qualcomm and generic aarch64 machines. These three names only ever came from asahi-alarm, so only Apple Silicon Macs that used it have them. All three recipes are arch=('aarch64').

Evidence

Tested with real pacman in an Arch Linux ARM container. Stand-in packages had the same names, versions and relations:

  • Installed as foreign packages: asahi-alarm's alsa-ucm-conf-asahi 8-1, asahi-audio 3.4-1 and asahi-bless 0.4.2-1.

  • Also installed: a package depending on all three names, as omarchy-mac does.

  • Then pacman -Syu --noconfirm.

  • Before (master's metadata): nothing changes. All three stay installed as foreign packages.

  • After:

    :: Replace alsa-ucm-conf-asahi with omarchy/alsa-ucm-conf-aurora? [Y/n]
    :: Replace asahi-audio with omarchy/aurora-audio? [Y/n]
    :: Replace asahi-bless with omarchy/aurora-bless? [Y/n]
    
    • File ownership moves to the aurora packages, and pacman -Dk is clean.
    • The dependent package stays satisfied through the versioned provides.
    • A second -Syu has nothing to do.

Checks:

  • bin/release-owners --check and --self-test: pass.
  • tests/aurora-edge/metadata.py: 23/23 pass.
  • tests/package-owners.sh: passes.
  • Mutation check: dropping aurora-bless's replaces= fails the new test.

Merge Danger

Door: two-way. The worst case is that Omarchy's builds replace asahi-alarm's on Macs, which is the intended end state. Reverting stops further swaps but doesn't undo ones that already happened.

Blast Radius: Apple Silicon only.

  • Only Macs that still have asahi-alarm's asahi-audio, alsa-ucm-conf-asahi or asahi-bless installed see the replacement, at their next update after this reaches their channel.
  • It publishes to edge first. rc and stable get it only through promotion.
  • Changing approved turns off auto-merge, so a maintainer merges this by hand.

Follow-up in omarchy-mac-pkgs: add the three pairs to omarchy-mac-drop-asahi-alarm's import list. Without it, the helper's report can describe these packages as "no repository carries it" instead of "replaced at the next update".

aurora-audio, alsa-ucm-conf-aurora and aurora-bless provide and conflict
with asahi-audio, alsa-ucm-conf-asahi and asahi-bless but did not replace
them. A Mac that installed those from asahi-alarm keeps them as foreign
packages after asahi-alarm is dropped, and they never update again. With
replaces= the next pacman -Syu swaps each for Omarchy's build.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
asahi-bless, asahi-audio and alsa-ucm-conf-asahi only ever came from
asahi-alarm, so no Qualcomm or generic aarch64 machine has them. mesa and
vulkan-asahi stay provided but never replaced.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
@maralcbr
maralcbr marked this pull request as ready for review December 1, 2026 10:16
Copilot AI balanced review requested due to automatic review settings December 1, 2026 10:16
@maralcbr
maralcbr merged commit 7f32150 into master Dec 1, 2026
15 checks passed
@maralcbr
maralcbr deleted the aurora-replaces-asahi branch December 1, 2026 10:16
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Package Arch Status
alsa-ucm-conf-aurora aarch64 PR artifact
aurora-audio aarch64 PR artifact
aurora-bless aarch64 PR artifact
Channel Status Packages
edge/aarch64 published alsa-ucm-conf-aurora-10.aurora3-3-aarch64, aurora-audio-4.1.aurora3-7-aarch64, aurora-bless-0.4.4.aurora2-2-aarch64

Commit 7f32150 · run

@greptile-apps

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Adds automatic upgrades from three asahi-alarm packages to Omarchy’s Aurora builds.

  • Aurora packages replace three old asahi-alarm package names during updates.

Acknowledgments:

  • maralcbr explicitly intends all three automatic replacements, including the new approvals.
  • maralcbr notes that reverting stops future replacements but does not undo completed ones.
  • maralcbr defers updating the helper’s import list in omarchy-mac-pkgs; its report may temporarily describe these packages as unavailable rather than awaiting replacement.

Reviews (1) · Last reviewed commit: "aurora-edge tests: the asahi-alarm-only ..." · Reviewed by Greptile

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The three replacement approvals authorize automatic package migrations on installed systems, requiring maintainer confirmation of the intended scope and channel rollout under repository policy.

No open issues 🎉

1 file not reviewed
  • release/owners.json: Generated file
What changed in this PR

This PR enables pacman -Syu to migrate three legacy asahi-alarm packages to Omarchy’s Aurora builds, preventing them from remaining unmaintained foreign packages after asahi-alarm is removed.

Changes:

  • Add replacement metadata for the legacy audio, ALSA profile, and startup-volume packages, with release bumps to trigger rebuilds.
  • Add matching replacement approvals and update generated ownership records.
  • Test the three intended replacements while preserving the no-replacement checks for mesa and vulkan-asahi.
File Description
tests/​aurora-edge/​metadata.py Adds assertions for the three legacy-package replacements.
release/​owners.json Records replacement approvals and updated package relations.
pkgbuilds/​aurora-bless/​PKGBUILD Adds replacement of asahi-bless and bumps the release.
pkgbuilds/​aurora-audio/​PKGBUILD Adds replacement of asahi-audio and bumps the release.
pkgbuilds/​alsa-ucm-conf-aurora/​PKGBUILD Adds replacement of alsa-ucm-conf-asahi and bumps the release.

Review effort: Balanced

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.

2 participants