modules-check

command
v0.1.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL