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

Separate config files according to version #765

Open
chapulina opened this issue Apr 14, 2021 · 1 comment
Open

Separate config files according to version #765

chapulina opened this issue Apr 14, 2021 · 1 comment
Labels
enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) help wanted We accept pull requests!

Comments

@chapulina
Copy link
Contributor

Desired behavior

We place GUI and server configuration files under ~/.ignition/gazebo, as explained on these tutorials:

The problem is that these files may differ according to Gazebo's version, and if the user has more than one version installed, they may try to load an unsupported config. Ideally, the files should be installed in versioned folders, i.e.:

  • ~/.ignition/gazebo/3/gui.config
  • ~/.ignition/gazebo/4/server.config

And Gazebo should only save and load files from the current version's folder.

Alternatives considered

Instead of version numbers, we could have collection names, i.e. citadel, dome.

Implementation suggestion

It would be good to do this for stable releases while keeping backwards compatibility. For example, Gazebo could always look for ~/.ignition/gazebo/gui.config first, and use that if it exists.

@chapulina chapulina added enhancement New feature or request help wanted We accept pull requests! GUI Gazebo's graphical interface (not pure Ignition GUI) labels Apr 14, 2021
@chapulina
Copy link
Contributor Author

Placing the files in a versioned directory from Fortress: #1050

Still need to think more about how to fix this nicely for stable releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) help wanted We accept pull requests!
Projects
None yet
Development

No branches or pull requests

1 participant