Right now I'm really bothered by the overhead of managing submodules, CI, and releases. Things would be a lot simpler if a lot of things were brought into one repo.
Then I read this: https://danluu.com/monorepo/
Has been discussed a little before in: https://github.com/ActivityWatch/activitywatch/issues/70
Things that would improve:
Things that would worsen:
Repos I'd merge in:
Things we'd have to do:
git merge the original repo's pre-merge branch.@staltz Any comments/opinions?
I don't like monorepos, but if we want fewer repos this would be my suggestion of merging more stuff into aw_server like this:
I like when the clients and their dependencies are in seperate repos, makes more sense for third-party watchers. The modules specified above should be aw_server exclusive anyway.
Hi! Thanks for asking for my comment. I think as long as the architecture remains modular (not monolithic), then I think it's fine to make a monorepo. You can use this git trick to merge in the commits from all repos.
@staltz Woah, that's an extremely useful link, thanks!
@johan-bjareholt That sounds sensible. Would fix most of the overhead I'm bothered by.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
These plans have been put on hold, we're not doing this anytime soon. Closing.
Most helpful comment
Hi! Thanks for asking for my comment. I think as long as the architecture remains modular (not monolithic), then I think it's fine to make a monorepo. You can use this git trick to merge in the commits from all repos.