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

[SR-6492] Trying to edit a package that is already symlinked in Packages fails #4909

Closed
ephemer opened this issue Nov 29, 2017 · 2 comments
Closed
Labels

Comments

@ephemer
Copy link

ephemer commented Nov 29, 2017

Previous ID SR-6492
Radar rdar://problem/38524354
Original Reporter @ephemer
Type Bug
Status Resolved
Resolution Done
Environment

Any

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 93327875aa35a9c0a1098887c6d25475

relates to:

  • SR-7835 Swift package manager edit path command returns a file exists symlink error despite cleaning up build directory

Issue Description:

touch Packages/myPackageName

swift package edit myPackageName --path path/toMyPackage

fail

It'd be great if we could be prompted to overwrite the existing symlink (even better, if SwiftPM could realise that the symlink it's trying to create is the one that already exists, which so far as been 100% of cases for me)

For context: This happens when SwiftPM can't find an "edited" dependency, which resets some of its internal state, but doesn't remove the symlinks in Packages.

@ankitspd
Copy link
Member

@swift-ci create

@ankitspd
Copy link
Member

#1711

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants