Skip to content

Set ROS_DISTRO env from config - #53

Merged
ruffsl merged 2 commits into
masterfrom
ros2_source_distro
Mar 22, 2019
Merged

ruffsl merged 2 commits into
masterfrom
ros2_source_distro

Conversation

@ruffsl

@ruffsl ruffsl commented Mar 20, 2019 •

Copy link
Copy Markdown
Member

@[ if vcs]@
@[ for i, (imports_name, imports) in enumerate(vcs.items())]@
if imports['repos'] is None:
imports['repos'] = "https://raw.githubusercontent.com/ros2/ros2/$ROS_DISTRO/ros2.repos"

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.

I like that 👍. Only thing to keep in mind is that this smippet is now ROS 2 specific (as opposed to project agnostic).
Though we don't expect people to enter this branch much anyway so it shouldn't be a big deal.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We can refactor the templates a little more once we settle on the Dockerfile content.

@mikaelarguedas mikaelarguedas 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

@ruffsl
ruffsl merged commit 214fbc9 into master Mar 22, 2019
@mikaelarguedas
mikaelarguedas deleted the ros2_source_distro branch April 2, 2019 20:03
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