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

Ignore local sources when enforcing package source mapping with central package management #4764

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

jeffkl
Copy link
Contributor

@jeffkl jeffkl commented Aug 19, 2022

Bug

Fixes: NuGet/Home#11951

Regression? Last working version:

Description

Trim down configured sources to ones that are not local. Moved the logic inside of the check for package source mapping to avoid the overhead in case the user is already opt-ed in.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

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

nkolev92
nkolev92 previously approved these changes Aug 29, 2022
@jeffkl jeffkl force-pushed the dev-jeffkl-ignore-local-sources-in-cpm-psm-warning branch from df56320 to 50f1687 Compare August 30, 2022 15:19
@jeffkl jeffkl requested a review from nkolev92 August 31, 2022 19:28
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.

[DCR]: Central package management package source mapping should only look at configured feeds
2 participants