mapbox / mapbox/github-release-tools
Add support to changelog-draft for non-squash merge strategies
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 16
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
We're currently looking up a commit's associated PR by searching for a PR with a matching `merge_commit_sha` field. This works well for squash-merged PRs, but in other cases, it leaves us with a bunch of unassociated commits (i.e. the ones that aren't the merge commit or the head of the rebased-and-ff-merged branch).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位使用 merge_commit_sha 搜索 pull request 的 changelog-draft 代码,然后追踪相关提交是如何收集的。检查 GitHub pull request 数据以及涉及的合并策略。完成的标准是,非 squash 合并不再留下未关联的适用提交;如果项目有针对这一行为的测试,请添加或更新覆盖范围。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git, github, javascript
- 领域
- release, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100