-
Notifications
You must be signed in to change notification settings - Fork 448
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
colcon plugin: support build-time chaining #2486
colcon plugin: support build-time chaining #2486
Conversation
Until recently, colcon had a bug that caused it to not chain workspaces at build-time. That was recently fixed in a way that broke the colcon plugin. Rework the plugin to rely more on the setup files and less on environment variables to avoid this issue in the future. LP: #1816565 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, would be nice to see a run after the unused imports are removed.
Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
Codecov Report
@@ Coverage Diff @@
## master #2486 +/- ##
=========================================
Coverage ? 89.88%
=========================================
Files ? 198
Lines ? 13339
Branches ? 2021
=========================================
Hits ? 11990
Misses ? 924
Partials ? 425
Continue to review full report at Codecov.
|
# overall, but it defines it after this function runs. Some ROS | ||
# tools will cause binaries to be run when we source the setup.sh, | ||
# below, so we need to have a sensible LD_LIBRARY_PATH before then. | ||
'LD_LIBRARY_PATH="$LD_LIBRARY_PATH:{}"'.format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to see this go away
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one complex puzzle!
./runtests.sh static
?./runtests.sh tests/unit
?Until recently, colcon had a bug that caused it to not chain workspaces at build-time. That was recently fixed in a way that broke the colcon plugin. This PR fixes LP: #1816565 by reworking the plugin to rely more on the setup files and less on environment variables to avoid this issue in the future.