From d8314d9dd12f1bc40960ee9a498ded4ed9e917a3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 11 Jan 2008 17:26:52 +0000 Subject: - 5.0 - urpmf, urpmq: o use xml info instead of hdlist when possible o "urpmq -l" is faster (3x) o "urpmf -l" is slower (1.5x) o "urpmf --sourcerpm" is much faster o see "xml-info" option in urpmi.cfg(5) to see when those files are downloaded o new require: perl module XML::LibXML - urpmq: o use rpm file instead of hdlist/xml-info when file is local o use URPM::Package->changelogs (need perl-URPM 3.06) - urpmi.update, urpmi.addmedia, urpmi.removemedia: o drop hdlist support replaced with xml media_info (this imply file-deps are correctly handled, see genhdlist2(1)) - urpmi.addmedia o new --xml-info option --- pod/urpmi.addmedia.8.pod | 6 ++++++ pod/urpmi.cfg.5.pod | 25 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) (limited to 'pod') diff --git a/pod/urpmi.addmedia.8.pod b/pod/urpmi.addmedia.8.pod index 07a7ae00..60753408 100644 --- a/pod/urpmi.addmedia.8.pod +++ b/pod/urpmi.addmedia.8.pod @@ -117,6 +117,12 @@ username and a password. Adds a media which will be taken into account by B or by C when looking for updates. +=item B<--xml-info> + +Use the specific policy for downloading xml info files. +It must be one of: never, on-demand, update-only, always. +See urpmi.cfg(5) for more information. + =item B<--probe-synthesis> Use synthesis file. diff --git a/pod/urpmi.cfg.5.pod b/pod/urpmi.cfg.5.pod index 14a40874..62aaf3e3 100644 --- a/pod/urpmi.cfg.5.pod +++ b/pod/urpmi.cfg.5.pod @@ -29,6 +29,31 @@ Same as specifying B<--allow-force> for urpmi. Disabled by default. Same as specifying B<--allow-nodeps> for urpmi. Disabled by default. +=item B + +For remote media, specify when files.xml.lzma, changelog.xml.lzma and info.xml.lzma are downloaded: + +=item B + +=item B + +(This is the default). + +The specific xml info file is downloaded when urpmq/urpmf/rpmdrake ask for it. +urpmi.update will remove outdated xml info file. + +nb: if urpmq/urpmf/rpmdrake is not run by root, the xml info file is downloaded into /tmp/.urpmi-/ + +=item B + +urpmi.update will update xml info files already required at least once by urpmq/urpmf/rpmdrake. + +nb: with B, urpmi.update will not update /tmp/.urpmi-/ xml info files + +=item B + +all xml info files are downloaded when doing urpmi.addmedia and urpmi.update + =item B Same as specifying B<--no-suggests> for urpmi. Disabled by default. -- cgit v1.2.1