Skip to content

Fix some behaviortree_cpp issues#6151

Merged
bazel-io merged 7 commits into
bazelbuild:mainfrom
lalten:behaviortree-curses-include
Oct 10, 2025
Merged

Fix some behaviortree_cpp issues#6151
bazel-io merged 7 commits into
bazelbuild:mainfrom
lalten:behaviortree-curses-include

Conversation

@lalten
Copy link
Copy Markdown
Contributor

@lalten lalten commented Oct 9, 2025

@bazel-io
Copy link
Copy Markdown
Member

bazel-io commented Oct 9, 2025

Hello @kgreenek, modules you maintain (behaviortree_cpp) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@lalten
Copy link
Copy Markdown
Contributor Author

lalten commented Oct 9, 2025

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Oct 9, 2025
@lalten
Copy link
Copy Markdown
Contributor Author

lalten commented Oct 9, 2025

@meteorcloudy could you please trigger CI?

@meteorcloudy meteorcloudy added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Oct 9, 2025
@lalten
Copy link
Copy Markdown
Contributor Author

lalten commented Oct 9, 2025

@bazel-io skip_check incompatible_flags

@bazel-io bazel-io added the skip-incompatible-flags-test Bypass the incompatible flags test in BCR presubmit label Oct 9, 2025
@lalten lalten marked this pull request as ready for review October 9, 2025 14:29
@lalten
Copy link
Copy Markdown
Contributor Author

lalten commented Oct 10, 2025

@kgreenek ptal

"include/**/*.h",
"include/**/*.hpp",
]),
# IMPORTANT: module_version() MUST be in the form of X.Y.Z
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment important? I can't remember the exact reason I added it, but I remember there is some code that assumes the version is "X.X.X". Not sure what happens with that code now that there is a .bcr.X suffix. Would be worth looking into to understand / make sure something sane happens.

Copy link
Copy Markdown
Contributor Author

@lalten lalten Oct 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed it and did check: the code will try to split the string on . and then assume major.minor.patch
However it doesn't look at anything after the third field so adding a .bcr.1 suffix does not break it. The effect is that the version string is the same as the bazel module (4.7.0.bcr.1), but the version number continues to be 470.

Copy link
Copy Markdown
Member

@bazel-io bazel-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.

@bazel-io bazel-io merged commit d52000f into bazelbuild:main Oct 10, 2025
14 checks passed
@bazel-io bazel-io added the auto-merged This PR is automatically merged by the BCR reviewer bot. label Oct 10, 2025
kotlaja pushed a commit to kotlaja/bazel-central-registry that referenced this pull request Oct 16, 2025
To be able to compile behaviortree_cpp we need to
* Update ncurses to
bazelbuild#6149
* Update zmq to
bazelbuild#6150
* Patch BehaviorTree/BehaviorTree.CPP#1020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merged This PR is automatically merged by the BCR reviewer bot. presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-incompatible-flags-test Bypass the incompatible flags test in BCR presubmit skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants