-
Notifications
You must be signed in to change notification settings - Fork 18
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 support for package format 3 #63
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes lgtm
@@ -123,7 +123,7 @@ def parse_package_string(data, *, filename=None): | |||
"Unable to handle '%s' format version '%d', please update the " \ | |||
'manifest file to at least format version 2' % \ | |||
(filename, pkg.package_format) | |||
assert pkg.package_format in [2], \ | |||
assert pkg.package_format in [2, 3], \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have some kind of test for this function (parse_package_string()
), and have it updated for the new features in package.xml
version 3. I guess those didn't make it over from catkin_pkg
.
Certainly not. Looking into the problem showed that there are more locations using the dependency members directly. Instead of updating the all code paths to be aware of group dependencies I decided to refactor the logic in ament_tools so that the group dependencies are being mapped into "direct" dependencies. So any other "downstream" code doesn't need to know about group dependencies.
"Standard" set of builds: Set of builds with only Connext: |
02aa9e6
to
6203ad0
Compare
"Standard" set of builds: Set of builds with only Connext: Please review the new PR and take another look at this patch as well as the one on ament_tools since they have changed quite a bit. |
Please re-review with recent changes.
@@ -124,11 +153,17 @@ def validate(self): | |||
errors.append("Package name '%s' does not follow naming " | |||
'conventions' % self.name) | |||
|
|||
version_regexp = '^[0-9]+\.[0-9_]+\.[0-9_]+$' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be exposed as a constant for sharing with consuming code? So it doesn't necessarily need to be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was internal before this patch so I won't consider it part of this PR in order to keep the diff as small as possible.
Based on the current draft of REP 149.