Skip to content

Add rust-src directories to ignoredPaths#2017

Merged
89luca89 merged 1 commit into
chainguard-dev:mainfrom
egibs:ignore-rust-src-dirs
May 30, 2025
Merged

Add rust-src directories to ignoredPaths#2017
89luca89 merged 1 commit into
chainguard-dev:mainfrom
egibs:ignore-rust-src-dirs

Conversation

@egibs

@egibs egibs commented May 30, 2025

Copy link
Copy Markdown
Member

Rust exhibits a similar behavior to packages that have node_modules directories. This PR adds a bit of regex parsing to ensure we have a consistent string to ignore. I built rust-1.86 locally and it worked whereas previously it failed when encountering rust-x.y.z/ LICENSE files.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested a review from 89luca89 May 30, 2025 14:07
@89luca89 89luca89 enabled auto-merge (squash) May 30, 2025 14:51
@89luca89 89luca89 merged commit cddba82 into chainguard-dev:main May 30, 2025
56 checks passed
@egibs egibs deleted the ignore-rust-src-dirs branch October 21, 2025 18:29
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.

2 participants