SRF-Consulting-Group-Inc / iris

Intelligent Roadway Information System
GNU General Public License v2.0
2 stars 0 forks source link

Simplify reconfiguring IRIS for developer workstations #36

Closed jlstanley-git closed 1 year ago

jlstanley-git commented 2 years ago

There are roughly 23 strings that are embedded in IRIS source or in two different properties files, that can be changed to support running IRIS server and client in a developer environment. It's a tedious task to keep those strings set to the correct values for a given development environment while being careful to not accidently push or overwrite those changes when interacting with Github. It would save time and avoid accidents if we had an optional developer.properties configuration file that would allow overriding those strings without having to modify IRIS source or the standard client/server properties files.

gordonparikh commented 2 years ago

I do something similar with untracked files in my local repository. Having a developer file that we sync though is a good idea.

jlstanley-git commented 2 years ago

Actually, the idea is the developer.properties file (with all values commented out) would be pulled from the repo when it's cloned. (Or possibly distributed via some separate channel.) It would be added to the local ignore list and then customized for the developer's workstation. So we would not be syncing the developer file.

jlstanley-git commented 2 years ago

In a sense, it's trying to add the troublesome strings to the Git ignore list without actually ignoring any of the mainstream IRIS code.

mgallagher01 commented 1 year ago

Patches submitted. Waiting for Doug to approve & merge.

jlstanley-git commented 1 year ago

Pull request accepted!