Skip to content

Bring the Quattro upgrade path to dev - #6721

Merged
dhh merged 3 commits into
devfrom
dev-upgrade-to-quattro
Aug 11, 2026
Merged

dhh merged 3 commits into
devfrom
dev-upgrade-to-quattro

Conversation

@dhh

@dhh dhh commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Ports the Quattro upgrade path from rc to dev, so machines on the dev channel can take it from the menu or the invitation instead of curl | bash.

dev sits on the Omarchy 3 line, so its bin/omarchy-menu and default/mako/core.ini matched rc's pre-change state exactly and the port is a straight one. All four files land byte-identical to rc's, including the upgrade script with everything from #6716 already in it.

Offer it from the menu — omarchy-upgrade-to-quattro ships as a command, with an "Omarchy To Quattro" entry under Update. The *Quattro* case goes before the existing *Omarchy* one, which would otherwise swallow the new label. It routes as omarchy upgrade to quattro; the upgrade group is deliberately left out of GROUP_DESCRIPTIONS, matching rc and quattro.

Invite it once — a migration sends Upgrade to Omarchy Quattro / The major new version is ready! with the Omarchy icon, once per user, and core.ini gets the matching on-button-left rule. Same shape as the existing Wi-Fi, Update System, and Voxtype invitations. The migration reloads mako so the new rule is live, and tolerates a missing session so a headless update doesn't fail on the notification.

Nothing hardcodes a channel. The script reads the channel off the mirrorlist and follows it, so a dev machine lands on mirror.omarchy.org with omarchy-dev / omarchy-settings-dev out of the edge repo.

Version — dev reported 4.0.0.alpha while sitting on the Omarchy 3 line, so anything reading version claimed a release this branch does not carry. Set to 3.8.5 in its own commit; rc moves to 3.8.5 alongside it.

— 🤖 Claude, posting on behalf of @dhh

dhh and others added 2 commits August 11, 2026 13:12
Ship omarchy-upgrade-to-quattro as a command on the dev branch and add
an "Omarchy To Quattro" entry under Update, so the upgrade can be
started from the menu instead of curl | bash.

The Quattro case comes before the *Omarchy* case because the existing
glob would otherwise swallow the new label. The script is the copy that
already ships on rc, so the two branches stay identical.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Send a one-time notification when this version lands, and add the mako
rule that turns it into a click target for omarchy-upgrade-to-quattro,
the same way the Wi-Fi, update, and Voxtype invitations work.

The migration tolerates a missing session so an update run without a
desktop doesn't fail on the notification.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings August 11, 2026 20:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Ports the Quattro upgrade path to the dev channel.

Changes:

  • Adds the Quattro upgrade command and menu entry.
  • Adds a clickable, one-time upgrade invitation.
  • Corrects the dev branch version to 3.8.3.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
version Corrects the reported version.
migrations/1786448733.sh Sends the Quattro invitation.
default/mako/core.ini Makes the invitation clickable.
bin/omarchy-upgrade-to-quattro Implements the system upgrade.
bin/omarchy-menu Adds the upgrade menu entry.
AGENTS.md Documents the new command prefix.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread migrations/1786448733.sh
omarchy-restart-mako || true

# Tolerate a missing session so a headless update does not fail on the invitation
notify-send -i "$OMARCHY_PATH/icon.png" "Upgrade to Omarchy Quattro" "The major new version is ready!" -u critical || true
Comment thread AGENTS.md
Other current prefixes include:

- `ac-`, `audio-`, `battery-`, `branch-`, `brightness-`, `channel-`, `config-`, `debug-`, `dev-`, `drive-`, `first-`, `font-`, `haptic-`, `hibernation-`, `hook-`, `hyprland-`, `menu-`, `migrate-`, `notification-`, `npx-`, `plymouth-`, `powerprofiles-`, `reinstall-`, `remove-`, `screensaver-`, `show-`, `snapshot-`, `state-`, `sudo-`, `swayosd-`, `system-`, `transcode-`, `tui-`, `tz-`, `upload-`, `version-`, `voxtype-`, `webapp-`, `wifi-`, `windows-`
- `ac-`, `audio-`, `battery-`, `branch-`, `brightness-`, `channel-`, `config-`, `debug-`, `dev-`, `drive-`, `first-`, `font-`, `haptic-`, `hibernation-`, `hook-`, `hyprland-`, `menu-`, `migrate-`, `notification-`, `npx-`, `plymouth-`, `powerprofiles-`, `reinstall-`, `remove-`, `screensaver-`, `show-`, `snapshot-`, `state-`, `sudo-`, `swayosd-`, `system-`, `transcode-`, `tui-`, `tz-`, `upgrade-`, `upload-`, `version-`, `voxtype-`, `webapp-`, `wifi-`, `windows-`
dev sits on the Omarchy 3 line alongside master and rc, but its version
file had been bumped to 4.0.0.alpha, so anything reading it reported a
release this branch does not carry. rc moves to 3.8.5 alongside this.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings August 11, 2026 20:22
@dhh
dhh force-pushed the dev-upgrade-to-quattro branch from ef33417 to 37cbd34 Compare August 11, 2026 20:22
@dhh
dhh merged commit 40748ce into dev Aug 11, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 6 changed files in this pull request and generated no new comments.

Suppressed comments (2)

migrations/1786448733.sh:7

  • This migration calls notify-send directly even though omarchy-notification-send is available on this branch. Repository guidance requires the helper for desktop notifications so formatting and notification behavior remain centralized.
notify-send -i "$OMARCHY_PATH/icon.png" "Upgrade to Omarchy Quattro" "The major new version is ready!" -u critical || true

AGENTS.md:34

  • Adding upgrade- only to this secondary list leaves the new group out of the authoritative GROUP_DESCRIPTIONS registry required by AGENTS.md:15. Since show_group_list enumerates only that registry (bin/omarchy:472-478), omarchy --help will not advertise the new upgrade group. Register an upgrade description in bin/omarchy as part of this change.
- `ac-`, `audio-`, `battery-`, `branch-`, `brightness-`, `channel-`, `config-`, `debug-`, `dev-`, `drive-`, `first-`, `font-`, `haptic-`, `hibernation-`, `hook-`, `hyprland-`, `menu-`, `migrate-`, `notification-`, `npx-`, `plymouth-`, `powerprofiles-`, `reinstall-`, `remove-`, `screensaver-`, `show-`, `snapshot-`, `state-`, `sudo-`, `swayosd-`, `system-`, `transcode-`, `tui-`, `tz-`, `upgrade-`, `upload-`, `version-`, `voxtype-`, `webapp-`, `wifi-`, `windows-`

@dhh
dhh deleted the dev-upgrade-to-quattro branch August 11, 2026 20:31
nixfred pushed a commit to nixfred/omarchy that referenced this pull request Aug 23, 2026
* Offer the Quattro upgrade from the Update menu

Ship omarchy-upgrade-to-quattro as a command on the dev branch and add
an "Omarchy To Quattro" entry under Update, so the upgrade can be
started from the menu instead of curl | bash.

The Quattro case comes before the *Omarchy* case because the existing
glob would otherwise swallow the new label. The script is the copy that
already ships on rc, so the two branches stay identical.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Invite the Quattro upgrade once after updating

Send a one-time notification when this version lands, and add the mako
rule that turns it into a click target for omarchy-upgrade-to-quattro,
the same way the Wi-Fi, update, and Voxtype invitations work.

The migration tolerates a missing session so an update run without a
desktop doesn't fail on the notification.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Set the version to 3.8.5

dev sits on the Omarchy 3 line alongside master and rc, but its version
file had been bumped to 4.0.0.alpha, so anything reading it reported a
release this branch does not carry. rc moves to 3.8.5 alongside this.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
silesai pushed a commit to silesai/omarchy that referenced this pull request Sep 8, 2026
* Offer the Quattro upgrade from the Update menu

Ship omarchy-upgrade-to-quattro as a command on the dev branch and add
an "Omarchy To Quattro" entry under Update, so the upgrade can be
started from the menu instead of curl | bash.

The Quattro case comes before the *Omarchy* case because the existing
glob would otherwise swallow the new label. The script is the copy that
already ships on rc, so the two branches stay identical.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Invite the Quattro upgrade once after updating

Send a one-time notification when this version lands, and add the mako
rule that turns it into a click target for omarchy-upgrade-to-quattro,
the same way the Wi-Fi, update, and Voxtype invitations work.

The migration tolerates a missing session so an update run without a
desktop doesn't fail on the notification.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Set the version to 3.8.5

dev sits on the Omarchy 3 line alongside master and rc, but its version
file had been bumped to 4.0.0.alpha, so anything reading it reported a
release this branch does not carry. rc moves to 3.8.5 alongside this.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

---------

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.

2 participants