Skip to content

Conversation

@wcharysz
Copy link

Motivation:

Swift Package Manager currently lacks native support for Git Large File Storage (LFS), which limits its usability in projects that rely on large binary assets or versioned media files. This change aims to improve compatibility with repositories using Git LFS, enabling smoother dependency resolution and package integration.

Modifications:

Integrated Git LFS handling into the package resolution workflow.
Ensured LFS-tracked files are properly fetched and available during package checkout.
Added tests to validate LFS file presence and integrity.

Result:

SwiftPM can now correctly handle packages that use Git LFS, improving support for a broader range of repositories and workflows involving large assets.

@dschaefer2
Copy link
Member

@plemarquand I think you were looking in this area a while ago?

@dschaefer2
Copy link
Member

@swift-ci please test

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.

3 participants