Documentation
¶
Overview ¶
Command modules-check is the check of CI of modules.json (R07, R41): just ci-modules runs it once release-verify has accepted the signature of the index, and just ci-withdrawals, the scheduled job, with the index of the newest release of modules, once release-verify has accepted its signature too (R61). It is no part of the binary of a release: the release builds ./cmd/api alone.
modules-check -config modules.json -index <index> [-main-config <file> -main-index <file>] modules-check -config modules.json -index <index> -latest <newest index>
The index must be the bytes of the digest -config pins. Given main's, the release must not be older, and no module that has a current version on main may lose it other than by a withdrawal; it prints the current version of each module. Given the newest index instead, it prints each version that the pinned index gives and the newest withdraws, and refuses when there is one, so that the job fails until modules.json pins a release that marks it. It exits 1 on a refusal, 2 on a wrong command line.