Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow excluding paths in build tool detection #324

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

behnazh-w
Copy link
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 <[email protected]>
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