Releases: mfojtik/goodmod
Releases · mfojtik/goodmod
Reporting
This release adding goodmod report
sub-command that will list all go modules tracked by go.mod
and report the current and desired versions. For modules that have matching rules in goodmod.yaml file, the command will also display the "missing" commits when the module is tracking a "branch".
Glob release
- Use
github.com/gobwas/glob
to support globing patterns in paths:
`*` matches any sequence of non-separator characters
`**` matches any sequence of characters
`?` matches any single non-separator character
`[` [ `!` ] { character-range } `]`
character class (must be non-empty)
`{` pattern-list `}`
pattern alternatives
c matches character c (c != `*`, `**`, `?`, `\`, `[`, `{`, `}`)
`\` c matches character c
Bugfix release
- Fixes logic when reading the module paths (original module vs. fork)
- Add
--verbose
flag for more messages
New repository name
v1.0.0 more renaming
Now with config file support
In this release, you can pass the --config
file with YAML rules to execute and you can pass the --apply
flag to automatically run the go mod edit -replace
command.