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

Omit runtime dependencies from build ordering #567

Closed
wants to merge 1 commit into from

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Aug 3, 2023

This change will allow a package which has only a runtime dependency on another package to be built independently. It will not affect the dependency-based package selection behavior, but could make the build graph a little more shallow.

Build Status

This change will allow a package which has only a runtime dependency on
another package to be built independently. It will not affect the
dependency-based package selection behavior, but could make the build
graph a little more shallow.
@cottsay cottsay added the enhancement New feature or request label Aug 3, 2023
@cottsay cottsay self-assigned this Aug 3, 2023
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage: 66.66% and project coverage change: -0.12% ⚠️

Comparison is base (7b70e61) 81.88% compared to head (e2a8b22) 81.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #567      +/-   ##
==========================================
- Coverage   81.88%   81.76%   -0.12%     
==========================================
  Files          62       62              
  Lines        3648     3658      +10     
  Branches      705      709       +4     
==========================================
+ Hits         2987     2991       +4     
- Misses        609      613       +4     
- Partials       52       54       +2     
Files Changed Coverage Δ
colcon_core/verb/build.py 0.00% <0.00%> (ø)
colcon_core/package_descriptor.py 98.48% <88.88%> (-1.52%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cottsay
Copy link
Member Author

cottsay commented Aug 3, 2023

Ah, this isn't quite enough. Export dependencies of ROS packages are indistinguishable from exec dependencies in this context, so we need a change to colcon-ros and probably colcon-core to make this possible.

@cottsay cottsay closed this Aug 10, 2023
@cottsay cottsay deleted the cottsay/no-buildtime-run-dep branch August 10, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

1 participant