[bug]: --overwrite-firebase-options flag not working
評価
調査の方向性
まず、既存の出力ファイルを指定して報告された flutterfire configure コマンドを再現し、次に --overwrite-firebase-options フラグがどのように解析され、使用されているかを追跡します。フラグが存在する場合に、コマンドが確認を求めずに指定されたファイルを上書きすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues.
CLI Version
1.0.0
Firebase Tools version
13.10.2
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale
en-HU)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (6 available)
! Error: Browsing on the local area network for -- iPhone. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!
Description
--overwrite-firebase-options Seems to not have any effect. After setting this option still asks: do you want to override it?
Example output
mateboros@Mates-MacBook-Pro my_catalog_app % flutterfire configure --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev" --overwrite-firebase-options
✔ You have to choose a configuration type. Either build configuration (most likely choice) or a target set up. · Build configuration
✔ Please choose one of the following build configurations · Debug-dev
? Generated FirebaseOptions file /Users/mateboros/Documents/Github/my_catalog_app/lib/firebase_options_dev.dart already exists, do you want to override it? (y/n) › yes
Steps to reproduce
SAMPLE: https://github.com/qwadrox/my_catalog_app
- Run:
flutterfire configure --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev" --overwrite-firebase-options
Expected behavior
Should not ask to override the file. It should just override.
Screenshots
No response
Additional context and comments
No response
- 主要言語
- Dart
- スター
- 195
- フォーク
- 77
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
invertase/flutterfire_cli のほかの issue
-
bug Needs Attention Stale triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
invertase/flutterfire_cli#467 · コメント 1 件 · リアクション 1 件 ·
-
[bug]: upload symbols fails with Flutter 3.44 because the SourcePackages have moved対応中かも @TatsuUkraine が 86 日前に担当しました。 オープンbug Needs Attention triage
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
invertase/flutterfire_cli#443 · コメント 18 件 · リアクション 14 件 ·
-
bug Needs Attention triage
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
invertase/flutterfire_cli#428 · コメント 14 件 · リアクション 4 件 ·
-
blocked: customer-response bug enhancement keep open
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
invertase/flutterfire_cli#403 · コメント 1 件 · リアクション 1 件 ·
-
[bug]: flutterfire configure fails on reusing firebase.json対応中かも @Lyokone が 29 日前に担当しました。 オープンblocked: customer-response bug keep open
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
invertase/flutterfire_cli#353 · コメント 6 件 ·
invertase/flutterfire_cli の issue をすべて見る
似ている issue
-
Push workflow fails: oversized artifacts cannot be pushed to `app` branch対応中かも @marcnause が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fossasia/magic-epaper-app#724 ·
メンテナーはふだん 1 日以内に返信
-
priority: high scope: frontend type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
GonsiorHack/czyPrzejade#15 ·
-
fix: jaspr serve keyboard shortcuts (r/R/l/d/q) don't work on Windows対応中かも @lewinpauli が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
berkmancenter/frankly#729 ·
メンテナーはふだん 1 日以内に返信
-
ORMオープンBackend SW VTA
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
aau-giraf/visual-tangible-artefacts#376 ·
メンテナーはふだん 1 日以内に返信