Homebrew formula clashes with formula produce by Boot 4.1
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 領域
- release
調査の方向性
spring-io/homebrew-tap リポジトリの spring-boot.rb formula から始め、そのコミット履歴を確認して、3.5.x と 4.x の更新がどのように交互に行われているかを理解します。並行するメジャーリリースの formula に関する Homebrew の慣例を確認し、そのうえで spring-boot がプライマリラインを追跡し、spring-boot@3 が 3.x のメンテナンスラインを独立して追跡していることを検証します。
索引モデルが issue の本文から書いたものです。
説明
The spring-boot.rb Homebrew formula in spring-io/homebrew-tap tracks
both the 3.5.x maintenance line and the 4.0.x line in the same formula
file. The spring-builds bot alternates between the two lines on
nearly every release, sometimes upgrading to the 4.x line first and
then reverting to 3.x shortly after, and sometimes the other way
around, for example:
- 2026-06-25: Upgrade to Spring Boot 3.5.16
- 2026-06-10: Upgrade to Spring Boot 4.1.0 → then Upgrade to Spring Boot 4.0.7 → then Upgrade to Spring Boot 3.5.15
- 2026-04-23: Upgrade to Spring Boot 4.0.6 → then Upgrade to Spring Boot 3.5.14
- 2026-03-26: Upgrade to Spring Boot 3.5.13 → then Upgrade to Spring Boot 4.0.5
- 2026-03-19: Upgrade to Spring Boot 4.0.4 → then Upgrade to Spring Boot 3.5.12
- 2026-02-19: Upgrade to Spring Boot 3.5.11 → then Upgrade to Spring Boot 4.0.3
- 2026-01-22: Upgrade to Spring Boot 3.5.10 → then Upgrade to Spring Boot 4.0.2
Full commit history: https://github.com/spring-io/homebrew-tap/commits/main/spring-boot.rb
Because the formula only ever points at a single URL/version at a time,
the outcome of brew install spring-boot or brew upgrade depends
entirely on which of the two lines the bot last committed at the
moment the user runs the command — not on any explicit choice by the
user. Two users installing on different days can end up with a 3.x or
a 4.x CLI without ever intending to pick a specific major version.
Since Homebrew never downgrades a formula automatically, this also
means a user who happens to install while the formula points at 4.0.x
stays on that version indefinitely once the bot flips back to 3.5.x,
since brew upgrade will not revert them to a "lower" tracked version.
brew info then reports the 3.5.x line as current/stable while the
installed keg silently remains on 4.0.x, with no indication that this
happened due to timing rather than intent.
Suggested fix: split the formula into two, following the standard
Homebrew convention for parallel major release lines, e.g.:
spring-boot→ tracks the primary/latest linespring-boot@3→ tracks the 3.x maintenance line
This would let users explicitly choose which major version to install
and upgrade, instead of the outcome being determined by upgrade timing.
Happy to provide more detail or help test a fix if useful.
- 主要言語
- Java
- スター
- 81.8k
- フォーク
- 43.5k
- 平均マージ
- 3日 13時間
- マージ済み PR(30日)
- 90
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
spring-projects/spring-boot のほかの issue
-
status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
spring-projects/spring-boot#52651 ·
メンテナーはふだん 2 日以内に返信
-
status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
spring-projects/spring-boot#52647 ·
メンテナーはふだん 2 日以内に返信
-
JavaLoggingSystem.getLoggerConfiguration does not map ROOT and creates unknown loggers on lookupオープンstatus: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
spring-projects/spring-boot#52646 ·
メンテナーはふだん 2 日以内に返信
-
Maven process-test-aot only copies META-INF/native-image of the generated resources so the Logback configuration is lost in native tests対応中かも @tchowdhury101 が 4 日前に担当しました。 オープンtype: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spring-projects/spring-boot#52301 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
for: team-meeting status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
spring-projects/spring-boot#52295 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
spring-projects/spring-boot の issue をすべて見る
似ている issue
-
Document and enforce pull request review guidelines対応中かも @dashorst が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
`Time.at(t, in: nil)` returns UTC instead of the local time (or the time zone of `t`), unlike CRubyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
hermes-queue
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
chrisalunlloyd2-sudo/mindpalace#349 ·
メンテナーはふだん 1 日以内に返信
-
Retry-After parser accepts invalid delay-seconds values対応中かも @Dhruvraj-Rana が今日担当しました。 オープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
open-telemetry/opentelemetry-java#9018 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dropwizard/dropwizard#11410 ·
メンテナーはふだん 1 日以内に返信