request: support multiple ios-build-config values
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
調査の方向性
flutterfire configure コマンドから開始し、--ios-build-config がどのように解析され、firebase.json の iOS buildConfigurations エントリがどのように生成されるかを追跡します。カンマ区切りの構成によって同一のエントリが生成されることを確認し、単一の構成に対して文書化されている動作を維持したうえで、結果として得られる firebase.json の構造を検証します。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing feature request for this?
- I have searched the existing issues.
Command
flutterfire configure
Description
Currently, if you have more than a single build configuration for your iOs project you are required to run the flutterfire configure command multiple times. From the documentation:
You need to run flutterfire configure for every configuration type. E.g. if you have Debug & Release configurations, you need to run flutterfire configure twice with the relevant arguments documented below.
If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations: Debug-dev, Profile-dev and Release-dev. Then, it would be very convenient to simply run once:
flutterfire configure --project my_project --ios-build-config Debug-dev,Profile-dev,Release-dev --ios-bundle-id com.example.project.dev --ios-out ios/Runner/development --platforms ios
Hence, I would expect the above command to create three identical entries in the firebase.json file, equivalent to when its run multiple times with different ios-build-configs:
{
"flutter": {
"platforms": {
"ios": {
"buildConfigurations": {
"Debug-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
"Profile-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
"Release-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
}
}
}
}
}
Reasoning
It is easier to run the command once rather than running it multiple times and changing the --ios-build-config each time with the same configuration.
For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the --ios-build-config instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).
Additional context and comments
No response
- 主要言語
- Dart
- スター
- 194
- フォーク
- 76
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
invertase/flutterfire_cli のほかの issue
-
bug Needs Attention triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
invertase/flutterfire_cli#467 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: upload symbols fails with Flutter 3.44 because the SourcePackages have moved対応中かも @TatsuUkraine が 78 日前に担当しました。 オープンbug Needs Attention triage
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
invertase/flutterfire_cli#443 · コメント 18 件 · リアクション 13 件 ·
メンテナーはふだん 1 日以内に返信
-
bug Needs Attention triage
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
invertase/flutterfire_cli#428 · コメント 14 件 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
blocked: customer-response bug enhancement keep open
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
invertase/flutterfire_cli#403 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: flutterfire configure fails on reusing firebase.json対応中かも @Lyokone が 22 日前に担当しました。 オープンblocked: customer-response bug keep open
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
invertase/flutterfire_cli#353 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
invertase/flutterfire_cli の issue をすべて見る
似ている issue
-
Needs Attention platform: android type: infrastructure umbrella
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
firebase/flutterfire#18832 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
from.page-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sass/dart-sass#2888 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[a11y_assessments] Disabled CheckboxListTile shares mutable state対応中かも @kevmoo が 12 日前に担当しました。 オープンa: accessibility fyi-design p: material_ui package team-accessibility
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信