Skip to content

Add PathJoinSubstitution - #266

Merged
ivanpauno merged 2 commits into
masterfrom
ivanpauno/add-path-join-substitution
Jun 24, 2019
Merged

Add PathJoinSubstitution#266
ivanpauno merged 2 commits into
masterfrom
ivanpauno/add-path-join-substitution

Conversation

@ivanpauno

Copy link
Copy Markdown
Member

Convenient substitution.

For example here:
https://github.com/ros2/ros2cli/blob/96c3a7d49cbf6fabcfe587c63bca3f01577a8b6c/test_ros2cli/test/test_process_output_customizable.py.in#L38
from ros2/ros2cli#287.
It would be better to use:

 cmd = [PathJoinSubstitution([FindPackage('ros2cli'), 'bin', 'ros2']), verb]

Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno added enhancement New feature or request in review Waiting for review (Kanban column) labels Jun 24, 2019
@ivanpauno
ivanpauno requested a review from hidmic June 24, 2019 16:11
@ivanpauno ivanpauno self-assigned this Jun 24, 2019

@sloretz sloretz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with one nit fixed

# See the License for the specific language governing permissions and
# limitations under the License.

"""Tests for the ThisLaunchFileDir substitution class."""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit, wrong name in docstring

Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
@ivanpauno

ivanpauno commented Jun 24, 2019

Copy link
Copy Markdown
Member Author

Full CI (up to launch):

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

@ivanpauno
ivanpauno merged commit 81476cb into master Jun 24, 2019
@delete-merged-branch
delete-merged-branch Bot deleted the ivanpauno/add-path-join-substitution branch June 24, 2019 17:23
piraka9011 pushed a commit to aws-ros-dev/launch that referenced this pull request Aug 16, 2019
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request in review Waiting for review (Kanban column)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants