vault/tools
Vault Automation 7a4d71f95a
[VAULT-40043]: pipeline: add go diff mod command (#10188) (#10292)
* [VAULT-40043]: pipeline: add `go diff mod` command

Add a `pipeline go diff mod` command that is capable of comparing two
go.mod files at a directive level. We also support strict or lax
comparisons of several directives to flexible diff comparisons. This is
especially useful when you want to compare two go.mod files that have
some different dependencies (CE vs. Ent) but still want to compare
versions of like dependencies.

This command is not currently used in the pipeline but was useful in
developing the diff library that is used. Subsequent work will use the
library and be integrated into CI.



* review feedback



* one more comment fix



---------

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 22:08:05 +00:00
..
codechecker license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
pipeline [VAULT-40043]: pipeline: add go diff mod command (#10188) (#10292) 2025-10-21 22:08:05 +00:00
semgrep license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
stubmaker license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
tools.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
tools.sh license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00