Skip to content

Add NOTICE file for Apache-2.0 dependencies - #4569

Merged
kyleconroy merged 1 commit into
mainfrom
claude/sqlc-issue-4443-9chzaf
Aug 18, 2026
Merged

Add NOTICE file for Apache-2.0 dependencies#4569
kyleconroy merged 1 commit into
mainfrom
claude/sqlc-issue-4443-9chzaf

Conversation

@kyleconroy

Copy link
Copy Markdown
Collaborator

Adds a top-level NOTICE file aggregating the attribution notices from the Apache-2.0 dependencies compiled into the sqlc binary that ship one, as required by section 4(d) of the Apache License. Refs #4443.

Auditing the current module graph (go mod download -json all cross-checked against go list -deps ./cmd/sqlc), four linked modules ship a NOTICE:

  • github.com/tetratelabs/wazero
  • google.golang.org/grpc
  • gopkg.in/yaml.v3
  • go.yaml.in/yaml/v3 (same Canonical notice as gopkg.in/yaml.v3, listed under one heading)

The coreos/go-semver dependency called out in #4443 is not included: it arrived via pingcap/tidb/pkg/parser in v1.31.x and is already gone from main since the parser was replaced with github.com/sqlc-dev/marino.

No tooling is added to keep the file in sync — if the dependency set changes, this PR is the reference for how to regenerate it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tb9pkPZxJefgFP3vcQ4wrD


Generated by Claude Code

Four modules compiled into the sqlc binary are Apache-2.0 licensed and
ship a NOTICE file: wazero, grpc, and yaml.v3 (both module paths).
Section 4(d) of the Apache License requires redistributions to carry
their attribution notices, so aggregate them into a top-level NOTICE.

Refs #4443

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tb9pkPZxJefgFP3vcQ4wrD
@kyleconroy
kyleconroy merged commit d72f916 into main Aug 18, 2026
13 checks passed
@kyleconroy
kyleconroy deleted the claude/sqlc-issue-4443-9chzaf branch August 18, 2026 20:40
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