Skip to content

ignore_directories in REPO.bazel not compatible with Bazel 7 or lower #40

@jetpacmonkey

Description

@jetpacmonkey

Hey, I'm really excited to have this tool available, I was worried I was going to have to build something like it myself. I have noticed, though, that our installation of Bazel fails while parsing REPO.bazel (with the error com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '@@rules_formatjs~//formatjs_cli': bad REPO.bazel file). It appears that you're using an ignore_directories directive, which was only introduced in Bazel 8. Would it be possible to gate that directive behind a version check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions