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

[WIP] Deprecate category #552

Closed
wants to merge 2 commits into from
Closed

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Jan 30, 2019

Part of ManageIQ/manageiq#17210

Removing Category from app/models.rb

It is just a child of Classification with a default scope { where(:parent_id => 0) }
So there is not much lost.

Also, in anticipation of removing Tag class (merging with Classification), I changed tests to reference Classification instead of Tag where possible.

@kbrock kbrock force-pushed the deprecate_category branch 2 times, most recently from 0c3db2d to b51a9bd Compare January 30, 2019 23:20
@kbrock kbrock force-pushed the deprecate_category branch 3 times, most recently from d359a07 to 7fc8c01 Compare February 1, 2019 15:10
@kbrock kbrock changed the title Deprecate category [WIP] Deprecate category Feb 1, 2019
@miq-bot miq-bot added the wip label Feb 1, 2019
@kbrock
Copy link
Member Author

kbrock commented Feb 1, 2019

wip: deleting category from models and ensuring this still works. will be non-wip soon

When we reference category, we are really talking about a classification
WIP: This causes some test failures.
I'm wondering if we created Category to get around limitations in the api
@kbrock kbrock force-pushed the deprecate_category branch from 7fc8c01 to ae15101 Compare February 1, 2019 17:23
@miq-bot
Copy link
Member

miq-bot commented Feb 1, 2019

Checked commits kbrock/manageiq-api@5ae60ba~...ae15101 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
5 files checked, 0 offenses detected
Everything looks fine. 🍰

@kbrock
Copy link
Member Author

kbrock commented Feb 25, 2019

Category was created to make API easier - going to let it live on

@kbrock kbrock closed this Feb 25, 2019
@kbrock kbrock deleted the deprecate_category branch February 25, 2019 21:35
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.

2 participants