My Blog List

Wednesday, July 22, 2009

[yast-devel] JFYI: libzypp-6.11.0 supports download policy for commit.

Hi!

With libzypp-6.11.0 you can now choose among several download modes. The
mode is set in ZYppCommitPolicy.

DownloadOnly, //!< Just download all packages to the local cache.
//!< Do not install. Implies a dry-run.

DownloadInAdvance, //!< First download all packages to the local cache.
//!< Then start to install.

DownloadInHeaps, //!< Similar to DownloadInAdvance, but try to split
//!< the transaction into heaps, where at the end of
//!< each heap a consistent system state is reached.

DownloadAsNeeded //!< Alternating download and install. Packages are
//!< cached just to avid CD/DVD hopping. This is the
//!< traditional behaviour.

Next steps:

- Switch to use the satsolvers new install order computation. This should
allow to actually compute the heaps for DownloadInHeaps. Currently it's the
same as DownloadInAdvance.

- For DownloadInAdvance/DownloadInHeaps we can add file conflict checks. This
would be done after the packages are downloaded, but before anything gets
installed.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@novell.com
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org
For additional commands, e-mail: yast-devel+help@opensuse.org

No comments:










Privacy Policy Free PHP & MySQL Web Hosting