Migrate .goreleaser.yaml from deprecated brews to homebrew_casks
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
Bắt đầu với .goreleaser.yaml và release.yml, sau đó xác minh liệu GoReleaser v2.16 homebrew_casks có duy trì khả năng hỗ trợ cài đặt Linux hiện có hay không. Chạy goreleaser check và một lần chạy thử release trước và sau khi di chuyển; được xem là hoàn tất khi khối brews đã lỗi thời được loại bỏ mà không làm mất các bản cài đặt Linux được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 32
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stacklok/modelith
-
enhancement
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
-
documentation
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
Tất cả issue của stacklok/modelith
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
-
enhancement needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
kind/cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
kubernetes-sigs/kueue#15947 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sympozium-ai/sympozium#627 ·