Thank contributors, and welcome first-time contributors, in the release notes

未关闭
#1,875 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
git, github, java, shell
领域
release, tooling

调研方向

Start with build-changelog.sh and trace how it gets the release range and reads GitHub issue references. Check the repository’s release tags and .mailmap behavior with git log to understand how contributor identities and first-time status can be determined. Done means each release’s notes include the deduplicated contributors and identify first-time contributors; the issue leaves open whether committers should be listed.

由索引模型根据 Issue 内容生成。

描述

The release notes that build-changelog.sh builds list issues by type, key and title, but not who did the work. A contributor is credited only as the author of a commit. Release notes should thank the people who contributed to the release, and welcome the ones who contributed for the first time.

Proposal

Add a contributors section at the end of each release's notes:

** Contributors

    Thanks to the 9 people who contributed to this release, and a
    welcome to those who did so for the first time: Swarneil1905, …
  • Contributors are the commit authors in the release range, the same range the script already reads the GitHub issue references from, plus anyone named in a Co-authored-by: trailer.
  • First-time contributors are those without a commit in any earlier release tag, on any branch. Cherry-picks keep the original author, so a fix that lands on several lines welcomes its author in whichever release ships first. Releases cut on the same day each welcome them, which is fine.

Prerequisite: .mailmap

People who committed under several names or addresses (an employer's address, a personal one, apache.org) would be counted more than once, or welcomed as new by mistake. A .mailmap in the repository root maps them to one identity. git log applies it through %aN/%aE, so the script needs no lookup of its own.

Open points

  • Plain names are enough for the plain-text changelog. The announcement email or a GitHub post could use @login, looked up per commit through gh api, which also resolves commits made under GitHub's noreply address.
  • Should committers be listed among the contributors, or only people without commit access?

Follows #1699.

主要语言
Java
星标
800
派生
437
平均合并
21 小时 36 分钟
30 天内合并 PR
167

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/wicket 的其他 Issue

查看 apache/wicket 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。