Skip to content

fix: remove ignore_directories from REPO.bazel for Bazel 7 compat#47

Merged
longlho merged 1 commit intomainfrom
fix/bazel7-repo-bazel-compat
Apr 11, 2026
Merged

fix: remove ignore_directories from REPO.bazel for Bazel 7 compat#47
longlho merged 1 commit intomainfrom
fix/bazel7-repo-bazel-compat

Conversation

@longlho
Copy link
Copy Markdown
Member

@longlho longlho commented Apr 11, 2026

Summary

  • Remove ignore_directories from REPO.bazel since it was introduced in Bazel 8 and causes parse errors for Bazel 7 users consuming this module
  • Add .bazelignore with the same entries as a backward-compatible alternative for local development

Fixes #40

Test plan

  • Verify CI passes
  • Verify Bazel 7 users can consume this module without REPO.bazel parse errors

🤖 Generated with Claude Code

`ignore_directories` was introduced in Bazel 8 and causes a parse error
when this module is consumed by Bazel 7 users. Move the ignored dirs to
`.bazelignore` which is supported across all Bazel versions.

Fixes #40

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@longlho longlho merged commit 88afb66 into main Apr 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant