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 tools/feature_supports_matrix #23160

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Aug 19, 2024

extracted from #23140

Overview

I don't know the true purpose of this code.
But it was referencing QUERYABLE_FEATURES
which went away 5dae645 (in 3/15/2021)

I went in here because I was adding supports feature mixin to all models and grep showed me this class

Before

threw exception

After

Lists every model

Alternate

Delete this tool.
I know it was used by Martin H, not sure who else would need it.

I don't know the true purpose of this code.
But it was referencing QUERYABLE_FEATURES
which went away 5dae645 (in 3/15/2021)

I went in here because I was adding supports feature mixin to all models
and grep showed me this class
@kbrock kbrock added the bug label Aug 19, 2024
@kbrock kbrock requested a review from Fryguy as a code owner August 19, 2024 14:04
@miq-bot
Copy link
Member

miq-bot commented Aug 19, 2024

Checked commit kbrock@015a7fd with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
1 file checked, 3 offenses detected

tools/feature_support_matrix.rb

@Fryguy
Copy link
Member

Fryguy commented Aug 19, 2024

I believe the original purpose of this was so that we could generate the capabilities matrix in the docs. That being said, it might be worth just deleting or, if it's actually used for the docs, move it over to the docs repo? @agrare Thoughts?

@agrare
Copy link
Member

agrare commented Aug 19, 2024

I don't know if it was intended to build the docs I think it was just informational. The capabilities_matrix in the docs came years after this tool was introduced.

@Fryguy
Copy link
Member

Fryguy commented Aug 19, 2024

I'd be ok with dropping this tool, though I have to admit it's pretty cool we can create an at-a-glance table.

@Fryguy
Copy link
Member

Fryguy commented Aug 19, 2024

Merging anyway, since the bug is fixed. If we want to delete we can in a follow up PR, and @kbrock it's really up to you. Since you're in this space, maybe this tool it helpful for you.

@Fryguy Fryguy merged commit 0e0a51c into ManageIQ:master Aug 19, 2024
8 checks passed
@Fryguy Fryguy self-assigned this Aug 19, 2024
@kbrock kbrock deleted the feature_supports_matrix branch August 20, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants