Skip to content

Fixed disabledPackageSources for nuget.org#5874

Merged
honeyankit merged 1 commit intomainfrom
honeyankit/nuget-support-for-disable-registry
Oct 18, 2022
Merged

Fixed disabledPackageSources for nuget.org#5874
honeyankit merged 1 commit intomainfrom
honeyankit/nuget-support-for-disable-registry

Conversation

@honeyankit
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 enabled auto-merge October 18, 2022 20:18
@honeyankit honeyankit force-pushed the honeyankit/nuget-support-for-disable-registry branch from 385f9b4 to ef24824 Compare October 18, 2022 20:18
@honeyankit honeyankit disabled auto-merge October 18, 2022 20:23
@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.

3 participants