diff options
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r-- | URPM/Resolve.pm | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 58bf9cb..67b7a71 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -10,32 +10,6 @@ use Config; sub min { my $n = shift; $_ < $n and $n = $_ foreach @_; $n } sub uniq { my %l; $l{$_} = 1 foreach @_; grep { delete $l{$_} } @_ } -#- $state fields: -#- -#- backtrack => { selected => { id => undef }, -#- deadlock => { id|property => undef } }, -#- -#- cached_installed => { property_name => { fullname => undef } }, -#- -#- oldpackage => int, -#- # will be passed to $trans->run to set RPMPROB_FILTER_OLDPACKAGE -#- -#- selected => { id => { requested => bool, install => bool, -#- from => pkg, psel => pkg, -#- promote => name, unsatisfied => [ id|property ] } }, -#- -#- rejected => { fullname => { size => int, removed => bool, obsoleted => bool, -#- backtrack => { promote => [ name ], keep => [ fullname ], -#- unsatisfied => [ id|property ], -#- closure => { fullname => { old_requested => bool, unsatisfied => [ id|property ] } } } } }, -#- -#- whatrequires => { name => { id => undef } }, -#- # reversed requires_nosense for selected packages -#- -#- # more fields only used in build_transaction_set and its callers) -#- transaction => [ { upgrade => [ id ], remove => [ fullname ] } ], -#- transaction_state => state_object, - sub property2name { $_[0] =~ /^([^\s\[]*)/ && $1; } |