aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 15:41:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 15:41:35 +0000
commit718717e8529a54a393d695240f88a5f6dc68cc3d (patch)
tree8d58de8c07e49f9e7fc3795347a61cab4e03eadc
parent819cda3c2d62f90fd7257f6a3035817a7e1a0b78 (diff)
downloadperl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar
perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.gz
perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.bz2
perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.xz
perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.zip
add some doc
-rw-r--r--URPM/Resolve.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index adff491..a51ac0a 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -989,10 +989,11 @@ sub _no_more_recent_installed_and_providing {
$allow;
}
-#- do the opposite of the above, unselect a package and extend
-#- to any package not requested that is no longer needed by
-#- any other package.
+#- do the opposite of the resolve_requested:
+#- unselect a package and extend to any package not requested that is no
+#- longer needed by any other package.
#- return the packages that have been deselected.
+#- removes things in $state->{selected}, $state->{rejected} and $state->{whatrequires}
sub disable_selected {
my ($urpm, $db, $state, @pkgs_todo) = @_;
my @unselected;
@@ -1047,6 +1048,8 @@ sub disable_selected {
}
#- determine dependencies that can safely been removed and are not requested
+#- return the packages that have been deselected.
+#- removes things in $state->{selected}, $state->{rejected} and $state->{whatrequires}
sub disable_selected_and_unrequested_dependencies {
my ($urpm, $db, $state, @pkgs_todo) = @_;
my @all_unselected;