Skip to content

feat(brew): switch brew tarball to ublue-os/brew releases#193

Draft
dylanmtaylor wants to merge 1 commit intoprojectbluefin:mainfrom
dylanmtaylor:feat/brew-from-ublue-os
Draft

feat(brew): switch brew tarball to ublue-os/brew releases#193
dylanmtaylor wants to merge 1 commit intoprojectbluefin:mainfrom
dylanmtaylor:feat/brew-from-ublue-os

Conversation

@dylanmtaylor
Copy link
Copy Markdown
Contributor

Switches brew-tarball.bst from the dead ublue-os/packages tarballs to ublue-os/brew releases, per Jorge's request on #164 to keep brew consistent across Bluefin variants.

Depends on ublue-os/brew#14 to start publishing release tarballs. Refs are placeholders until the first release is cut.

Also adds a renovate rule to auto-track new ublue-os/brew releases.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Homebrew tarball source to the ublue-os/brew repository and introduces a Renovate configuration to automate future updates. Critical issues were identified regarding the use of placeholder checksums (all zeros) for both x86_64 and aarch64 architectures, which will lead to build failures. Furthermore, the Renovate regex for version matching should be adjusted to support optional 'v' prefixes to prevent potential automation breakage.

Comment thread elements/bluefin/brew-tarball.bst
Comment thread elements/bluefin/brew-tarball.bst
Comment thread .github/renovate.json5
"/elements/bluefin/brew-tarball\\.bst$/"
],
"matchStrings": [
"url:\\s*github_files:(?<depName>ublue-os/brew)/releases/download/(?<currentValue>\\d+\\.\\d+\\.\\d+)/homebrew-[a-z0-9_]+\\.tar\\.zst\\n\\s+ref:\\s*(?<currentDigest>[a-f0-9]{64})"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The regex for currentValue (\d+\.\d+\.\d+) does not account for a potential v prefix in the version string. If the ublue-os/brew repository uses v-prefixed tags (e.g., v5.1.5), Renovate will update the version in the file to include the v, but will then fail to match it in subsequent runs because the regex is too restrictive. Consider allowing an optional v prefix to make the automation more robust.

        "url:\\s*github_files:(?<depName>ublue-os/brew)/releases/download/(?<currentValue>v?\\d+\\.\\d+\\.\\d+)/homebrew-[a-z0-9_]+\\.tar\\.zst\\n\\s+ref:\\s*(?<currentDigest>[a-f0-9]{64})"

Depends on ublue-os/brew#14 to publish tarballs. Refs are placeholders
until the first release is cut.
@dylanmtaylor dylanmtaylor force-pushed the feat/brew-from-ublue-os branch from f56192b to e24f026 Compare April 12, 2026 13:57
castrojo added a commit to castrojo/dakota that referenced this pull request Apr 13, 2026
Replaces batched tracking with per-element PRs so reviewers see exactly
what changed. Adds tracking for fzf, glow, gum, gtk4-layer-shell,
efibootmgr, and caffeine. Removes dead 1password steps (PR projectbluefin#206).
Rewrites brew-tarball for ublue-os/brew releases (aligns with PR projectbluefin#193).
Removes auto-merge; team will manually merge updates.
Restores --force-with-lease throughout.

Assisted-by: Claude Sonnet 4.6
castrojo added a commit to castrojo/dakota that referenced this pull request Apr 13, 2026
Replaces batched tracking with per-element PRs so reviewers see exactly
what changed. Adds tracking for fzf, glow, gum, gtk4-layer-shell,
efibootmgr, and caffeine. Removes dead 1password steps (PR projectbluefin#206).
Rewrites brew-tarball for ublue-os/brew releases (aligns with PR projectbluefin#193).
Removes auto-merge; team will manually merge updates.
Restores --force-with-lease throughout.

PR titles for git_repo elements now include old -> new ref for context.
Tarball PR titles use "vOLD -> vNEW" version format.
Fix: gtk4-layer-shell version extraction regex was too greedy.

Assisted-by: Claude Sonnet 4.6
castrojo added a commit to castrojo/dakota that referenced this pull request Apr 13, 2026
Replaces batched tracking with per-element PRs so reviewers see exactly
what changed. Adds tracking for fzf, glow, gum, gtk4-layer-shell,
efibootmgr, and caffeine. Removes dead 1password steps (PR projectbluefin#206).
Rewrites brew-tarball for ublue-os/brew releases (aligns with PR projectbluefin#193).
Removes auto-merge; team will manually merge updates.
Restores --force-with-lease throughout.

PR bodies now include Renovate-style table with source link, version
bump, changelog link, and compare URL. git_repo PRs include parsed
version from ref and commit-to-commit compare link. Tarball PRs include
direct release and compare links for each package.

Existing PRs are updated in-place (gh pr edit) rather than close+create
to avoid race conditions. Fix: gtk4-layer-shell version regex was greedy.

Assisted-by: Claude Sonnet 4.6
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.

1 participant