I was wondering if the file structure between different operating systems is the same in Ignition.
For example, if I have versioned a project that was deployed on Linux, would it work if I deployed it on Windows or MacOS.
I understand that location of the files may be different in the directories for the different OSs but at the project level / data folder, are they the same?
I’ve discussed it with colleagues and they believe there may be some differences.
If anyone knows for certain that would be great. Thanks
The only thing I've had to pay close attention to when switching OS platforms has been the paths in ignition.conf. And looking for scripting that uses hard-coded paths instead of proper java path-building.
We don't officially endorse taking a gateway backup from one OS and restoring it on another, mostly because it takes diligence (especially when writing scripts) to not end up with OS inconsistencies we can't account for automatically.
That said, if you're just using a VCS to manage files within a particular resource collection (e.g. the gateway's config or some project directories) then you should be fine across OSes. There are some potential issues with Windows (e.g. the case-insensitive filesystem) but we deal with most of those when loading resources, and your VCS probably doesn't enforces case sensitivity by default anyways.
The actual defined resource format is exactly the same past the Ignition installation directory. It's much, much easier on us that way. A long time ago Linux installs put files in a few different locations, but we stopped doing that a while ago.