]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Rename merge state to "bits" and put it into the decision info
authorMichael Schroeder <mls@suse.de>
Wed, 7 Dec 2022 12:37:40 +0000 (13:37 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 7 Dec 2022 12:37:40 +0000 (13:37 +0100)
commitfb7614bab947a058cdb5a6dfb6651a1712eb4cea
treee6e96ba6b5504a3c1ac1a02303f18bab9029c822
parent968334113e9093fb89875344b094067e1f5e363e
Rename merge state to "bits" and put it into the decision info

This makes the returned decision with extra data consist of:
(decision, reason, info, bits, type, from, to, dep)

Merging and printing needs the bits anyway, so providing it
right away makes things easier.

Also add a new SOLVER_DECISIONLIST_MERGEDINFO flag with returnes
"merged" decisions. This is just the "bits" part, the rest
of the decision data stays unchanged.

A new solver_decisionlist_solvables() helper can be used
to return all the decision solvables of a merged or unmerged decision.
src/decision.c
src/libsolv.ver
src/solver.h