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

use content of discovery JSON to report dependency files #11026

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Nov 28, 2024

This PR has a temporary commit that redirects the smoke tests. This commit will need to be reverted before this PR can be merged.

Corresponding smoke tests PR: dependabot/smoke-tests#239

A large PR from last week (#10994) added all relevant files to the generated discovery JSON. This PR is a direct extension to that by removing all custom file parsing from Ruby and instead returning the files as reported via the discovery JSON.

The result is a large reduction in the size and complexity of the Ruby code.

One effect is the smoke tests needed to be updated because we're now sorting the dependency files before reporting them upstream. Another effect is that if a project contains no reportable dependencies, we don't report that .csproj.

@brettfo brettfo added the L: dotnet:nuget NuGet packages via nuget or dotnet label Nov 28, 2024
@brettfo brettfo force-pushed the dev/brettfo/nuget-file-fetcher branch 3 times, most recently from 413213b to 680089e Compare December 2, 2024 17:29
@brettfo brettfo marked this pull request as ready for review December 2, 2024 17:59
@brettfo brettfo requested review from a team as code owners December 2, 2024 17:59
@brettfo
Copy link
Contributor Author

brettfo commented Dec 2, 2024

Failing e2e NPM test is not related to this PR; there seems to be a missing file/404 during it's update test.

@randhircs randhircs force-pushed the dev/brettfo/nuget-file-fetcher branch from 680089e to 7b16a02 Compare December 3, 2024 16:03
@brettfo brettfo force-pushed the dev/brettfo/nuget-file-fetcher branch from 7b16a02 to c74664d Compare December 3, 2024 17:19
@randhircs randhircs merged commit 41ce1b0 into main Dec 3, 2024
82 of 90 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-file-fetcher branch December 3, 2024 19:55
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.

4 participants