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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore static plugins when specified in config #1528

Merged

Conversation

dominiklohmann
Copy link
Member

@dominiklohmann dominiklohmann commented Apr 6, 2021

馃摂 Description

This commit changes VAST to ignore plugins specified in the vast.yaml when static versions of them are already loaded.

Aside from being the correct thing to do, this fixes an issue with the integration test suite where plugin integration tests specify their name in a vast.yaml file used for their tests.

馃摑 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

馃幆 Review Instructions

File-by-file. Note that this is based on #1527 and cannot work without that change.

@dominiklohmann dominiklohmann added the bug Incorrect behavior label Apr 6, 2021
@dominiklohmann dominiklohmann requested a review from a team April 6, 2021 12:51
@dominiklohmann dominiklohmann force-pushed the story/ch24016/ignore-specified-static-plugins branch 2 times, most recently from cc3810f to 5d2821b Compare April 6, 2021 12:55
Base automatically changed from story/ch24015/align-plugin-and-library-names to master April 6, 2021 19:25
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

Looks good in principle, just nits and a comment on the choice of algorithm.

vast/vast.cpp Outdated Show resolved Hide resolved
vast/vast.cpp Outdated Show resolved Hide resolved
vast/vast.cpp Outdated Show resolved Hide resolved
@dominiklohmann dominiklohmann force-pushed the story/ch24016/ignore-specified-static-plugins branch 2 times, most recently from 459b74d to 13e8a9b Compare April 8, 2021 08:04
This commit changes VAST to ignore plugins specified in the `vast.yaml`
when static versions of them are already loaded.

Aside from being the correct thing to do, this fixes an issue with the
integration test suite where plugin integration tests specify their name
in a `vast.yaml` file used for their tests.
@dominiklohmann dominiklohmann force-pushed the story/ch24016/ignore-specified-static-plugins branch from 13e8a9b to 5bc1abe Compare April 8, 2021 09:43
@dominiklohmann dominiklohmann merged commit 9491df7 into master Apr 8, 2021
@dominiklohmann dominiklohmann deleted the story/ch24016/ignore-specified-static-plugins branch April 8, 2021 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior
Projects
None yet
3 participants