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 a template substitution for the ROS distro #612

Merged
merged 2 commits into from
Feb 4, 2021
Merged

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Jan 4, 2021

The most common patching error I've seen in Bloom repositories manifests from carrying forward a patch from a previous track to a new one, when that patch has a hard-coded ROS distribution name in it. Unfortunately, this error often goes unnoticed when the patch modifies the weak dependencies of a package.

This substitution will allow us to roll the patches forward unmodified.

The most common patching error I've seen in Bloom repositories manifests
from carrying forward a patch from a previous track to a new one, when
that patch has a hard-coded ROS distribution name in it. Unfortunately,
this error often goes unnoticed when the patch modifies the weak
dependencies of a package.

This substitution will allow us to roll the patches forward unmodified.
Copy link
Contributor

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

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

This is a use case we've talked about and wanted for a while now and I'm happy to see it being enabled.

I have a comment about the casing convention where I've proposed a few alternatives of which I already approve. If there's a further alternative or a reason to stick with the patch as-is I'll gladly re-review.

@cottsay cottsay merged commit 4a15f27 into master Feb 4, 2021
@cottsay cottsay deleted the cottsay/rosdistro branch February 4, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants