Skip to content

Support enabling plugins conditionally #91

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

Merged
merged 1 commit into from
May 14, 2025
Merged

Support enabling plugins conditionally #91

merged 1 commit into from
May 14, 2025

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented May 14, 2025

Add an enable-if key to provider data block that can be used to specify environment marker expressions, and load respective plugins only if the expression is true. This can be used, for example, to load processor-specific plugins only on architectures where they are relevant.

Add an `enable-if` key to provider data block that can be used
to specify environment marker expressions, and load respective plugins
only if the expression is true.  This can be used, for example, to load
processor-specific plugins only on architectures where they are
relevant.
@mgorny mgorny requested a review from DEKHTIARJonathan May 14, 2025 13:54
@mgorny mgorny merged commit 2369d98 into dev May 14, 2025
45 checks passed
@mgorny mgorny deleted the provider-enable-if branch May 14, 2025 14:08
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.

1 participant