[Feature Request] Use the flutter version defined in pubspec.yaml when running `fvm install`
まだ誰も着手していません。
評価
調査の方向性
まず lib/src/services/project_service.dart を読み、特に参照されているバージョン解決ロジックを確認して、fvm install がどのようにバージョンを選択するかを追跡します。pubspec.yaml の environment.flutter にある Flutter の制約がどのように表現されているか、>=3.16.0 のような範囲も含めて確認します。fvm install が追加の設定ファイルやコマンドなしで、プロジェクトで定義されたこの制約を使用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
It is a bit redundant to have to define a config file or run an extra command to specify which flutter version should be installed when this information is already specified in pubspec.yaml.
Describe the solution you'd like
fvm install - # Installs version found in project config should have the option to use the specified flutter version already defined in pubspec.yaml under environment: > flutter:.
Describe alternatives you've considered
Installing yq and run fvm install `yq -r .environment.flutter pubspec.yaml` . Not ideal especially if the flutter version is set as flutter: ">=3.16.0" or similar.
Additional context
Looks like this feature was considered in the past: https://github.com/leoafarias/fvm/blob/161c0834c8d91f437087e27623b7a95288912792/lib/src/services/project_service.dart#L45C1-L47C1
- 主要言語
- Dart
- スター
- 5.5k
- フォーク
- 283
- 平均マージ
- 21分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
btwld/fvm のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
enhancement triage:backlog
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
[BUG] FVM not comparable with dart-sdk v3.13.0対応中かも @leoafarias が 24 日前に担当しました。 オープンbug triage:confirmed windows
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
enhancement triage:backlog windows
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
似ている issue
-
type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 91/100
flame-engine/flame#4219 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
TomBursch/kitchenowl#1211 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ccch1mneyyy/dsh-Go#767 ·
メンテナーはふだん 1 日以内に返信