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

200.4.0 package resolution failure #678

Open
dfeinzimer opened this issue Apr 11, 2024 · 5 comments
Open

200.4.0 package resolution failure #678

dfeinzimer opened this issue Apr 11, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@dfeinzimer
Copy link
Collaborator

dfeinzimer commented Apr 11, 2024

There've been several reports of an issue with resolving the 200.4 package due to Git LFS:

Couldn't check out revision
'a01f570fc225c2ada99913c3430cc42b948075f0':
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
@dfeinzimer dfeinzimer added the bug Something isn't working label Apr 11, 2024
@philium
Copy link
Contributor

philium commented Apr 11, 2024

Adding symlink to LFS for Xcode

That seems unreasonable for us to expect customers to do, given that Git LFS is only used for testing.

@dfeinzimer
Copy link
Collaborator Author

dfeinzimer commented Apr 11, 2024

That seems unreasonable for us to expect customers to do

Agreed and (thankfully?) it seems likely that fix was a false positive. From what I've heard from others and after more of my own testing the failure seems intermittent, with and without the symlink in place.

Edit: I'm going to pull it out of the description for now.

Edit 2: Maybe it's worth noting that simply cloning the repo via command line works consistently.

@dfeinzimer
Copy link
Collaborator Author

Seemingly related issue at apple/swift-package-manager#5351. Discussion on Swift Forums here.

We might need to rethink including LFS for the time being. 🫤

@dfeinzimer
Copy link
Collaborator Author

I've prepared branch df/remove-lfs if we proceed with a patch. Samples is able to checkout this branch without issue.

This was referenced Apr 12, 2024
@dfeinzimer
Copy link
Collaborator Author

dfeinzimer commented Apr 12, 2024

A patch has been issued and the release has been re-published and re-tagged.

For anyone experiencing further issues the following files should be removed:

~/Library/Caches/org.swift.swiftpm
~/Library/org.swift.swiftpm

@dfeinzimer dfeinzimer changed the title 200.4 package resolution failure 200.4.0 package resolution failure Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants