CCExtractor / CCExtractor/taskwarrior-flutter
chore: Ignore platform-generated build files to improve DX
- 主要言語
- Dart
- スター
- 244
- フォーク
- 179
- 平均マージ
- 12時間 42分
- マージ済み PR(30日)
- 2
説明
### improvement idea
Currently,
when developers run `flutter pub get` or test the app locally, Flutter auto-generates platform-specific build files
> linux/flutter/generated_plugin_registrant.cc
> linux/flutter/generated_plugins.cmake
> macos/Flutter/GeneratedPluginRegistrant.swift
> pubspec.lock
> windows/flutter/generated_plugin_registrant.cc
> windows/flutter/generated_plugins.cmake
depending on local dependencies.
This creates dirty working directories and forces contributors to manually discard changes before committing.
To improve the Developer Experience (DX) and prevent unwanted files from being committed, these paths should be added to `.gitignore`.
### My proposed solution
> 1. I will append the specific paths of the auto-generated platform files to the `.gitignore` at the root of the project.
> 2. Run `git rm --cached ` to untrack these files from the Git repository history so they immediately stop causing merge conflicts for new branches.
By taking these simple steps, we completely automate ignore rules, keeping all future Pull Requests clean from randomly generated machine-specific code.
**I am currently working on a PR for this to help out the team.**
コントリビューションガイド
調査の方向性
ルートの .gitignore から始め、記載されている linux/flutter/generated_plugin_registrant.cc、linux/flutter/generated_plugins.cmake、macos/Flutter/GeneratedPluginRegistrant.swift、pubspec.lock、および Windows 対応ファイルを確認します。先に進む前に、git で現在の追跡状態を確認してください。flutter pub get またはローカルテストによって、これらのパスが不要な作業ツリーの変更として残らなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- flutter, git
- 領域
- build-system, developer-experience
- issue の種類
- リファクタリング
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 25/100