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

v3.0.78 release tag applied to master (2.x) branch instead of 3.0.0 branch

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
git
領域
release

調査の方向性

git show で refs/tags/v3.0.78 を調査し、origin/3.0.0 上のリリース準備用コミット、特に 1a779509 と 4c588898 と比較します。tag が 2.x の master commit ではなく 3.x の release を指していることを確認し、その後 Homebrew のメンテナーに連絡して formula を更新できるようにします。

索引モデルが issue の本文から書いたものです。

説明

Issue: v3.0.78 release tag applied to master (2.x) branch instead of 3.0.0 branch

Bug description

The v3.0.78 git tag is applied to a commit on the master branch (the 2.x codebase)
instead of the 3.0.0 branch (the 3.x codebase).

Evidence

The tagged commit is a routine 2.x dependency update on master:

$ git show refs/tags/v3.0.78 --stat
commit 70cf625cbea6d813f24adbfc422eef9ecd23656e
Author: robert-hebel-sb <robert.hebel@smartbear.com>
Date:   Mon Dec 29 17:02:31 2025 +0100

    chore(deps): update vulnerable validator & js-yaml (#12659)

Building the CLI JAR from this tag produces a 2.x artefact:

Main-Class: io.swagger.codegen.SwaggerCodegen   ← 2.x namespace
implementation-version: 2.4.51-SNAPSHOT         ← 2.x version

The correct 3.x namespace would be io.swagger.codegen.v3.SwaggerCodegen.

Meanwhile, the 3.0.0 branch has the 3.0.78 release prepared but untagged:

$ git log origin/3.0.0 --oneline | head -4
30d353d chore: bump snapshot to 3.0.79-SNAPSHOT
7aed624 chore: update microdnf before install
1a779509 chore: prepare release 3.0.78
4c588898 chore: prepare release 3.0.78

Impact

The Homebrew formula for swagger-codegen packages the JAR built from the v3.0.78 tag.
Users who install via Homebrew receive a 2.x binary despite the formula advertising 3.0.78:

$ brew install swagger-codegen
$ swagger-codegen version
2.4.51-SNAPSHOT

Any tooling that relies on git ls-remote --tags to find the latest v3.* release will
also pick up this tag and unknowingly build/use 2.x code.

Suggested fix

Move (or re-create) the v3.0.78 tag to point to the "prepare release 3.0.78" commit
on the 3.0.0 branch (1a779509 or 4c5888986), and notify the Homebrew maintainers
so the formula can be updated.

主要言語
Mustache
スター
17.8k
フォーク
6k
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

swagger-api/swagger-codegen のほかの issue

swagger-api/swagger-codegen の issue をすべて見る

似ている issue

Release の issue をもっと見る

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

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