-
Notifications
You must be signed in to change notification settings - Fork 263
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
[Refactoring]: Split maptool into different projects in the same repository #3777
Comments
Unless the code was in different repositories and then those jars were added in the build as the dependencies, this will increase the time taken for the build process not decrease it. Given the issues GitHub actions has been having for a while that's really undesirable. |
I meant rebuild times as I expect gradle to ignore all subprojects if nothing changed. Have to test it it really does. |
our biggest problem at the moment though is github actions hanging, the longer it takes to compile from scratch the more pain involved. |
This may be true, but I fail to see how is this relevant for this issue. |
Well the reason it is relevant is because doing it will have the above stated adverse effects so the problems it creates would be bigger than the benefits it creates. |
Looks like it was fixed by #3751 |
I personally don't care about the JARs per se, but splitting up into subprojects would certainly be useful. We have a lot of bad interdependencies right now, and subprojects would avoid the worst of it. Thinking of how the model depends on the UI, how the Easiest to start with would be pulling out the |
I have no problems if we want to make them all their own repo, too (although everyone has been bugging me to do the opposite), but if the end goal is to try to suggest git submodules, then it's not going to happen as per other discussions on this. The reasons I have for this are
Sure we could script some of it in the gradle build but people forget to run spotlessApply enough times that its clear that's not really a solution that's going to fix the problems. |
Do subfolders or really independent repos (as in independent deliverables) but don't use submodules. This has serious dependency consequences. (Take it from someone who's been there. I wish - still am there. :-( ) One example - may not be an issue now - is when moving code to another provider, say Gitlab. To quote you, it's a PITA. |
Absolutely agreed regarding git submodules, they are not the right tool for this project. Same for other takes on separate repos - despite being better in some ways than submodules, they're still a barrier when changes are needed across repos. So unless there's a real benefit for a particular case, let's just keep things in this repo. |
My intention was always to keep everything in one repo. |
Describe the problem
Currently we only have on big project than contains nearly all code. I would like to split this up into several jars like maptool-server, maptool-client-swing, maptool-client-common, maptool, maptool-model, maptool-lib-swing and so on.
We could also reintegrate dicelib into the main repository if we want.
The improvement you'd like to see
As a first step I would move the whole code into a subdirectory as specified here.
Expected Benefits
This will reduce comping time and makes it possible to add different clients while sharing much code. (We would need to separate actual gui from logic before that.
Additional Context
No response
The text was updated successfully, but these errors were encountered: