-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Use Git Large File Storage for snapshot images #1824
Conversation
I decided to not rewrite the history of master. Swift Package Manager always downloads the full repository, so moving commits from master to a different branch doesn't reduce the amount of data that SPM downloads. We can't delete existing commits since that breaks existing integrations for our consumers. Fortunately adopting LFS reduces the size of a default checkout from 375MB to 215MB (which is good progress) and prevents the repo from growing significantly larger. |
ptal @erichoracek |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, glad we can take this approach
@calda One thought—do we need a guide for contributors to pull later changes after force pushing to |
This PR adopts Git Large File Storage for our snapshot images. This should reduce the default size of the repo by ~130MB (the size of
Tests/__Snapshots__
) and will prevent the git history from growing arbitrarily large.