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

use format 3 #32

Merged
merged 1 commit into from
Nov 14, 2017
Merged

use format 3 #32

merged 1 commit into from
Nov 14, 2017

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Oct 31, 2017
@dirk-thomas dirk-thomas self-assigned this Oct 31, 2017
@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Oct 31, 2017
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

I had a few points of discussion, but the changes I think are good to go for now.

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
Copy link
Member

Choose a reason for hiding this comment

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

When is it necessary for this file to exist? Which tools use it?

Copy link
Member

Choose a reason for hiding this comment

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

I think right now nothing in the ROS eco-system (1 or 2) requires it. Actually tinyxml(2) just ignores any <?...?> tag.
More advanced parsers can use it and complain if the following xml string doesn't validate the provided schema.

Copy link
Member Author

Choose a reason for hiding this comment

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

If you have your editor configured to lint xml files (e.g. in Atom using linter-xmllint) it will use the referenced schema. Since the schema is not yet final it isn't available through that URL but you can reference the file with a local file:// to point to the current version in the branch on the REP repo.

<depend>rmw_fastrtps_cpp</depend>
<depend>rmw_opensplice_cpp</depend>
Copy link
Member

Choose a reason for hiding this comment

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

Implicitly the decision here is to release with an explicit dependency on fastrtps only. I guess if we build binaries with support for more we'd add the keys back here?

Perhaps a comment on the fastrtps dependency, indicating that it is there for packaging purposes and is redundant with the group dependency when building from source, would help people interpreting the package.xml in the future.

Copy link
Member

Choose a reason for hiding this comment

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

👍 the absence of comment here is what led to my question of "if a user want to modify the defaut rmw_imp and build only for that one, do they need to modify this manifest?"

Copy link
Member Author

Choose a reason for hiding this comment

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

Implicitly the decision here is to release with an explicit dependency on fastrtps only. I guess if we build binaries with support for more we'd add the keys back here?

Yes, this reflects what we did release in the past betas.

Perhaps a comment on the fastrtps dependency, indicating that it is there for packaging purposes and is redundant with the group dependency when building from source, would help people interpreting the package.xml in the future.

Can you please either propose a wording or commit the comment directly. Thanks.

if a user want to modify the defaut rmw_imp and build only for that one, do they need to modify this manifest

Nothing has changed here. The user places whatever rmw impl he wants to build into the workspace and if it is more than one and he doesn't use the default (which is FastRTPS if present otherwise the first in alphabetical order) it can be overridden by specifying the environment variable RMW_IMPLEMENTATION.

@dirk-thomas dirk-thomas merged commit 38543b8 into master Nov 14, 2017
@dirk-thomas dirk-thomas deleted the rep149 branch November 14, 2017 23:38
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Nov 14, 2017

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>

<group_depend>rmw_implementations</group_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.

The group name was changed later in #36.

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