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

Added new Nuget packages.config analyzer (Nugetconf) #1406

Merged
merged 14 commits into from
Jul 31, 2018

Conversation

doshyt
Copy link

@doshyt doshyt commented Jul 29, 2018

Fixes Issue

Adds support of .NET packages.config dependency format. This format is a popular way to declare dependencies for MSBuild projects without including them into *.csproj files or using *.nuspec files.

Description of Change

Created a new analyzer "Nugetconf" using the existing Nuspec and MSBuild analyzers as inspirations; marked it as experimental. Updated settings, CLI options, various documentation files and added test cases.

Have test cases been added to cover the new functionality?

Yes

@jeremylong
Copy link
Owner

Can one of the admins verify this patch?

@jeremylong
Copy link
Owner

@doshyt - this is one of the most complete and highest quality PRs we've seen. From clean, documented code to updating the user documentation. Thank you for adding the configuration to all of the implementations (maven, cli, ...). What really surprised me is that you even noticed that you needed to update the dependencycheck-base-suppression.xml to filter out some obvious FP.

Thank you!

@jeremylong jeremylong merged commit 60939c6 into jeremylong:master Jul 31, 2018
@doshyt
Copy link
Author

doshyt commented Jul 31, 2018

@jeremylong - thanks for the good words!

I also noticed that there is a lot of duplication in XPath parsing implementations between Nuspec, MSBuild and packages.config analyzers. Probably, it can be simplified and merged into the same parser that implements searches for these analyzers. I would love to work on it next.

@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants