-
Notifications
You must be signed in to change notification settings - Fork 120
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
v2v: Add support for driver ISOs #121
Conversation
@miq-bot assign @tinaafitz |
@miq-bot add_label fine/yes |
Depends on ManageIQ/manageiq-automation_engine#31 |
@@ -0,0 +1,46 @@ | |||
module ManageIQ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matobet Can you add a spec test for this method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tinaafitz done
@@ -28,6 +28,7 @@ def main | |||
'cluster_id' => @handle.root['dialog_cluster'], | |||
'storage_id' => @handle.root['dialog_storage'], | |||
'sparse' => @handle.root['dialog_sparse'], | |||
'drivers_iso' => @handle.root['dialog_install_drivers'] && @handle.root['dialog_drivers_iso'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matobet Can you update the spec test for this method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tinaafitz done
4c73a03
to
4ed46ab
Compare
@matobet Looks good. |
|
||
def main | ||
values_hash = {} | ||
values_hash[nil] = '-- select drivers ISO from list --' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matobet Seems like it would be better to not set any default message here. Instead below if you do not have a provider you could provide an message like "-- Select Provider first--". This "select drivers" message would move down into the current else
block where you are listing the ISOs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmcculloug done
@matobet I added a link to the related PR in the ovirt repo for future reference. Please add useful links to the description in future PRs. |
4ed46ab
to
1b8b673
Compare
@gmcculloug sure no problem, I thought having the github automatic comments "PR mentioned from" is enough but sure, I can post the bulk to every PR's description for convenience |
Checked commit matobet@1b8b673 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
v2v: Add support for driver ISOs (cherry picked from commit ec6ee1f) https://bugzilla.redhat.com/show_bug.cgi?id=1459996
Fine backport details:
|
https://bugzilla.redhat.com/show_bug.cgi?id=1404920
Related to ManageIQ/manageiq-providers-ovirt#44