Add NOTICE file for Apache-2.0 dependencies - #4569
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a top-level
NOTICEfile 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 allcross-checked againstgo list -deps ./cmd/sqlc), four linked modules ship a NOTICE:github.com/tetratelabs/wazerogoogle.golang.org/grpcgopkg.in/yaml.v3go.yaml.in/yaml/v3(same Canonical notice asgopkg.in/yaml.v3, listed under one heading)The
coreos/go-semverdependency called out in #4443 is not included: it arrived viapingcap/tidb/pkg/parserin v1.31.x and is already gone frommainsince the parser was replaced withgithub.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