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

improve diagnostics when running into multiple product conflicts #6792

Merged
merged 1 commit into from Aug 10, 2023

Conversation

tomerd
Copy link
Member

@tomerd tomerd commented Aug 10, 2023

motivation: diagnostics for multiple products conflicts could be fairly confusing with repeated package identities and not enough informaiton about the origin of the conflict

changes:

  • use PackageIdentity to track duplicates instead of strings
  • use Sets to track duplicates instead of array
  • add information about the origin (url) of the conflict
  • adjust tests

rdar://113495991

motivation: diagnostics for multiple products conflicts could be fairly confusing with repeated package identities and not enough informaiton about the origin of the conflict

changes:
* use PackageIdentity to track duplicates instead of strings
* use Sets to track duplicates instead of array
* add information about the origin (url) of the conflict
* adjust tests

rdar://113495991
@tomerd
Copy link
Member Author

tomerd commented Aug 10, 2023

@swift-ci smoke test

@neonichu
Copy link
Member

Best to also include the radar number in the commit message / PR description for tracking purposes.

@tomerd tomerd merged commit 9d4b490 into apple:main Aug 10, 2023
5 checks passed
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.

None yet

2 participants