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

Removed dependency to Minimatch #184

Merged
merged 7 commits into from
Mar 15, 2023

Conversation

Eneuman
Copy link
Contributor

@Eneuman Eneuman commented Mar 4, 2023

Minimatch is a NuGet package for matching text patterns and is being used when deciding if a volume should be downloaded or not.
The nuget package only supports .Net Standard 1.0 and has not been activily maintained since 2016.

When bulding B2K, the following warning occures in the output:
warning NU1603: Minimatch 2.0.0 depends on NETStandard.Library (>= 1.0.0-rc2-23910) but NETStandard.Library 1.0.0-rc2-23910 was not found. An approximate best match of NETStandard.Library 1.5.0-rc2-24027 was resolved.

This PR removes the dependency to that package.

I have added the tests I could think of but the B2K documentation isn't clear on what wildcard patterns it supports.
Please have a look and see if I missed any test patterns.

@Eneuman Eneuman requested review from a team, Tatsinnit and sabbour as code owners March 4, 2023 13:09
Copy link
Contributor

@elenavillamil elenavillamil left a comment

Choose a reason for hiding this comment

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

@Eneuman thank you for your change :) Can you please remove reference from notice.txt and client.signproj? Again happy to take the change forward on our end if you are busy.

@Eneuman
Copy link
Contributor Author

Eneuman commented Mar 10, 2023

notice.txt and signing

@elenavillamil Fixed!

Copy link
Contributor

@elenavillamil elenavillamil left a comment

Choose a reason for hiding this comment

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

LGMT. I validated locally and check against combinations of download volume i know of. Testing team also ran validation.

Copy link
Collaborator

@hsubramanianaks hsubramanianaks left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@elenavillamil elenavillamil merged commit 2aa8711 into Azure:main Mar 15, 2023
@Eneuman Eneuman deleted the feature/remove-minmatch-dependency branch March 21, 2023 18:59
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