<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Richard Hughes wrote:
<blockquote cite="mid:1190840215.2846.45.camel@hughsie-laptop"
type="cite">
<pre wrap="">On Wed, 2007-09-26 at 16:49 -0400, Robin Norwood wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Richard Hughes <a class="moz-txt-link-rfc2396E"
href="mailto:hughsient@gmail.com"><hughsient@gmail.com></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">On Wed, 2007-09-26 at 15:21 -0400, Bryan Clark wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> - Silently download updates in the background
</pre>
</blockquote>
<pre wrap="">Hmm difficult, as UpdateSystem is a one-method call, not a two level
"download" and then "install". We could fix that tho, although I'm not
sure the backends would be able to do what we wanted.
</pre>
</blockquote>
<pre wrap="">Instead of always requiring a two-step model, you could have an optional
'predownload' step for backends that support 'download only'. Then when
the 'do updates' step occurs, a smart backend should make use of the
predownloaded bits.
</pre>
</blockquote>
<pre wrap=""><!---->
What about UpdateSystem(b=prepare)? What backends could support this?
</pre>
</blockquote>
What about making a new download_updates backend call, then the backend
can if it is supported download the packages into the local cache<br>
Then the normal update will installed the packages in the cache, or do
the same thing as today, if no packages is in the cache or the
download_updates is not supported.<br>
This can be implemented with the yum backend.<br>
<br>
Tim<br>
</body>
</html>