exercism / exercism/dart

[Discussion] Should `pubspec.lock` be continued to be tracked?

オープン
#201 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion
主要言語
Dart
スター
60
フォーク
97
PR マージ指標
30日以内にマージされた PR はありません

説明

I remember we removed `pubspec.lock` from exercises, But I see that the repo-level `pubspec.lock` is still being tracked. I generally prefer not tracking generated files because they introduce unnecessary noise in `git diff`s.

If there is use case I don't know about, please do tell. Otherwise we should stop tracking it.

Edit: Tracking `pubspec.lock` also distrupts the branching flow. A contributor might be working or reviewing multiple branches, due to the nature of how `pubspec.lock` is kept in sync with the `pubspec.yaml`, difference in `pubspec.lock`'s timestamp between branches requires running `pub get` again, which updates the `pubspec.lock` timestamp. So switching branches generally requires resetting the `pubspec.lock`

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

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

評価

この issue はまだ評価されていません。

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

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