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

Support for the online installation medium (jsc#SLE-7214) #815

Merged
merged 3 commits into from Sep 20, 2019

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Sep 20, 2019

  • Adjust the product selection in the welcome screen for the online medium installation
    • The products are read from the control.xml file
    • Updated selecting the product
  • https://jira.suse.com/browse/SLE-7214
  • Tested manually
  • 4.2.14

@coveralls
Copy link

coveralls commented Sep 20, 2019

Coverage Status

Coverage increased (+0.05%) to 23.94% when pulling c9c3b8f on online_medium into 41f463b on master.

require "fileutils"
require "pp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it is needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To better format the logged data:

log.info "Found base products in the control.xml: #{@available_base_products.pretty_inspect}"

@@ -79,6 +86,10 @@ def registered?
rescue LoadError
false
end

def product_id(prod)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, can we extend prod to provide this method? For me it does not belong here, but to prod object itself.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually a widget ID, it not related to the products at all, it's used for identifying the RadioButton widgets. So I'd leave it here. I just renamed it to widget_id to make it clear.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, with "widget_id" it fails, that's already used by CWM, renaming to "item_id"...

@lslezak lslezak merged commit fdb7aff into master Sep 20, 2019
@lslezak lslezak deleted the online_medium branch September 20, 2019 15:04
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #69 successfully finished
✔️ Created OBS submit request #732211

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #10 successfully finished
✔️ Created IBS submit request #201298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants