relicense BSL code to Apache 2.0#67
Open
semistrict wants to merge 1 commit intooxidecomputer:release-22.1-oxidefrom
Open
relicense BSL code to Apache 2.0#67semistrict wants to merge 1 commit intooxidecomputer:release-22.1-oxidefrom
semistrict wants to merge 1 commit intooxidecomputer:release-22.1-oxidefrom
Conversation
The Business Source License 1.1 for CockroachDB 22.1 specified a Change Date of April 1, 2025, at which point the license automatically converts to the Apache License, Version 2.0. That date has passed (it is now April 2026). We verified this by examining the git history of licenses/BSL.txt: every BSL version from 19.2 through 22.1 has passed its Change Date, with 22.1 (the latest version in this fork) converting on 2025-04-01. This commit: - Replaces all BSL license headers in ~6,000 source files (.go, .proto, .ts, .tsx, .cc, .h, .s, .sh, .scss, .styl, .less, .tmpl) with standard Apache 2.0 headers, preserving original copyright lines - Removes licenses/BSL.txt - Updates the root LICENSE file to reference Apache 2.0 - Updates README.md to explain the license change - Updates the Swagger/OpenAPI license annotation in api_v2.go and spec.json - Updates the lint test's license header check (renamed bslHeader to apacheHeader to reflect the new license)
|
I recently built a tracker for this! https://captnemo.in/finally-foss/ (need to correct cockroach) Just here to point out that the 23.1.28 release is now FOSS (as of 1st April) and that was the last release before the license switch (23.1.29 is CSL). Backports/upgrading to 23.1.28 is now a possibility? (Want to point out that BUSL's Change Date is its worst feature because Cockroach set it once for the 23.1 branch and never updated it, so 23.1.28 becomes Apache-2 after 1.5y). |
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.
Summary
The Business Source License 1.1 for CockroachDB 22.1 specified a Change Date of April 1, 2025, at which point the license automatically converts to the Apache License, Version 2.0. That date has now passed.
This was verified by examining the git history of
licenses/BSL.txt. The BSL license file was updated once per major version, and every version's Change Date has now passed:The BSL itself states (emphasis added):
CockroachDB 22.1.0 was first publicly released on 2022-04-27 (verified via
git log), making its fourth anniversary 2026-04-27. The explicit Change Date of 2025-04-01 came first, so the conversion happened over a year ago.Changes
.go,.proto,.ts,.tsx,.cc,.h,.s,.sh,.scss,.styl,.less,.tmpl) with standard Apache 2.0 headers, preserving original copyright lineslicenses/BSL.txtLICENSEfile to reference Apache 2.0 instead of BSLREADME.mdwith an explanation of the license change and its justificationpkg/server/api_v2.goanddocs/generated/swagger/spec.jsonbslHeader→apacheHeader)pkg/cli/democluster/api.goTest plan
rg 'governed by the Business Source License' pkg/returns zero resultsTestCopyrightHeaderslint test passes with the new Apache headers (needs CI)