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

Ensure top-level package isn't duplicated in new source mappings #5374

Closed
wants to merge 3 commits into from

Conversation

donnie-msft
Copy link
Contributor

@donnie-msft donnie-msft commented Aug 23, 2023

Bug

Fixes: NuGet/Home#12839

Regression? Last working version:

Description

I'm not sure if this causes a problem today, but in a subsequent PR, I want to have an accurate count of newly mapped packages. So, I'd like this to only append package ID if it's not already included.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception - existing tests look at the end result, which shouldn't change with this refactoring.
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@donnie-msft donnie-msft marked this pull request as ready for review August 23, 2023 22:38
@donnie-msft donnie-msft requested a review from a team as a code owner August 23, 2023 22:38
@donnie-msft donnie-msft requested a review from zivkan August 24, 2023 19:25
aortiz-msft
aortiz-msft previously approved these changes Aug 24, 2023
Copy link
Contributor

@aortiz-msft aortiz-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@donnie-msft
Copy link
Contributor Author

Thanks for the reviews. I've integrated this change into #5377 which supersedes this PR.

auto-merge was automatically disabled August 25, 2023 05:44

Pull request was closed

@nkolev92 nkolev92 deleted the dev-donnie-msft-topLevelPSMDupe branch July 12, 2024 18:58
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.

Package Source Mapping utility always appends package ID
3 participants