Skip to content

feat: allow excluding paths in build tool detection#324

Closed
behnazh-w wants to merge 1 commit into
stagingfrom
add-macaron-test
Closed

feat: allow excluding paths in build tool detection#324
behnazh-w wants to merge 1 commit into
stagingfrom
add-macaron-test

Conversation

@behnazh-w

Copy link
Copy Markdown
Member

Closes #323

The build tool detection can produce false positives if a project contains build metadata files as part of its tests. Macaron itself is such a project that contains files, such as settings.gradle, etc. even though it uses pip to install.

To configure excluding such paths, this PR allows adding exclude_paths to defaults.ini, e.g.,

[builder.gradle]
exclude_paths =
    test

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 20, 2023
The build tool detection can produce false positives if a project
contains build metadata files as part of its tests. Macaron itself
is such a project that contains files, such as settings.gradle, etc.
even though it uses pip to install.

To configure excluding such paths, this PR allows adding `exclude_paths`
to defaults.ini, e.g.,

```
[builder.gradle]
exclude_paths =
    test
```

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w

Copy link
Copy Markdown
Member Author

PR #1169 already supports path exclusion for build tool detection.

@behnazh-w behnazh-w closed this Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant