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

[REQ] Avoid backlinks from the issue template sponsorship example

クローズ 初心者向け
#25,207 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #25208 @alexaka1 による — マージ済み

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, markdown

調査の方向性

変更対象は、スポンサーシップのチェックリスト内にある .github/ISSUE_TEMPLATE/bug_report.md の17行目のリンク1件です。例として示されているissueのURLのホスト名だけを github.com から redirect.github.com に変更し、他のリンクは変更しないでください。このURLがリダイレクト用ドメインを使用し、テンプレートの残りの部分が変更されておらず、.github/PULL_REQUEST_TEMPLATE.md に触れていなければ完了です。

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

説明

Is your feature request related to a problem? Please describe.

The bug-report template's sponsorship checklist includes a fixed example issue. When a submitted report keeps the template's ordinary GitHub issue URL, GitHub creates a backlink on the example issue. Unrelated reports therefore accumulate in its timeline even though they do not discuss or depend on it.

This is a property of the link domain, not the visible link text. Labeling the link "example" does not prevent the cross-reference.

Describe the solution you'd like

Change only the hostname of the sponsorship example URL in .github/ISSUE_TEMPLATE/bug_report.md from github.com to redirect.github.com.

GitHub documents this domain specifically for avoiding backlinks. The link still opens the example issue, but copying it into a new report does not create a backlink there. GitHub also notes that these links do not show a hover preview.

Keep ordinary references to genuinely related issues and PR-closing references unchanged.

Describe alternatives you've considered

Removing the example would avoid the backlink but lose the useful sponsorship reference. Asking every reporter to remove it would leave the default template causing noise. Using GitHub's documented redirect domain preserves the example and fixes the default.

Additional context

Audited the current master templates at commit 57164fa6d7642d06e96013e2eb5e842abeb83705:

  • The affected URL is on line 17 of the bug-report template.
  • .github/PULL_REQUEST_TEMPLATE.md has no fixed example issue, pull-request, or commit URL. Its existing repository and documentation links do not need this change.
  • The root-level .github/ISSUE_TEMPLATE.md, feature-request template, and announcement template contain no equivalent example link.

This is a one-link template change; it does not affect generated clients, servers, or generator behavior.

主要言語
Java
スター
26.8k
フォーク
7.7k
平均マージ
1日 14時間
マージ済み PR(30日)
145

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

OpenAPITools/openapi-generator のほかの issue

OpenAPITools/openapi-generator の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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