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

Fixed disabledPackageSources for nuget.org #5874

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

honeyankit
Copy link
Contributor

@honeyankit honeyankit commented Oct 11, 2022

In the nuget.config, adding the default public Nuget registry to disabledPackageSources section was not disabling it. Dependabot was still able to access the default public registry (nuget.org).

With this modification, the dependabot won't contact the default public registry if a user disable the public nuget registry in the disabledPackageSources section even without using the <clear /> tag in the nuget.config. [ref]

@honeyankit honeyankit requested a review from a team as a code owner October 11, 2022 21:50
@honeyankit honeyankit self-assigned this Oct 11, 2022
jakecoffman
jakecoffman previously approved these changes Oct 12, 2022
Copy link
Member

@jakecoffman jakecoffman left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@jakecoffman jakecoffman dismissed their stale review October 12, 2022 17:22

David is correct, something fishy is going on here

Copy link
Member

@jakecoffman jakecoffman left a comment

Choose a reason for hiding this comment

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

Looks great!

@honeyankit honeyankit force-pushed the honeyankit/nuget-support-for-disable-registry branch from 385f9b4 to ef24824 Compare October 18, 2022 20:18
@honeyankit honeyankit force-pushed the honeyankit/nuget-support-for-disable-registry branch from ef24824 to e49c6ff Compare October 18, 2022 21:39
@honeyankit honeyankit merged commit eaf59fb into main Oct 18, 2022
@honeyankit honeyankit deleted the honeyankit/nuget-support-for-disable-registry branch October 18, 2022 22:54
@pavera pavera mentioned this pull request Oct 31, 2022
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

3 participants