Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Migrate .goreleaser.yaml from deprecated brews to homebrew_casks

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
release

調査の方向性

.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/modelith to brew install --cask stacklok/tap/modelith.
  • Homebrew Casks have historically been a macOS-oriented mechanism. Our
    current Formula explicitly ships an on_linux do block (Linuxbrew support).
    Before migrating, confirm homebrew_casks actually preserves Linux install
    support — if it doesn't, this migration would silently drop Homebrew-based
    Linux installs.
  • Neither stacklok/toolhive nor stacklok/frizbee have migrated off brews
    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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stacklok/modelith のほかの issue

stacklok/modelith の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。