Repository navigation
chore: require Apache-2.0 for new contributions - #152
Merged
Merged
Conversation
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The prospective Apache-2.0 policy changes contributor licensing obligations and patent grants, requiring maintainer/legal review to confirm adoption authority and preserve the boundary around legacy MIT contributions.
No open issues 🎉
What changed in this PR
Addresses #151 by requiring Apache-2.0 for new original ANS contributions while preserving legacy MIT terms, without claiming retroactive Apache patent grants.
Changes:
- Documents the prospective contribution policy and mixed-license distribution requirements.
- Preserves the original MIT license and copyright notice alongside the full Apache-2.0 license.
- Includes both license texts and
NOTICEin release archives and all three container images, with matching OCI license metadata.
| File | Description |
|---|---|
| README.md | Explains new Apache-2.0 contributions and retained legacy MIT terms. |
| NOTICE | Identifies legacy MIT material and its preserved copyright notice. |
| LICENSES/MIT.txt | Preserves the original MIT license verbatim. |
| LICENSE | Replaces the root license text with Apache-2.0. |
| Dockerfile.ans-verify | Bundles license notices and sets mixed-license metadata. |
| Dockerfile.ans-tl | Bundles license notices and sets mixed-license metadata. |
| Dockerfile.ans-ra | Bundles license notices and sets mixed-license metadata. |
| CONTRIBUTING.md | Defines prospective Apache-2.0 licensing and notice-preservation requirements. |
| .goreleaser.yaml | Adds the MIT license and NOTICE to release archives. |
Review effort: Balanced
kperry-godaddy
approved these changes
Nov 5, 2026
kperry-godaddy
approved these changes
Nov 5, 2026
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.
Related issue
Fixes #151
Summary
Propose Apache-2.0 for new original contributions so its copyright and patent grants apply going forward. Preserve the original MIT text and copyright notice verbatim in
LICENSES/MIT.txt, and explain the legacy material inNOTICE. Earlier contributions keep their existing terms; this does not claim Apache patent grants from past MIT contributors.The root
LICENSEcontains the complete Apache-2.0 terms.CONTRIBUTING.mddefines the prospective policy, and the README distinguishes legacy MIT material from new Apache contributions. This is mixed licensing (Apache-2.0 AND MITfor distributions containing both), rather than an MIT alternative for new contributions. Separately licensed material retains its terms.Release archives and all three container images include both license texts and
NOTICE; OCI license metadata matches the policy. This is the first repository proposal for review before changing the remaining MIT repositories.Testing
goreleaser check, dependency-license checks,make test-cover, andgit diff --checkpass.LICENSES/MIT.txtis byte-for-byte identical to the existing MIT license and the Apache text matches GitHub's standard text. GitHub recognizes the PR branch's primary license asApache-2.0; the README and NOTICE retain the legacy MIT scope.make checkpassed formatting and vet, then stopped on existing whitespace errors in unchangedinternal/ra/handler/v1certificates_test.go:125andinternal/ra/handler/v1renewal_test.go:159. Coverage was run separately and passed.AI assistance
Assisted-by: OpenAI Codex (GPT-6)
Checklist