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

Remove miq-unicode.rb #509

Merged
merged 1 commit into from
Jan 26, 2021
Merged

Remove miq-unicode.rb #509

merged 1 commit into from
Jan 26, 2021

Conversation

djberg96
Copy link
Contributor

Remove miq-unicode.rb from gems-pending as part of the cleanup effort.

The main user of this was manageiq-smartstate, and that was reimplemented (using refinements) at ManageIQ/manageiq-smartstate#149. The other callers were virtfs-xxx repos, and those were archived.

@Fryguy
Copy link
Member

Fryguy commented Jan 25, 2021

Also seeing references in this repo directly:

@djberg96
Copy link
Contributor Author

Ah, dammit, missed those. Will update.

@Fryguy Fryguy self-assigned this Jan 25, 2021
@Fryguy
Copy link
Member

Fryguy commented Jan 25, 2021

For the one in this repo, it seems like only a single refernce, so I'd be ok with inlining the conversion

@djberg96
Copy link
Contributor Author

djberg96 commented Jan 25, 2021

@Fryguy ok, updated the inline one. I'll take a look at the smartstate code now.

Remove miq-unicode from miq-powershell.rb and just inline it.
@miq-bot
Copy link
Member

miq-bot commented Jan 25, 2021

Checked commit https://github.com/djberg96/manageiq-gems-pending/commit/b9c1f342570c66cfdc1cd74203f16e9f417ccea0 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 👍

@djberg96
Copy link
Contributor Author

djberg96 commented Jan 25, 2021

I see a caller in https://github.com/ManageIQ/manageiq-smartstate/blob/23a23fec3db89859e280d9cc449946605543b2e6/lib/metadata/util/win32/Win32Accounts.rb#L627-L645, but there's no require of miq_unicode in that file.

It's picked up via disk/modules/MSCommon.rb

Same goes for MSVSDiffDisk.rb.

@djberg96
Copy link
Contributor Author

@djberg96
Copy link
Contributor Author

@Fryguy Fryguy merged commit e23242a into ManageIQ:master Jan 26, 2021
@Fryguy Fryguy mentioned this pull request Jan 26, 2021
50 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants