From 43c0926a7ad302e28e03b6c239e9202119962d5c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Nov 2007 16:36:44 +0000 Subject: - 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) --- NEWS | 5 +++++ gurpmi2 | 2 +- urpmi | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index b8ba16a2..a904c0c1 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/gurpmi2 b/gurpmi2 index 3c1b81c0..53be46f3 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -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; } diff --git a/urpmi b/urpmi index bb24cdd3..9ddb8e44 100755 --- a/urpmi +++ b/urpmi @@ -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 = ''; -- cgit v1.2.1