Skip to content

Update directory exclusion info#1706

Open
cpottsbd wants to merge 3 commits into11.4.zfrom
cp_IDETECT-5067
Open

Update directory exclusion info#1706
cpottsbd wants to merge 3 commits into11.4.zfrom
cp_IDETECT-5067

Conversation

@cpottsbd
Copy link
Copy Markdown
Contributor

@cpottsbd cpottsbd commented Apr 1, 2026

Update directory exclusion info and clean up tables

Update directory exclusion info
| `/projectRoot/d*/*` | /projectRoot/dir/foo & /projectRoot/directory/bar | |
| Value | Excluded | Not Excluded | Notes |
|--------------------|-----------------------------------------------------------------|---------------------------------|----------------------------------------------|
| `foo/bar` | `/projectRoot/foo/bar` | `/projectRoot/dir/foo/bar` | Excludes directories at any depth |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Seems like the "Notes" and the "Not Excluded" columns contradict each other.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hopefully the latest push sorts that out?

@shantyk shantyk self-requested a review April 24, 2026 02:13
@shantyk
Copy link
Copy Markdown
Contributor

shantyk commented Apr 24, 2026

@cpottsbd @karolynbd Here are the exclusion test results (apologies for the delay):

image

Given the above test project structure and the following values for detect.excluded.directories (note all search depths were at their default values):
Screenshot 2026-04-23 at 23 35 52

But if I set depths to higher:
--detect.detector.search.depth=10
--detect.excluded.directories.search.depth=10
and --detect.excluded.directories.defaults.disabled=true to reduce noise:

Screenshot 2026-04-23 at 23 37 07

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