r/devtools • • Oct 21 '26

CAPM - a package manager for static code analyzers

https://getcapm.github.io/
1 Upvotes

3 comments sorted by

1

u/kantorcodes1 Oct 21 '26

Package managers for analyzers usually pin something. Does capm resolve installs to a digest or a semver pin of each analyzer, or does the same config pull a different binary over time? Wondering how reproducible a CI run stays when the analyzer set gets resolved fresh.

1

u/robvanderleek Oct 22 '26

Good question. Currently the packages (analyzers) are baked into the binary (for example mypy). So, switching CAPM versions can pull different analyzer versions over time. This is similar to how Mega-Linter works (for example mypy). I could take out the package definitions and move them to a separate repo so they can be versioned independently from the tool itself.

1

u/kantorcodes1 Oct 27 '26

The current mypy.yml pins mypy to 1.17.1. If the definitions move to another repo, would CAPM pin a tag or commit for that repo too? That would keep the analyzer version and its package set reproducible together.