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

Add .sh env hook for setting GZ_CONFIG_PATH #5

Closed
wants to merge 1 commit into from

Conversation

nwn
Copy link

@nwn nwn commented Oct 8, 2024

For systems not using colcon's or ament's .dsv files for initializing the environment, having only "dummy" .sh hooks means that the GZ_CONFIG_PATH environment variable does not get set correctly. The proposed change is to define a "real" .sh hook with the proper logic to initialize the environment.

The same issue applies to many of the gz_*_vendor packages and I can create similar PRs for them, but wanted to get feedback from maintainers first to avoid potential spamming.

Signed-off-by: Nathan Wiebe Neufeldt <[email protected]>
@nwn
Copy link
Author

nwn commented Oct 15, 2024

@azeey Is the CI for this package working correctly? The above failure seems unrelated to these changes.

@azeey
Copy link
Collaborator

azeey commented Oct 17, 2024

The Jazzy build shouldn't be running for this branch. Fix in ros/rosdistro#43231

Copy link
Collaborator

@azeey azeey left a comment

Choose a reason for hiding this comment

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

The approach seems good to me, but this file is automatically generated and should not be modified directly. Could you please close this PR and open one on https://github.com/gazebo-tooling/gz_vendor?

@nwn
Copy link
Author

nwn commented Oct 17, 2024

Ah, I didn't realize these were all automatically generated. I've opened a new PR on the other repo as requested: gazebo-tooling/gz_vendor#11.

@nwn nwn closed this Oct 17, 2024
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