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-4585] Dependency resolver hangs with two packages with the same name #5036

Closed
Bouke opened this issue Apr 13, 2017 · 0 comments
Closed

Comments

@Bouke
Copy link
Contributor

Bouke commented Apr 13, 2017

Previous ID SR-4585
Radar None
Original Reporter @Bouke
Type Improvement
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement
Assignee None
Priority Medium

md5: d3744815961c6dd127d1b71d18267e75

duplicates:

  • SR-2917 Handle different URLs referring same package

Issue Description:

// my package defined this dependency
        .Package(url: "https://github.com/Bouke/Evergreen.git", majorVersion: 1),

// while some other dependency defined this dependency
        .Package(url: "https://github.com/knly/Evergreen.git", majorVersion: 1),

When running swift package update, the dependency resolver simply hangs after git cloning both dependencies.

swift package update --repin                          master ✚ ✱ ◼
(...)
Fetching https://github.com/Bouke/Evergreen.git
(...)
Fetching https://github.com/knly/Evergreen.git
(...)
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C

This happened on both 3.1 and DEVELOPMENT-SNAPSHOT-2017-04-12-a.

@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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant