flutter / flutter/devtools

New `dt` tool: `merge-commit`

オープン
#9,734 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
infra P2
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reading the linked Flutter DevTools release instructions and the Dart SDK cherry-pick guide, focusing on the merge-commit steps and the cases where they produce file changes. Then locate the existing `dt` tool entry point and determine how the `merge-commit` command should wrap that workflow; done means the command reliably performs the documented steps without unintended file changes.

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

評価

技術スタック
dart, git, github
領域
cli, release, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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