[REQ] Avoid backlinks from the issue template sponsorship example
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #25208 của @alexaka1 — đã merge
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 85/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, markdown
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Thay đổi chỉ gồm một liên kết ở dòng 17 của .github/ISSUE_TEMPLATE/bug_report.md, nằm trong danh sách kiểm tra tài trợ. Chỉ đổi tên máy chủ của URL issue ví dụ từ github.com thành redirect.github.com, và giữ nguyên các liên kết khác. Hoàn thành khi URL đó dùng miền chuyển hướng, phần còn lại của mẫu không thay đổi và .github/PULL_REQUEST_TEMPLATE.md không bị chỉnh sửa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.mdhas 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.
- Ngôn ngữ chính
- Java
- Star
- 26.8k
- Fork
- 7.7k
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 158
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc 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 OpenAPITools/openapi-generator
-
[BUG][RUST] chrono date-time path/query/header params are not serialized as RFC 3339Có thể đã có người làm @teovillanueva đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenAPITools/openapi-generator#25297 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG][RUST] Reqwest - encoding of spaces in path parametersCó thể đã có người làm @GlenWright đã nhận 6 ngày trước. Đang mởIssue: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenAPITools/openapi-generator#25257 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenAPITools/openapi-generator#25237 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] OpenApiEvaluator reports "default value not in enum" for numerically equal values with different scale (e.g. 1.5 and 1.50)Có thể đã có người làm @mohitduhan19 đã nhận 8 ngày trước. Đang mởIssue: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenAPITools/openapi-generator#25233 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] OpenApiEvaluator emits "Unused model" warnings even when recommendations are disabledCó thể đã có người làm @mohitduhan19 đã nhận 8 ngày trước. Đang mởIssue: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenAPITools/openapi-generator#25232 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenAPITools/openapi-generator
Issue tương tự
-
enhancement web-ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jenkinsci/jenkins#27583 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/rocketmq-dashboard#7302 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
area: android good first issue help wanted testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Gautam-aman/ResQNet#56 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation hermes-queue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
chrisalunlloyd2-sudo/mindpalace#294 ·
Maintainer thường phản hồi trong vòng 1 ngày