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

Prepare dependencies for bouncy release. #41

Merged
merged 4 commits into from Jun 23, 2018

Conversation

nuclearsandwich
Copy link
Member

  • Add build dependency on each current rmw implementations
  • Add a comment indicating how runtime dependencies will be handled for debian packaging.

* Add build dependency on each current rmw implementations
* Add a comment indicating how runtime dependencies will be handled for debian packaging.
@nuclearsandwich nuclearsandwich added the in review Waiting for review (Kanban column) label Jun 21, 2018
@nuclearsandwich nuclearsandwich self-assigned this Jun 21, 2018
The debian/control template for this package will be modified to depend on either
rmw_fastrtps_cpp or rmw_connext_cpp or rmw_opensplice_cpp with rmw_fastrtps_cpp being
the default choice if no other rmw implementation is currently installed.
<depend>rmw_fastrtps_cpp</depend>
Copy link
Member Author

Choose a reason for hiding this comment

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

Should I comment this out since there won't be an absolute dependency on rmw_fastrtps_cpp or leave it in for from-source builds?

Copy link
Member

Choose a reason for hiding this comment

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

Since the Debian package shouldn't have a hard dependency on FastRTPS it shouldn't be commented in.

I am not sure if the comment here is a good idea. It solely describes packaging customizations. Having them duplicated here just adds the risk of them getting out-of-sync while not adding much value here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since the Debian package shouldn't have a hard dependency on FastRTPS it shouldn't be commented in.

I don't quite follow the outcome of this sentence. Should I restore the dependency which will be modified rather than removed at packaging time or leave it commented while modifying the comment above it to reduce bitrot?

Copy link
Member

Choose a reason for hiding this comment

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

I would remove this whole comment since it is packaging specific.

@@ -11,11 +11,20 @@

<build_depend>rcutils</build_depend>
<build_depend>rmw</build_depend>
<build_depend>rmw_connext_cpp</build_depend>
<build_depend>rmw_fastrtps_cpp</build_depend>
<build_depend>rmw_opensplice_cpp</build_depend>
Copy link
Member

Choose a reason for hiding this comment

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

Why should these be added upstream? The group dependency below already covers them.

Copy link
Member Author

Choose a reason for hiding this comment

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

They're redundant with upstream's use of the group tag so they don't change upstream behavior. The other dependency work for this repository will happen after package.xmls are handled so with these changes upstream no package.xml overlay is needed in the release repo.

But since they are redundant I can instead add them to an overlay or patch in the release repositor if that is preferred.

Copy link
Member

Choose a reason for hiding this comment

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

It makes sense to add them here is that avoid patching the manifest in the release repo since it doesn't affect the behavior.

Please add a comment above these three line describing why they are in there.

Copy link
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

lgtm

nuclearsandwich added a commit to ros2/rosidl_typesupport that referenced this pull request Jun 22, 2018
@nuclearsandwich nuclearsandwich merged commit 888611e into master Jun 23, 2018
@nuclearsandwich nuclearsandwich deleted the bouncy-dependencies branch June 23, 2018 13:32
@nuclearsandwich nuclearsandwich removed the in review Waiting for review (Kanban column) label Jun 23, 2018
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.

None yet

3 participants