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

Check for SDF files containing sibling elements of the same type with the same name (Gazebo9) #3016

Merged
merged 8 commits into from
Jun 10, 2021

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Jun 3, 2021

Prerequisite: this requires gazebosim/sdformat#580 . In Draft until then.
The PR adds a check for SDF files containing sibling elements with the same type. This is part of the SDF specs but was not enforced or check until now in Gazebo.

Since this PR will change the output behavior in the series of Gazebo9 releases I'm adding a check for an environment variable GAZEBO9_BACKWARDS_COMPAT_WARNINGS_ERRORS that users can set to avoid this new behavior if users want to preserve current behavior.

@j-rivero j-rivero changed the title Check for SDF files containing sibling elements with the same type (Gazebo9) Check for SDF files containing sibling elements of the type with the same name (Gazebo9) Jun 4, 2021
@j-rivero j-rivero changed the title Check for SDF files containing sibling elements of the type with the same name (Gazebo9) Check for SDF files containing sibling elements of the same type with the same name (Gazebo9) Jun 7, 2021
@j-rivero j-rivero requested a review from jennuine June 7, 2021 18:22
@j-rivero j-rivero marked this pull request as ready for review June 7, 2021 22:12
@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 8, 2021

@osrf-jenkins run tests

@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 8, 2021

brew is blocked by osrf/homebrew-simulation#1487

@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 8, 2021

abichecker is broken and needs gazebo-tooling/release-tools#470 . A valid build could be Build Status.

@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 8, 2021

Windows CI: Build Status

j-rivero added a commit that referenced this pull request Jun 9, 2021
…orward port of #3016) (#3017)

* Check for SDF files containing sibling elements with the same name (Forward port of #3019)
* Implement logic to handle 1.6 sibling elements
@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 9, 2021

Hanging CI run should be the same than: Build Status

gazebo/Server.cc Show resolved Hide resolved
test/integration/sdf_errors.cc Outdated Show resolved Hide resolved
Copy link
Collaborator

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

LGTM. Not sure what's going on with CI though...

test/integration/sdf_errors.cc Outdated Show resolved Hide resolved
@j-rivero
Copy link
Contributor Author

j-rivero commented Jun 9, 2021

LGTM. Not sure what's going on with CI though...

several fires 🔥 are ongoing in the buildfarm making things hard. I'm fighting with them. Thanks Jenn

@j-rivero
Copy link
Contributor Author

CI is now happy.

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.

2 participants