]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Unify proof generation with decisionlist query
authorMichael Schroeder <mls@suse.de>
Tue, 6 Dec 2022 14:07:33 +0000 (15:07 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 6 Dec 2022 14:10:36 +0000 (15:10 +0100)
commitf6b47040159e905e62317ef846b26ffcaa8dad8f
treea3de4ed0f5756809eca17304b15228dff19966de
parent58c1b4264ef0390bfee439b1292fe8435ee1df87
Unify proof generation with decisionlist query

Both generate a list of decisions, so having a unified API
makes sense.

The returned decisions are of the form (decision, reason, info)
unless the WITHINFO flag is used, which returns
(decision, reason, info, type, from, to dep) heptlets.

Also move decision introspection code into a new decisions.c
file.
ext/testcase.c
src/CMakeLists.txt
src/decision.c [new file with mode: 0644]
src/libsolv.ver
src/problems.c
src/problems.h
src/solver.c
src/solver.h