jgsogo / conan-poc-graph

POC for an improved graph model
0 stars 0 forks source link

Gather all errors/conflicts before raising conflicts #6

Open jgsogo opened 4 years ago

jgsogo commented 4 years ago

https://github.com/conan-io/conan/issues/7591#issuecomment-718060059

It would be nice if conan was able to report a summary of options/requirements violations, instead of just raise at the first error. Otherwise, consumers may fall in a "die and retry" or "read your 100 conanfiles" to figure out what to do to solve those issues.

Yes, this is something to take into account for the graph model in Conan 2.0, but I want to limit the expectations a little bit: requirements are conditional to options and settings, so as soon as we find a conflict we cannot go ahead in that branch of the graph (it might not be the right branch once the conflict is solved), but I agree we can inspect other branches and report errors that are not affected by existing ones. 👍