feat(brew): switch brew tarball to ublue-os/brew releases#193
feat(brew): switch brew tarball to ublue-os/brew releases#193dylanmtaylor wants to merge 1 commit intoprojectbluefin:mainfrom
Conversation
There was a problem hiding this comment.
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.
| "/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})" |
There was a problem hiding this comment.
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.
f56192b to
e24f026
Compare
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
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
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
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.