Repository navigation
Prioritize OPR and migrate existing repository ordering - #14551
Merged
Merged
Conversation
Contributor
|
|
Blocking: migration filename collision. Two smaller things in the migration:
|
ryanrhughes
approved these changes
Oct 8, 2026
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.
Omarchy currently lists Arch before OPR, so packages with the same name resolve to Arch first. Put OPR first in the stable, RC, and edge defaults so Omarchy can supply overrides, including the forthcoming Quickshell build.
Add an idempotent migration that moves the existing
[omarchy]section without replacing administrator options, custom repositories, or channel URLs. Back up the existing configuration before changing it. Update the custom-repository hook sample to insert before the new first repository. After ordering the repositories, runomarchy-update-system-pkgsto refresh package databases and upgrade installed system packages immediately. The package update also runs when the configuration is already ordered, so a failed update remains pending and can be retried.Validation: migration fixtures for all three channels preserve section contents and custom settings, repeated runs are no-ops, and missing/already-prioritized sections remain unchanged. Focused regression tests verify that stable, RC, and edge update packages after the new order is written, preserve the original backup on repeat, retry failed updates, and stop before updating if the configuration write fails. Bash syntax and diff checks pass. Earlier synthetic pacman database checks confirmed OPR priority even with a higher-version Arch package.
Complete published edge override cleanup before enabling priority there. RC/stable cleanup follows their snapshot advances at release time; preserve the old Cirrus shim until the destination has its complete official replacement. Recipe retirement was merged in omacom/omarchy-pkgs#853; published repository cleanup is separate.
Companion installer change: omacom/omarchy-iso#240