Hide the USD component's Util.hh file from public API#850
Conversation
…ternal use Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## sdf12 #850 +/- ##
=======================================
Coverage 90.76% 90.76%
=======================================
Files 78 78
Lines 12535 12535
=======================================
Hits 11378 11378
Misses 1157 1157 Continue to review full report at Codecov.
|
scpeters
left a comment
There was a problem hiding this comment.
I wouldn't expect the ABI checker to fail since that CI job does not have the pxr dependency installed or built from source
also, it looks like this isn't simply a move of the header file; it looks like you made some changes to some of the methods in Utils.hh as well. This could be fine, but you should explain them in the pull request description
You're right, ABI checker didn't fail 👍
Yes, you are right, there are some slight changes. They're in the PR description if you look at the end of the first paragraph: Let me know if you think any other descriptions/documentation needs to be added. |
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
|
@osrf-jenkins retest this please |
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
|
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1 |
Signed-off-by: Ashton Larkin 42042756+adlarkin@users.noreply.github.com
🦟 Bug fix
Summary
When I originally worked on #818, I created a set of helper methods for achieving generic parsing tasks between SDF and USD. These methods were placed in
usd/include/sdf/usd/sdf_parser/Utils.hh. After #818 was merged, I realized that theUtils.hhis meant for internal use only, and should not be exposed to downstream users. So, this PR movesUtils.hhtousd/src, and also updates the methods in this file to make use of theUsdErrorclass that was introduced in #836.It should be noted that the ABI checker may fail since I am removing methods from the public API. However, I talked with others offline, and they said that for a scenario like this, it's okay because the public API I am changing in the USD component has not been released yet. So, we will have to ignore the ABI checker for this PR.
Checklist
codecheckpassed (See contributing)