Skip to content

Use fine-grained dependencies to eliminate stanza from FlaggedDeps? #3263

Open
@ezyang

Description

@ezyang

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions