ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.64k stars 564 forks source link

Better tooling for using multirepos #70

Closed ErikBjare closed 7 years ago

ErikBjare commented 7 years ago

So, I've been thinking a bunch about our multirepo strategy and its gone pretty back and forth.

My thoughts so far:

Tooling to develop:

This is just some thoughts I wanted to get out there, I think the multirepo/monorepo discussion is an interesting configuration management issue and I definitely want to learn more.

ErikBjare commented 7 years ago

I've done some more reading on git subrepo (here's a good introduction) and getting increasingly optimistic about it.

Would have to try it out to see if it's as good as it seems.

Edit: I don't think we'll use it. submodule works good enough and has good support. I also discovered that Qt5 uses submodules.

ErikBjare commented 7 years ago

I just realized that git submodule summary exists.

With it you can even do git submodule summary <commit> to get a list of all commits in submodules since some commit/tag. Very useful to be able to do things like git submodule summary v0.7.0b1.

ErikBjare commented 7 years ago

Closing since the tasks are done. I'm still thinking about the pros and cons, but lets settle this for now.

ErikBjare commented 7 years ago

Holy shit, just found out about this gem from an article: git config --global status.submoduleSummary true

With it you get nice submodule info whenever you git status. No idea how I could have missed it.