Migrate .goreleaser.yaml from deprecated brews to homebrew_casks
まだ誰も着手していません。
評価
調査の方向性
.goreleaser.yaml と release.yml から始め、GoReleaser v2.16 の homebrew_casks が既存の Linux インストールサポートを維持するか確認します。移行の前後に goreleaser check と release のドライランを実行します。非推奨の brews ブロックが、サポート対象の Linux インストールを削除せずに除去されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
.goreleaser.yaml's brews: block is deprecated as of goreleaser v2.10 (soft)
and v2.16 (current — the version pinned in release.yml). goreleaser check
fails on it; goreleaser release still works today but emits a deprecation
warning, and the field will eventually be removed.
From goreleaser's own deprecation notice:
Historically, GoReleaser would generate hackyish formulas that would install
the pre-compiled binaries. This was the only way to do it for Linuxbrew at
the time, but this is no longer true, and Casks should be used instead.
Proposed fix — not a trivial rename
The literal migration is brews: → homebrew_casks: (with directory: Casks
instead of Formula). But this is a real behavior change, not just a renamed
key:
- Casks change the end-user install command from
brew install stacklok/tap/modelithtobrew install --cask stacklok/tap/modelith. - Homebrew Casks have historically been a macOS-oriented mechanism. Our
current Formula explicitly ships anon_linux doblock (Linuxbrew support).
Before migrating, confirmhomebrew_casksactually preserves Linux install
support — if it doesn't, this migration would silently drop Homebrew-based
Linux installs. - Neither
stacklok/toolhivenorstacklok/frizbeehave migrated offbrews
yet either, so there's no in-house precedent to copy from.
Context / priority
Not urgent — brews still functions correctly today (verified via a snapshot
release dry run and the actual v0.4.0 release). Worth doing before goreleaser
actually removes the field, and worth checking in on Linux-cask support first.
- 主要言語
- Go
- スター
- 32
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stacklok/modelith のほかの issue
-
enhancement
難易度 2/5 半日 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
-
documentation
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
stacklok/modelith の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug group: validation priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
codecheckers/chekhov#51 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100