You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@edsko, I'd quite like to know what you think about this.
In a5a823d, 6b77ea2 and 87a79be you modified the solver to keep track of which component a dependency came from. However, as far as I can tell, the solver doesn't actually use this information; it just makes sure it gets passed along.
At the same time, there is an orthogonal mechanism, Stanza in FlaggedDep, which lets you conditionalize a dependency tree on whether or not a stanza is enabled. This code substantially predates fine-grained dependencies, and I am now wondering whether or not we need it anymore: why can't we just look at the stored Component when building the search tree to decide how to branch? In this way, we automatically get the ability to conditionalize on executables too.
The text was updated successfully, but these errors were encountered:
The solver uses the fine grained dependencies to decide where to introduce qualifiers (i.e., which goals are in independent), but other than that, just makes sure the information is not forgotten.
I'm not entirely sure I understand what you are proposing though. Can you give a concrete example?
The proposal is to get rid of Stanza altogether. So instead of adding Stanzas when we are converting source packages to the solver format, don't bother and have the solver just look at the fine grained dependencies.
@edsko, I'd quite like to know what you think about this.
In a5a823d, 6b77ea2 and 87a79be you modified the solver to keep track of which component a dependency came from. However, as far as I can tell, the solver doesn't actually use this information; it just makes sure it gets passed along.
At the same time, there is an orthogonal mechanism, Stanza in FlaggedDep, which lets you conditionalize a dependency tree on whether or not a stanza is enabled. This code substantially predates fine-grained dependencies, and I am now wondering whether or not we need it anymore: why can't we just look at the stored
Component
when building the search tree to decide how to branch? In this way, we automatically get the ability to conditionalize on executables too.The text was updated successfully, but these errors were encountered: