flutter / flutter/devtools

New `dt` tool: `merge-commit`

未关闭
#9,734 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
infra P2
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

In order to make sure a cherry-picked commit is not garbage collected by Github, we perform a merge-commit following the instructions here: https://github.com/flutter/devtools/blob/master/tool/RELEASE_INSTRUCTIONS.md#5-create-the-merge-commit-in-the-flutterdevtools-repo

In some scenarios (e.g. https://github.com/flutter/devtools/pull/9722) this can lead to a diff with file changes.

It's more reliable to follow the steps here: https://github.com/dart-lang/sdk/blob/main/docs/Cherry-picks-to-a-release-channel.md#cherry-picking-a-commit-in-a-dependency

In addition, we can wrap those steps in a `dt` tool (e.g. `merge-commit`) to make it even easier.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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