-
Notifications
You must be signed in to change notification settings - Fork 899
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
Remove all instances of towhat #18222
Comments
@juliancheal something I found out when I was doing ManageIQ/manageiq-api#516 is that only I would have to update my PR, or create a followup that works with ManageIQ/manageiq-schema#314 to handle the extra column updates. Possibly update the description to reflect that for the API PR? Also, I have #18241 which seems like it would probably conflict with #18165 that you have put together. Should I close mine? Of note, I think your's requires the changes in ManageIQ/manageiq-schema#314 where mine is only handling |
@NickLaMuro hey Nick, our plan was to merge the schema changes, then as soon as travis is green merge the manageiq core, then ui repos straight after. I'm guessing we're going to have to do this in the new year now, as I think both LJ and Brandon are out. Yeah I think if it's ok with you to close #18241, as it's covered in #18165. 🎅🏽 |
@juliancheal Cool, sounds good. |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@juliancheal @NickLaMuro what is the status of this issue? |
@chessbyte Unsure. I was just commenting previously regarding a deprecation warning PR that I opened and was in potential conflict, but I didn't have an idea on the general plan for this effort. |
@chessbyte #18165 needs rebasing, then I think that should be good to go. Next we need to change the schema, I closed the two PRs I had on @Fryguy's advice. I need to double check with him, but I think the plan was to simply rename the column. |
@chessbyte All PRs rebased, schema pr re-opened. Just waiting for merges whenever @Fryguy is ready I guess :) Happy Friday. |
- [ ] Depends on [core](ManageIQ/manageiq#18165) - [ ] Depends on [schema](ManageIQ/manageiq-schema#314) Related: ManageIQ/manageiq#18222
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
Note, the core PR here lays out the changes needed in core, api (ui-classic, schema. It was decided in the core PR that while it appears to work, the changes were not insignificant for a minor change. We'll need to re-evaluate if this is desired in the future. |
We've deprecated
towHat
and replacing it withresource_type
. There are many instances of this across not only ManageIQ repo, but also the Schema repo, and the UI Classic (and others?).These are the order we'll need to merge the PRs in order to reduce Travis failures and therefore sad developers.
Deletes towhat column manageiq-schema#311 - removes 'towhat` column in database.
[WIP] Replace all towhats with resource_type #18165 - changes instances of
towhat
toresource_type
in coreRename towhat to resource_type manageiq-ui-classic#4890 - changes instances of
towhat
toresource_type
in classic-uiTL:DR
Merge
schema
, then merge thecore
andui-classic
prs. Usedeprecate_attribute :towhat, :resource_type
in models to allow for any issues during transition.Completed PRs
Create migrations to add resource_type row manageiq-schema#302 - migrates data from old column to new column. Leaves old column in place. ✅Fixestowhat
deprecation warnings manageiq-api#516 - manageiq-api✅Closed PRs
The text was updated successfully, but these errors were encountered: