diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-28 16:36:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-28 16:36:44 +0000 |
commit | 43c0926a7ad302e28e03b6c239e9202119962d5c (patch) | |
tree | 081f6d7e833e56f73da77209f5a9ec34a1a81f20 | |
parent | 35866f31002d9f21fdfa4f79ccf41bfbd46626c4 (diff) | |
download | urpmi-43c0926a7ad302e28e03b6c239e9202119962d5c.tar urpmi-43c0926a7ad302e28e03b6c239e9202119962d5c.tar.gz urpmi-43c0926a7ad302e28e03b6c239e9202119962d5c.tar.bz2 urpmi-43c0926a7ad302e28e03b6c239e9202119962d5c.tar.xz urpmi-43c0926a7ad302e28e03b6c239e9202119962d5c.zip |
- urpmi:
o small transactions should have at least 8 packages
(ie --split-length is now 8 by default)
o do not do a big transaction if installing less than 20 packages
(ie --split-level is now 1 by default)
-rw-r--r-- | NEWS | 5 | ||||
-rwxr-xr-x | gurpmi2 | 2 | ||||
-rwxr-xr-x | urpmi | 4 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +- urpmi: + o small transactions should have at least 8 packages + (ie --split-length is now 8 by default) + o do not do a big transaction if installing less than 20 packages + (ie --split-level is now 1 by default) - urpmq: o new option --requires-recursive (alias of option -d) o bugfix previous release: "urpmq --fuzzy foo" should display all "*foo*" matches @@ -134,7 +134,7 @@ sub configure_urpm() { $urpm->{options}{'verify-rpm'} = 0 if $gurpmi::options{'no-verify-rpm'}; #- default options values exists $urpm->{options}{$_} or $urpm->{options}{$_} = 1 foreach qw(post-clean verify-rpm split-length); - $urpm->{options}{'split-level'} = 20 unless exists $urpm->{options}{'split-level'}; + $urpm->{options}{'split-level'} = 1 unless exists $urpm->{options}{'split-level'}; $urpm; } @@ -47,8 +47,8 @@ our $src = 0; our $install_src = 0; our $clean = 0; our $noclean = 0; -my $split_level = 20; -my $split_length = 1; +my $split_level = 1; +my $split_length = 8; our $force = 0; our $parallel = ''; our $env = ''; |