Skip to content

Extends launch-file package detection in find_launch_dependencies.py to cover additional launch_ros constructs, and better_launch#22

Merged
Joschi3 merged 1 commit into
mainfrom
feature/extend_python_launch_pkg_detection
May 12, 2026
Merged

Extends launch-file package detection in find_launch_dependencies.py to cover additional launch_ros constructs, and better_launch#22
Joschi3 merged 1 commit into
mainfrom
feature/extend_python_launch_pkg_detection

Conversation

@Joschi3
Copy link
Copy Markdown
Owner

@Joschi3 Joschi3 commented May 6, 2026

Summary

  • Added more common launch_ros package identifiers to the launch dependency scanner (composable nodes, FindPackagePrefix / find-pkg-prefix, get_package_share_path, get_package_prefix, etc.).
  • Added syntax to support better_launch launch files in Python (bl.node / bl.include).
  • Added scoped support for better_launch TOML launch files (only .toml files under a launch/ directory contribute deps, to avoid false positives from project config TOMLs).

…_index, better_launch

- Unify Node-family regex (Node/LifecycleNode/ComposableNode/ComposableLifecycleNode)
- Add FindPackagePrefix and
- Add get_package_share_path / get_package_prefix
- Add XML <composable_node> and <node_container>
- Add better_launch bl.node / bl.include
- Scoped .toml support: package = '...' only under launch/ dirs
@Joschi3 Joschi3 self-assigned this May 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...xml_validation/helpers/find_launch_dependencies.py 86.36% 1 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@Joschi3 Joschi3 merged commit 477c6aa into main May 12, 2026
3 checks passed
@Joschi3 Joschi3 deleted the feature/extend_python_launch_pkg_detection branch May 12, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants