Skip to content

Gazelle example that mixes internal and third party deps #1386

Closed as not planned
@FrankPortman

Description

@FrankPortman

🚀 feature request

Relevant Rules

rules_python, specifically the Gazelle capabilities: https://github.com/bazelbuild/rules_python/tree/main/gazelle

Description

I'm able to follow the README to enable Gazelle for my monorepo. However, it seems that updating the manifest file only looks at third party libraries. In order to avoid issues when running bazel run //:gazelle for internal dependencies (linked via deps in BUILD files), I have to manually add a bunch of directives to resolve between an attempted import and an internal dep.

Describe the solution you'd like

A happy path for resolving both internal and third party dependencies without having to manually list all internal deps as resolve directives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can Close?Will close in 30 days if there is no new activitygazelleGazelle plugin related issuesneed: reproNeeds a minimal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions