Skip to content

Conversation

shantyk
Copy link
Contributor

@shantyk shantyk commented Oct 9, 2025

Closes IDETECT-4180

Please see related component locator library MRs under ticket.

"If false, Detect will exclude the default directory names. See the detailed help for more information. Caution should be exercised when including this parameter on Windows, as the commmand length generated may exceed OS limitations.",
"If false, the following directories will be excluded by Detect when searching for detectors: __MACOX, bin, build, .git, .gradle, .yarn, node_modules, out, packages, target, .synopsys, .blackduck, and the following directories will be excluded from signature scan using the Scan CLI '--exclude' flag: .git, .gradle, gradle, node_modules, .synopsys, .blackduck."
"If false, Detect will exclude the default list of directory names when searching for applicable detectors (see property details for more information).",
"Directories excluded by default: __MACOX, bin, build, .git, .gradle, .yarn, node_modules, out, packages, target, .synopsys, .blackduck, and the following directories will be excluded from signature scan using the Scan CLI '--exclude' flag: .git, .gradle, gradle, node_modules, .synopsys, .blackduck."
Copy link
Contributor Author

@shantyk shantyk Oct 9, 2025

Choose a reason for hiding this comment

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

Mainly wanted to remove the "Caution should be exercised when including this parameter on Windows, as the command length generated may exceed OS limitations" which doesn't apply to the property (its simply either TRUE or FALSE) but ended up rewording a little bit. cc: @cpottsbd

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe the command length concern refers to the command that gets issued by Detect when it tries to run the signature scanner.
See the change that introduced this message: https://github.com/blackducksoftware/detect/pull/896/files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for tracking that down. I see the warning for the property "detect.excluded.directories" also, though for this one it makes sense

@shantyk shantyk requested a review from cpottsbd October 9, 2025 21:32
@shantyk shantyk changed the title Bump CLL version to 2.1.1 (exclude irrelevant directories when searching for locations) fix/refactor (CLL): Bump CLL version to 2.1.1 to exclude irrelevant directories when searching for locations (IDETECT-4810) Oct 9, 2025
@shantyk shantyk changed the title fix/refactor (CLL): Bump CLL version to 2.1.1 to exclude irrelevant directories when searching for locations (IDETECT-4810) fix/refactor(CLL): Bump CLL version to 2.1.1 to exclude irrelevant directories when searching for locations (IDETECT-4810) Oct 9, 2025
@shantyk shantyk self-assigned this Oct 9, 2025
@shantyk shantyk marked this pull request as ready for review October 10, 2025 18:48
@shantyk shantyk changed the base branch from master to 11.0.z October 16, 2025 20:01
@shantyk shantyk merged commit 56b9014 into 11.0.z Oct 16, 2025
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.

4 participants