pagermon icon indicating copy to clipboard operation
pagermon copied to clipboard

Seperate Repos for components

Open DanrwAU opened this issue 6 years ago • 3 comments

Hey Guys,

Would it make sense to split out the components to individual repositories?

This would allow running of the server app on platforms like Heroku much simpler and prevent having to clone the entire server to platforms that will only be run as a client (and vice versa).

Possibly something like pagermon-server, pagermon-client, pagermon-docker?

Just a random middle of the night thought :)

DanrwAU avatar Aug 17 '18 17:08 DanrwAU

Yknow it probably wouldn't be a bad idea. Separate versioning kinda makes sense with the client side too since it's a lot more flexible - it can afford to be a bit messier with people adding different client side scripts, lot looser merge rules.

Lemme have a think about how best to implement that. I'd really like to get back into some of the big ticket items in the backlog when time permits, can start looking at it with that :)

davidmckenzie avatar Aug 19 '18 21:08 davidmckenzie

So you don't have to lose what you have here, and you can just build on it, you could potentially just fork the repository into the different names, delete what isn't required and save back. It means history will be there for everything, even if it's not valid, but from this point on everything is individual to the actual element.

From this primary repository, you could add all of the others in simply by doing a submodule, that way if people want to download the entire package they can clone this repository, then pull each of the modules individually.

damiankw avatar Oct 09 '18 21:10 damiankw

@davidmckenzie had a play with submodules. How do you feel about this? https://github.com/DanrwAU/pagermon/tree/Cleanup

DanrwAU avatar May 10 '19 02:05 DanrwAU