New `dt` tool: `merge-commit`
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, git, github
- Domaine
- cli, release, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100