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

Add regex filter for selective launch-prefix application #261

Merged
merged 7 commits into from
Sep 3, 2021

Conversation

camm73
Copy link
Contributor

@camm73 camm73 commented Aug 18, 2021

Resolves #257

This PR shouldn't be merged until #254 and ros2/launch#522 have been accepted and merged.

This PR adds the --launch-prefix-filter argument discussed in #257 which allows the user to provide a regex pattern that can be used for selectively applying the command prefix (provided via the --launch-prefix argument) to executables which match the pattern. This will allow an easier debugging experience without having to edit the launch file.

@hidmic
Copy link
Contributor

hidmic commented Aug 24, 2021

This needs a rebase.

Cameron Miller added 3 commits August 24, 2021 17:47
… configuration

Signed-off-by: Cameron Miller <cammlle@amazon.com>
Signed-off-by: Cameron Miller <cammlle@amazon.com>

Signed-off-by: Cameron Miller <cammlle@amazon.com>

Signed-off-by: Cameron Miller <cammlle@amazon.com>
Signed-off-by: Cameron Miller <cammlle@amazon.com>
@camm73 camm73 force-pushed the cameron/launch-prefix-filter branch from 9cfe393 to ae037e6 Compare August 24, 2021 17:56
@camm73
Copy link
Contributor Author

camm73 commented Aug 24, 2021

Should be good to go now @hidmic. Thanks for reviewing all these PRs!

ros2launch/ros2launch/api/api.py Outdated Show resolved Hide resolved
ros2launch/ros2launch/command/launch.py Outdated Show resolved Hide resolved
camm73 and others added 2 commits September 3, 2021 18:14
Co-authored-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Cameron Miller <cammlle@amazon.com>
Signed-off-by: Cameron Miller <cammlle@amazon.com>
@camm73 camm73 force-pushed the cameron/launch-prefix-filter branch from 63a7abe to 984a6f8 Compare September 3, 2021 18:17
@camm73 camm73 requested a review from hidmic September 3, 2021 18:30
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

CI up to ros2launch:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

ros2launch/ros2launch/api/api.py Outdated Show resolved Hide resolved
Co-authored-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Cameron Miller <cammlle@amazon.com>
@camm73 camm73 force-pushed the cameron/launch-prefix-filter branch from 10dba68 to ae91d0e Compare September 3, 2021 18:59
Signed-off-by: Cameron Miller <cammlle@amazon.com>
@camm73
Copy link
Contributor Author

camm73 commented Sep 3, 2021

CI up to ros2launch:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

My flake8 didn't flag a quote issue in launch.py. Just pushed a fix

@hidmic
Copy link
Contributor

hidmic commented Sep 3, 2021

CI, take two:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Contributor

hidmic commented Sep 3, 2021

Alright, all green. Going in.

@hidmic hidmic merged commit 20c661d into ros2:master Sep 3, 2021
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.

Selective application of launch-prefix from CLI
2 participants