-
Notifications
You must be signed in to change notification settings - Fork 356
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
Move product.py to core #5002
Move product.py to core #5002
Conversation
/kickstart-test --testtype smoke |
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.
It looks great. Thank you!
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.
Btw. I have a feeling that the OSCAP add-on is actually using this functionality.
Waiting to coordinate with oscap folks. Presumably it would be better to wait with this until after branching. |
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.
Looks good to me - much cleaner now, thanks! :)
Just a small typo in one of the commit messages:
|
OSCAP people say this is fine for rawhide, so I'd wait for when we do the branching, unless we absolutely require this for webui. |
This means, do not import anything from product to constants that woudl be then re-imported elsewhere from constants.
Generally speaking, move `pyanaconda.product.distributionText` to `pyanaconda.ui.helpers.get_distribution_text` and convert all uses.
a09c824
to
20e7580
Compare
Rebased to lastest master. |
/kickstart-test --testtype smoke |
/packit test |
Refactoring in advance of adding D-Bus API for this and such.
Not sure how far I will go with this yet, so no TODO list.Let's take it piecewise. This is a good foundation, is still reasonably sized, and it does not makes sense to mix in the other changes that will have their own challenges.Side note - the changes have potential to break initial setup due to touching the UI class constructor.Disproved by kickstart tests below.