Commands: dependencies
A hermetic build reads dependencies.lock and does not resolve. A solved build resolves
from histos.scala and remembers the result. The Resolution page is that choice.
resolve writes or checks the lock. deps looks at the jars the build is actually using.
val flags: List[String] = List(
"affected",
"area",
"automatic",
"bare",
"base",
"branch",
"check",
"color",
"dry-run",
"fix",
"from",
"explain",
"full",
"ignore-tag",
"json",
"major",
"make-default",
"minor",
"no-color",
"no-truecolor",
"only",
"open",
"patch",
"preflight",
"report",
"quick",
"security",
"submit",
"tag",
"test",
"to",
"truecolor",
"update",
"verbose",
"yes",
)resolve
histos resolve checks the lock against a fresh solve. --update solves and writes
dependencies.lock. --check fails when a fresh solve would differ, which is the CI
form. --refresh refetches metadata. --lock=offer, update, local, or frozen
chooses how far the command is allowed to move the lock.
deps
histos deps check reports available updates. deps update applies them. --yes does
not ask, and --security limits the set to security updates. deps audit reports known
problems, and --report writes the report. deps pr opens an update as a branch.
--open opens the pull request. deps alert prints the alerts. deps snapshot works
with snapshot dependencies, and --submit sends the result.