Documentation
¶
Overview ¶
notice generates and verifies the project's NOTICE file from the direct dependencies declared in go.mod and frontend/package.json.
Subcommands:
notice generate Render NOTICE from current dependencies. notice check Verify on-disk NOTICE matches what would be rendered.
To add a new ecosystem (e.g. PyPI, Cargo) implement the notice.Collector interface in a new internal/<name>/ package and append <name>.New() to the collectors slice below. See README.md for details.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
gomod
Package gomod implements a notice.Collector for direct dependencies declared in go.mod.
|
Package gomod implements a notice.Collector for direct dependencies declared in go.mod. |
|
license
Package license contains ecosystem-agnostic helpers for license classification, copyright extraction, and license-URL construction.
|
Package license contains ecosystem-agnostic helpers for license classification, copyright extraction, and license-URL construction. |
|
notice
Package notice contains the core types and orchestration for the NOTICE generator: the on-disk schema, the Collector interface, and the helpers that ecosystem packages use to assemble entries.
|
Package notice contains the core types and orchestration for the NOTICE generator: the on-disk schema, the Collector interface, and the helpers that ecosystem packages use to assemble entries. |
|
npm
Package npm implements a notice.Collector for direct dependencies declared in frontend/package.json.
|
Package npm implements a notice.Collector for direct dependencies declared in frontend/package.json. |
|
testutil
Package testutil provides shared helpers for hermetic notice-tool tests.
|
Package testutil provides shared helpers for hermetic notice-tool tests. |
Click to show internal directories.
Click to hide internal directories.