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

Remove deprecations: tock #705

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Remove deprecations: tock #705

merged 3 commits into from
Dec 20, 2024

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Dec 5, 2024

🦟 Bug fix

Perform the tock of the tick-tock cycle and remove / move deprecated code.

Summary

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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.

Signed-off-by: Carlos Agüero <[email protected]>
Migration.md Outdated

### Removals

* The environment variable `GZ_PHYSICS_ENGINE_INSTALL_DIR` is removed. Use
Copy link
Contributor

Choose a reason for hiding this comment

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

rephrased to say macro instead of env var

Suggested change
* The environment variable `GZ_PHYSICS_ENGINE_INSTALL_DIR` is removed. Use
* The macro `GZ_PHYSICS_ENGINE_INSTALL_DIR` is removed. Use

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 97f5255.

CMakeLists.txt Outdated
@@ -97,9 +97,6 @@ message(STATUS "-------------------------------------------\n")
set(GZ_PHYSICS_ENGINE_RELATIVE_INSTALL_DIR
${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/engine-plugins
)
set(GZ_PHYSICS_ENGINE_INSTALL_DIR
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this cmake variable is still being used in different engine plugins' CMakeLists.txt for windows install. Not sure if we can remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leave it as deprecated, then. 97f5255. Thanks!

@azeey azeey removed their request for review December 16, 2024 23:51
@caguero caguero requested a review from iche033 December 19, 2024 14:12
### Deprecations

* The macro `GZ_PHYSICS_ENGINE_INSTALL_DIR` is deprecated. Use
`gz::physics::getEngineInstallDir()` instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

should we just remove the macro like other gz packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about now? e1e5bae

Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero requested a review from iche033 December 20, 2024 15:19
@caguero caguero merged commit 8d1e74d into main Dec 20, 2024
9 checks passed
@caguero caguero deleted the caguero/9_tock branch December 20, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants