Skip to content

Conversation

@shameekganguly
Copy link
Contributor

🦟 Bug fix

Summary

Few small fixes in MODULE.bazel as pre-work to add automation to push new releases to BCR.

  • Remove archive_override for gz-utils and gz-math deps and used Jetty packages from BCR instead. As a result, bazel CI will use released versions of gz deps, which is consistent with cmake CI.
  • Drop repo_name, which removes the need to patch MODULE.bazel when pushing a release to BCR. repo_name is not a required field and can be added on the client side during import if needed to disambiguate packages.
  • Add compatibility_level to match what is set in BCR
  • Bump buildifier_prebuilt since version 8.2.0 has a bug in bazel 8 presubmits. Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
@shameekganguly
Copy link
Contributor Author

Note: this PR cannot be forward-ported to main automatically since we still want the archive_overrides in MODULE.bazel on that branch. I will open a manual forward port PR once this is merged.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Dec 10, 2025
@shameekganguly
Copy link
Contributor Author

MacOS github CI failures are unrelated.

@iche033 iche033 merged commit 8238ccb into sdf16 Dec 11, 2025
14 of 16 checks passed
@iche033 iche033 deleted the shameek/bazel branch December 11, 2025 21:19
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Dec 11, 2025
shameekganguly added a commit that referenced this pull request Dec 11, 2025
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
@shameekganguly
Copy link
Contributor Author

Note: this PR cannot be forward-ported to main automatically since we still want the archive_overrides in MODULE.bazel on that branch. I will open a manual forward port PR once this is merged.

Manual forward port to main: #1599

shameekganguly added a commit that referenced this pull request Dec 12, 2025
The change had to be amended to apply it on main. Specifically, the repo archive_overrides in MODULE.bazel for gz deps was removed in that PR on the Jetty branch, but we want to preserve it on main to ensure CI uses gz deps from HEAD.

-- Original PR description
Few small fixes in MODULE.bazel as pre-work to add automation to push new releases to BCR.

Drop repo_name, which removes the need to patch MODULE.bazel when pushing a release to BCR. repo_name is not a required field and can be added on the client side during import if needed to disambiguate packages.
Add compatibility_level to match what is set in BCR
Bump buildifier_prebuilt since version 8.2.0 has a bug in bazel 8 presubmits. Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
shameekganguly added a commit that referenced this pull request Dec 12, 2025
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
shameekganguly added a commit that referenced this pull request Dec 16, 2025
Manually backported to use Ionic packages for gz deps from BCR instead of Jetty deps.

-- Original PR description:

- Remove archive_override for `gz-utils` and `gz-math` deps and used Jetty packages from BCR instead. As a result, bazel CI will use released versions of gz deps, which is consistent with cmake CI.
- Drop `repo_name`, which removes the need to patch MODULE.bazel when pushing a release to BCR. `repo_name` is not a required field and can be added on the client side during import if needed to disambiguate packages.
- Add `compatibility_level` to match [what is set in BCR](https://github.com/bazelbuild/bazel-central-registry/blob/ac68ad113a1592ea6dbe4f5cd6ad38ca54887637/modules/sdformat/16.0.0-pre2/MODULE.bazel#L4)
- Bump `buildifier_prebuilt` since version 8.2.0 has a bug in [bazel 8 presubmits](bazelbuild/bazel-central-registry#5037 (comment)). Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo.


Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants