Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the project with Bazel 7.2.0 results in untracked files #53

Open
hofbi opened this issue Jun 13, 2024 · 2 comments · May be fixed by #56
Open

Running the project with Bazel 7.2.0 results in untracked files #53

hofbi opened this issue Jun 13, 2024 · 2 comments · May be fixed by #56

Comments

@hofbi
Copy link
Contributor

hofbi commented Jun 13, 2024

Describe the bug

When I run bazel build //... with bazel 7.2.0 (should be any bazel 7+), bazel creates MODULE.bazel and MODULE.bazel.lock. Same for the tests.

What should we do with these files

  1. Commit them to the repo
  2. Add them to .gitignore until you migrate to bzlmod
@aherrmann
Copy link
Member

Indeed, clodl has not yet been upgraded to support bzlmod, yet. Do the files that Bazel generates work? A contribution to updgrade clodl to bzlmod would be very welcome.

@hofbi
Copy link
Contributor Author

hofbi commented Jun 13, 2024

Kind of... The MODULE.bazel file just contains

###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################

The MODULE.bazel.lock file contains some actual content but there was (maybe it is resolved meanwhile) an issue so many people ignore this file.

But I also encounter #54

@hofbi hofbi linked a pull request Jun 13, 2024 that will close this issue
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 a pull request may close this issue.

2 participants