Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello drake-ros maintainers,
Thank you for making this project available. We have been using it to build our software for the past months and we have built up a number of patches that we hope can be useful to everyone.
This PR is the first I'm opening and it contains 4 small patches related to various edge cases in the workspace scrapping that we have encountered.
Below is a short summary of the individual patches, I am happy to submit separate PRs if you prefer.
P1: Remove elements that have a condition attribute on ROS1
This is used by a number of packages that are trying to support both versions at the same time.
This patch is actually part of #336 we actually had our own patch that does pretty much the same thing (including packages that have the
$ROS_VERSION == 2
condition instead of excluding the$ROS_VERSION == 1
). However, that PR incorporates more changes this particular fix is not available on main yet so I hope it's ok to bring it in with this PR.P2: Fix an issue with some Python packages that have multiple entries in the egg
top_level.txt
(seen in `launch_testing for example)P3: Fix an issue with CMake's JSON where libraries' paths are escaped under some conditions (for example if the workspace path has a
~
character)P4: Include
*.inc
files in C++ headers of library, afaik, only thedomain_bridge
package uses this extensionThanks again for making bazel_ros2_rules and I'm looking forward to your feedback.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)