summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-28 16:36:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-28 16:36:44 +0000
commit43c0926a7ad302e28e03b6c239e9202119962d5c (patch)
tree081f6d7e833e56f73da77209f5a9ec34a1a81f20
parent35866f31002d9f21fdfa4f79ccf41bfbd46626c4 (diff)
downloadurpmi-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--NEWS5
-rwxr-xr-xgurpmi22
-rwxr-xr-xurpmi4
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 = '';