Skip to content

Module extension for pull #64

@alexeagle

Description

@alexeagle

It's likely that some common repo names will appear in multiple modules in the graph, for example the root module might have

pull(
    name = "ubuntu",
    digest = "sha256:c279a739b31ead4ebc3e9ce04937eb8b612799b52c26133eb3b4a056d08c31a6",
    repository = "ubuntu",
    tag = "24.04",
)

while a transitive module declares ubuntu with a different digest. Since this repo recommends use_repo_rule we end up with WORKSPACE semantics of first-declaration-wins.

It might be better to write a module extension to collect tags across the full module graph to have a better resolution strategy - likely users want the root module declaration to win, and perhaps get a warning that other declarations were not used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs researchThis issue requires a more profound investigation before a solution can be implemented.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions