-
Notifications
You must be signed in to change notification settings - Fork 254
DownloadOnly
The ability to schedule a download of packages apart from the installation. This allows customers to preload client systems before an outage and then schedule updates during that outage.
We cannot use the yum-downloadonly plugin because it is a "Interactive" plugin. It is interactive because it terminates the session. The way we use yum means that we can't really load any interactive plugins without loading them all.
This means we'll need to duplicate it's functionality just for our plugin (basically merging that functionality into yum-rhn-plugin. This isn't a big deal because it is really only a couple lines of code.
Add client side support (client utils and yum-rhn-plugin)
Add backend support
Add schema support
Add Package UI support (SDC & SSM)
Add Errata UI support (SDC & SSM)
basically add:
def postdownload_hook(conduit):
opts, commands = conduit.getCmdLine()
# Don't die on errors, or we'll never see them.
if not conduit.getErrors() and opts.dlonly:
raise PluginYumExit('exiting because --downloadonly specified ')
to the plugin (From downloadonly)
Then add something to set the dlonly option within packages.py.
Add new action type. Should be able to re-use rhnActionPackage for the package information.
Support new action type
Do you want to contribute to this wiki? See page WikiContribute for more info.