if --local-checkout-dir is provided then we only check plugins that are in the directory specified (after filtering any includes/excludes) and ignore any plugins in the war
Also re-introduces a earlier simplification from @basil where the extractors will throw MetadataExtractionException if no plugins (after filtering) are found.
fixes #528
Tested manually with warnigns-ng both in a local checkout and not.
the tests are only run from the local sources if --local-checkout-dir is provided, and fetches the git sources only if it is omitted.
Also manually tested filtering with a bogus plugin-id and a local checkout dir correctly errors in the tool.
[ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ ] Ensure that the pull request title represents the desired changelog entry
[ ] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
if
--local-checkout-dir
is provided then we only check plugins that are in the directory specified (after filtering any includes/excludes) and ignore any plugins in the warAlso re-introduces a earlier simplification from @basil where the extractors will throw
MetadataExtractionException
if no plugins (after filtering) are found.fixes #528
Tested manually with
warnigns-ng
both in a local checkout and not. the tests are only run from the local sources if--local-checkout-dir
is provided, and fetches the git sources only if it is omitted.Also manually tested filtering with a bogus
plugin-id
and a local checkout dir correctly errors in the tool.