Trees | Indices | Help |
---|
|
Explanation of the RHN registration gui and how it is used from both rhn_register and firstboot (from alikins): Most of the "work" happens in rhnregGui.py. Thats where the logic for the screens is. gui.py has Gui which is the big monster class (using druid) that makes up the main gui wizard for up2date/rhn_register. Gui implements showing the pages for up2date/rhn_register. For up2date/rhnreg, it has methods that load the classes from rhnregGui (by multiple inheritance...), but it's not too bad, it's all mixin stuff, nothing wacky, no overridden methods or anything. firstboot/* does more or less the same thing, but with a different style of wrapper just to present the firstboot style api's. (Each "page" in firstboot is a module with a class that inherits FirstBootGuiWindow.)
|
|||
ReviewLog | |||
StartPage There is a section of this page which asks if the user wants to register, which will only be shown in firstboot. |
|||
ChooseServerPage | |||
LoginPage | |||
ReviewSubscriptionPage | |||
ConfirmAllUpdatesDialog | |||
ChooseChannelPage | |||
CreateProfilePage | |||
ProvideCertificatePage | |||
FinishPage The finish screen. |
|||
AlreadyRegisteredDialog | |||
AlreadyRegisteredSubscriptionManagerDialog Window with text: You are already subscribed using subscription manager. |
|||
ConfirmQuitDialog | |||
MoreInfoDialog | |||
WhyRegisterDialog | |||
HardwareDialog | |||
PackageDialog | |||
NetworkConfigDialog This is the dialog that allows setting http proxy settings. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Shows an error dialog with the message and logs that an error happened. This function is designed to be used in an except block like so: unexpectedError(_("Your error here."), sys.exc_info()) |
Calls function and limits the exceptions that can be raised to those in the list provided and SystemExit. If an exception is raised which isn't allowed, errorHandler will be called and then None will be returned. errorHandler defaults to the unexpectedError function and will be passed disallowedExceptionMessage. If it is overridden, the function provided must take a string and a tuple (see below for details). If no exceptions are raised, functions's return value is returned. I need this function because if some of the functions in the Pages raise unexpected exceptions, the druid might advance when it shouldn't or go to the wrong page. I think it's shorter and more readable to factor this out rather than have similar functionality in all those functions. |
Returns a bool indicating whether the system has registered, subscribed to a base channel, and has at least update entitlements. Uses information from the most recent time the create profile screen was run through. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:11 2020 | http://epydoc.sourceforge.net |