Skip to content

Conversation

@andrew
Copy link
Contributor

@andrew andrew commented Jan 27, 2026

go.sum provides integrity hashes for go.mod dependencies but doesn't represent a standalone dependency tree. Parsing it as a lockfile produces a separate set of dependencies all marked "runtime" with no scope or direct/indirect information.

This adds a new Supplement kind and reclassifies go.sum to use it. Supplement files provide extra data (integrity hashes) that consumers can merge into a manifest's dependencies by matching on name+version.

Changes:

  • Add Supplement Kind = "supplement" constant
  • Change go.sum registration from Lockfile to Supplement
  • Update PURL generation to include versions for supplement kind
  • Update README to reflect the new kind and remove go.sum from lockfile tables

go.sum provides integrity hashes for go.mod dependencies but doesn't
represent a standalone dependency tree. A new Supplement kind lets
consumers distinguish files that augment a manifest from files that
are lockfiles in their own right.
@andrew andrew force-pushed the fix-go-sum-supplement branch from cc319f4 to 199e5a8 Compare January 27, 2026 21:55
@andrew andrew merged commit 1ca646b into main Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants