ember-cli / ember-cli/ember-cli-update

--to flag still prompting for user interaction

オープン
#1,148 コメント 5 件 リアクション 5 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
279
フォーク
44
PR マージ指標
30日以内にマージされた PR はありません

説明

When we run a command using the `--to` flag (e.g. `ember-cli-update --to 3.26.1`), the output still prompts to ask which version we want:

```
? Blueprint updates have been found. Which one would you like to update? addon,
current: 3.20.0, latest: 3.27.0
```

Hitting enter a couple times moves past this prompt and produces the expected behavior (that is, it updates to the target version and not, say, latest), but I would expect that providing the `--to` option for `ember-cli-update` would preempt the need to ask the user this question. This becomes particularly important when attempting to use `ember-cli-update` as a codemod across multiple projects at the same time, or via an automated job. We want to be able to provide all the necessary information when the command is invoked, so that no process gets blocked on waiting for interaction with a user prompt.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

`ember-cli-update --to 3.26.1` で問題を再現し、Blueprint の更新プロンプトを表示するコードパスを追跡します。`--to` を指定すると対話的な選択を回避しつつ、要求された対象バージョンへの更新が行われることを、自動化されたジョブから実行した場合も含めて確認します。

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

評価

技術スタック
javascript
領域
cli, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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