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 ParserConfig more in parser.cc #883

Merged
merged 2 commits into from
Mar 16, 2022

Conversation

scpeters
Copy link
Member

🦟 Bug fix

Part of #881

Summary

As noted in #881, ParserConfig objects are not always propagated even when they are available. A recent partial fix for this was recently merged in #824, and a patch by @jwnimmer-tri was suggested in RobotLocomotion/drake#16791, which has been applied to this branch in 58198fa. Additionally, several private helper functions in parser.cc are updated in e92d245 to require ParserConfig objects.

There is more to do to fully resolve #881, but this is a start.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Copied from patch in RobotLocomotion/drake#16791
by jwnimmer-tri.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Require ParserConfig argument in parser.cc's private
helper functions: initDoc, initXml, and _initFile.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters requested a review from azeey as a code owner March 16, 2022 05:40
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Mar 16, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #883 (e92d245) into sdf12 (f453a5f) will increase coverage by 0.00%.
The diff coverage is 95.00%.

@@           Coverage Diff           @@
##            sdf12     #883   +/-   ##
=======================================
  Coverage   88.15%   88.16%           
=======================================
  Files         100      100           
  Lines       14627    14629    +2     
=======================================
+ Hits        12895    12897    +2     
  Misses       1732     1732           
Impacted Files Coverage Δ
src/parser.cc 87.59% <95.00%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f453a5f...e92d245. Read the comment docs.

@scpeters scpeters merged commit 8733d08 into gazebosim:sdf12 Mar 16, 2022
@scpeters scpeters deleted the use_parser_config branch March 16, 2022 17:44
@osrf-triage
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ParserConfig is sometimes ignored
4 participants