Skip to content

Perform case insensitive matching on Java License files#2235

Merged
spiffcs merged 1 commit intoanchore:mainfrom
coheigea:coheigea/case-insensitive-matching
Oct 25, 2023
Merged

Perform case insensitive matching on Java License files#2235
spiffcs merged 1 commit intoanchore:mainfrom
coheigea:coheigea/case-insensitive-matching

Conversation

@coheigea
Copy link
Copy Markdown
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
Copy Markdown
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?

Comment thread internal/file/zip_file_manifest.go Outdated
@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
@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.

2 participants