mirror of
https://github.com/taigrr/mg.git
synced 2026-04-02 03:28:42 -07:00
cd/dep-updates-go126
- Implement fetch command: fetches all registered repos without merging, supports parallel execution via -j/--jobs flag - Implement status command: shows uncommitted changes across all repos with per-file-type counts, supports parallel execution - Update Go to 1.26.1 - Update go-git v5.16.5 -> v5.17.0, go-crypto v1.3.0 -> v1.4.0, go-billy v5.7.0 -> v5.8.0, x/net v0.50.0 -> v0.51.0 - Fix unregister command description (said 'add' instead of 'remove') - Fix goimports formatting in mgconf_test.go
mg
Golang replacement for myrepos which only supports git repos.
This app will support the following subcommands:
- mg commit
- mg push
- mg status
- mg diff
- mg pull
- mg fetch
- mg register
- mg unregister
Passing the -jX argument will spin up X jobs simultaneously
mg supports loading an existing ~/.mrconfig and migrating it to ~/.config/mg.conf, provided no mg.conf file exists.
Improvements over mr:
- No external dependencies (even git!*)
- More output options (summary of failures)
- More deterministic behavior (global vs local run, register from git project subdir)
- Exports public functions and can be embedded into other Go programs idiomatically
Why to stick with mr:
- If you need support for non-git VCS tooling
- If you want to use the mr plugin ecosystem
*: custom-registered commands may rely on external applications.
Languages
Go
100%