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

don't continue checking a non-existant feed for a package #11252

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Jan 8, 2025

Issue found when scanning internal logs.

If a feed is specified with an internal-only URL, checking that feed for possible updates will obviously fail. We don't want to fail the entire update process, though, because it's entirely possible for a repo to list both public and internal feeds and to only want dependabot to run for public packages.

The fix is to broaden the scope of the try block so that if fetching the service index fails, we simply continue onto the next source.

@brettfo brettfo requested a review from a team as a code owner January 8, 2025 20:26
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Jan 8, 2025
JamieMagee
JamieMagee previously approved these changes Feb 5, 2025
@JamieMagee JamieMagee force-pushed the dev/brettfo/nuget-source-no-such-host branch from aedecb4 to 3f94c62 Compare February 5, 2025 05:16
@brettfo brettfo force-pushed the dev/brettfo/nuget-source-no-such-host branch from 3f94c62 to 6d2735c Compare February 24, 2025 17:25
@randhircs randhircs force-pushed the dev/brettfo/nuget-source-no-such-host branch from 6d2735c to 6a1ea91 Compare February 24, 2025 20:28
@randhircs randhircs merged commit 27d578c into main Feb 24, 2025
75 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-source-no-such-host branch February 24, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants