We have an application that has been split into two different versions and is hosted on two separate servers with two separate databases. The code between the two is 60% the same. It's a booger to have to maintain all that similar code in two places and I'd rather have one set of common code with modules to add on the differences between the two systems.
We currently have two separate Git repositories, one for each version of the application.
I'm trying to think through the process of combining the shared code into one repository and where to maintain the modules for version A and version B code. I'm guessing they would all have to be in the same Git repository? Or at least exist as working code on the same server so they can be pulled in as modules into the main set of code?
I haven't worked with Coldbox Modules yet so I don't have a frame of reference for this or know where to start. Please make your suggestions and responses with this in mind. I know basic Coldbox, but not modules.