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 #145

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Deprecated code produces compile-time warnings. These warning serve as
notification to users that their code should be upgraded. The next major
release will remove the deprecated code.

## Gazebo Tools 2.X to 3.X

* The environment variable `IGN_CONFIG_PATH` is removed.
Use `GZ_CONFIG_PATH` instead.

## Gazebo Tools 1.X to 2.X

* This package now depends on gz-cmake
Expand Down
4 changes: 0 additions & 4 deletions src/gz.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@ yaml_found = false

conf_dirs = '@CMAKE_INSTALL_PREFIX@/share/gz/'
conf_dirs = ENV['GZ_CONFIG_PATH'] if ENV.key?('GZ_CONFIG_PATH')

conf_dirs = conf_dirs.split('@ENV_PATH_DELIMITER@')

# Deprecated
conf_dirs.append(ENV['IGN_CONFIG_PATH']) if ENV.key?('IGN_CONFIG_PATH')

conf_dirs.each do |conf_directory|
next if Dir.glob(conf_directory + '/*.yaml').empty?

Expand Down
Loading