award points for positive dependencies again
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 10 Jan 2015 11:31:18 +0000 (12:31 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 10 Jan 2015 12:39:03 +0000 (13:39 +0100)
commit77b6f202e1629b7794a03b6522d636ff1436d074
tree6da38195087d6719889ac4c5e0bfdea994c2cb60
parent31be38d205406d4c756684e20b93d62c4701e091
award points for positive dependencies again

Commit 9ec748ff103840c4c65471ca00d3b72984131ce4 from Feb 23 last year
adds a version check after 8daf68e366fa9fa2794ae667f51562663856237c
added 8 days earlier negative points for breaks/conflicts with the
intended that only dependencies which are satisfied propagate points
(aka: old conflicts do not).

The implementation was needlessly complex and flawed through preventing
positive dependencies from gaining points like they did before these
commits making library transitions harder instead of simpler. It worked
out anyhow most of the time out of pure 'luck' (and other ways of
gaining points) or got miss attributed to being a temporary hick-up.

Closes: 774924
apt-pkg/algorithms.cc
test/integration/test-allow-scores-for-all-dependency-types