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

Fix using relevant features in ac module #375

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

grisumbras
Copy link
Contributor

Proposed changes

The rule configure.get-relevant-features was misnamed, as it returned relevant properties, not features. The misnomer seems to had been the source of misuse: ac module did not consider any feature other than <link> to be relevant when checking for library existance. That could result in incorrect config checks.

The change renames the rule to get-relevant-properties, and adds back get-relevant-features that returns features. In addition, it fixes the usage of get-relevant-features in ac module (it called the rule without arguments), and removes another usage where its invocation could not result in anything meaningful.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

The rule was misnamed, as it returned relevant properties,  not
features. The misnomer seems to had been the source of misuse: ac module
did not consider any feature other than <link> to be relevant when
checking for library existance. That could result in incorrect config
checks.

The change renames the rule to get-relevant-properties, and adds back
get-relevant-features that returns features. In addition, it fixes the
usage of get-relevant-features in ac module (it called the rule without
arguments), and removes another usage where its invocation could not
result in anything meaningful.
@grafikrobot grafikrobot merged commit 33de696 into bfgroup:main Apr 23, 2024
142 checks passed
grafikrobot added a commit that referenced this pull request Apr 24, 2024
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.

2 participants