notices

command
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command notices writes THIRD_PARTY_NOTICES, the licence and notice texts of the Go modules compiled into agentryd, in a form that is the same on every machine: modules sorted by path, no timestamps, the linux/amd64 build the container image uses.

go run ./scripts/notices            write THIRD_PARTY_NOTICES
go run ./scripts/notices -check     fail when the committed file differs

For each module it takes the licence files nearest to each package that is compiled in (the package's directory, then its parents up to the module root), classifies each by its text, and copies the text in full, followed by the module's NOTICE files. A licence file it cannot classify fails the run, so a new dependency is never listed under a guessed licence. It reads only the module cache; it needs no network once the modules are downloaded.

Jump to

Keyboard shortcuts

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