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-12016] [SwiftPM] show-dependencies emits duplicate lines in dot format in some cases. #4626

Closed
YOCKOW opened this issue Jan 12, 2020 · 2 comments
Assignees
Labels

Comments

@YOCKOW
Copy link
Contributor

YOCKOW commented Jan 12, 2020

Previous ID SR-12016
Radar None
Original Reporter @YOCKOW
Type Bug
Status Resolved
Resolution Done
Environment

Apple Swift Package Manager - Swift 5.1.0 (swiftpm-15502)

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

md5: bd4f3679992e2e599d5adc725a9c0f5d

Issue Description:

How to reproduce

% git clone https://github.com/YOCKOW/SwiftPM-DuplicateArrowsInDotFormat.git
% cd ./SwiftPM-DuplicateArrowsInDotFormat/PackageA
% swift package show-dependencies --format=dot

Then, you can see thare are duplicated lines such as two arrows from "PackageC" to "PackageD".
(Sample image with Graphviz Online)

Details

  • The repository contains four packages: "PackageA", "PackageB", "PackageC", and "PackageD".

  • "PackageA" depends on "PackageB" and "PackageC".

  • "PackageB" depends on "PackageC" and "PackageD".

  • "PackageC" depends on only "PackageD".

@YOCKOW
Copy link
Contributor Author

YOCKOW commented Jan 16, 2020

#2521

@YOCKOW
Copy link
Contributor Author

YOCKOW commented Feb 25, 2020

Merged into master: fc84eb5

@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

1 participant