]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Improve choice rule generation
authorMichael Schroeder <mls@suse.de>
Wed, 16 Mar 2022 14:17:20 +0000 (15:17 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 16 Mar 2022 14:17:20 +0000 (15:17 +0100)
commit1da9bef88dd269055cbd7eda2f3572963d6d9b64
treef0a551b76603c0ed25d7a6c3682a58ba1879b98c
parentce9dda7d3e5b27f4cd883eb69e7ea5cace0a2828
Improve choice rule generation

New strategy: take the package update map into account when creating
choice rules. This simplifies the code quite a bit. Also check at
the end of the solving if a choice rule led to two packages providing
the same thing. In that case, break the choice rule and re-run the
solver.
src/rules.c
src/solver.c