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

Perform case insensitive matching on Java License files #2235

Merged
merged 1 commit into from Oct 25, 2023

Conversation

coheigea
Copy link
Contributor

@coheigea coheigea commented Oct 17, 2023

Following on from #2227, perform case insensitive matching in GlobMatch so that we can check all license files in a case insensitive manner.

@coheigea coheigea force-pushed the coheigea/case-insensitive-matching branch 3 times, most recently from 8f09379 to 1293f6e Compare October 17, 2023 05:06
Copy link
Contributor

@spiffcs spiffcs left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @coheigea!

Small comment about potential consequences of the change for other consumers of the GlobMatch function. WDYT of changing this at the caller level?

Was there another reason where you saw the GlobMatch needed to be case insensitive for its other uses?

internal/file/zip_file_manifest.go Outdated Show resolved Hide resolved
@spiffcs spiffcs self-assigned this Oct 24, 2023
@coheigea coheigea force-pushed the coheigea/case-insensitive-matching branch 3 times, most recently from 0cf6ef2 to bee75a7 Compare October 25, 2023 05:44
@coheigea coheigea changed the title Perform case insensitive matching in GlobMatch Perform case insensitive matching on Java License files Oct 25, 2023
Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
@coheigea coheigea force-pushed the coheigea/case-insensitive-matching branch from bee75a7 to a5e397b Compare October 25, 2023 05:51
@coheigea coheigea requested a review from spiffcs October 25, 2023 05:59
@spiffcs spiffcs merged commit 1daf18f into anchore:main Oct 25, 2023
10 checks passed
@coheigea coheigea deleted the coheigea/case-insensitive-matching branch October 25, 2023 16:45
@spiffcs spiffcs added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Oct 31, 2023
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
…e#2235)

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants