Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shorebird_cli): add doctor check that lockfiles are tracked in source control #2738

Merged
merged 9 commits into from
Jan 3, 2025

Conversation

bryanoltman
Copy link
Contributor

@bryanoltman bryanoltman commented Jan 2, 2025

Description

Warns if lockfiles are not tracked in source control. Untracked lockfiles are a common source of unexpected native changes/bad link percentages, and not all developers know they should track their lockfiles in source control.

This check will also warn if the project is not a git repo. We may want to remove this for our mercurial using customers.

Fixes #2734

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore
  • 🧪 Tests

Copy link

codecov bot commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@bryanoltman bryanoltman enabled auto-merge (squash) January 3, 2025 18:50
@bryanoltman bryanoltman merged commit 10322b9 into main Jan 3, 2025
10 checks passed
@bryanoltman bryanoltman deleted the bo/track-lock-files branch January 3, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add doctor validator to make sure pubspec.lock is tracked by source control
2 participants