Skip to content

In setuptools packages, install everything in launch directory #5156

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

Merged

Conversation

emersonknapp
Copy link
Contributor

@emersonknapp emersonknapp commented Mar 21, 2025

Part of #5143

Instead of using "clever" glob pattern to match launch.xml, launch.yaml, launch.py - just copy what we already recommend for CMake packages, and install everything from launch/ directory. Benefit of consistency between package types, and potentially leaving the door open for other launch suffixes/frontends.

(also, make our usage of glob consistent across the repo - we were some places using os.path.join inside it, and sometimes not. I opted for the simpler syntax)

@christophebedard christophebedard self-requested a review March 23, 2025 03:52
@christophebedard christophebedard added the backport-all backport at reviewers discretion; from rolling to all versions label Mar 23, 2025
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm once @christophebedard 's comment is resolved.

…-A-Class-Python.rst

Co-authored-by: Christophe Bedard <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
@emersonknapp
Copy link
Contributor Author

Done!

@christophebedard christophebedard merged commit d002d60 into ros2:rolling Mar 25, 2025
5 checks passed
mergify bot pushed a commit that referenced this pull request Mar 25, 2025
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
Co-authored-by: Christophe Bedard <[email protected]>
(cherry picked from commit d002d60)
mergify bot pushed a commit that referenced this pull request Mar 25, 2025
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
Co-authored-by: Christophe Bedard <[email protected]>
(cherry picked from commit d002d60)

# Conflicts:
#	source/How-To-Guides/Developing-a-ROS-2-Package.rst
#	source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst
christophebedard pushed a commit that referenced this pull request Mar 25, 2025
#5171)

Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
Co-authored-by: Christophe Bedard <[email protected]>
(cherry picked from commit d002d60)

Co-authored-by: Emerson Knapp <[email protected]>
christophebedard added a commit that referenced this pull request Mar 25, 2025
…ort #5156) (#5172)

Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
Co-authored-by: Christophe Bedard <[email protected]>
(cherry picked from commit d002d60)

Co-authored-by: Christophe Bedard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-all backport at reviewers discretion; from rolling to all versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants