Trailblazer Labs Open-Source License Compatibility Matrix and Policy
Policy Overview
Trailblazer Labs promotes the responsible reuse and combination of open-source software while ensuring legal compliance, preservation of licenses, and maximal freedom for downstream users. This License Compatibility Matrix and accompanying policy guide our projects and contributors.
Key Policy Principles
- Prefer Permissive Licenses: Use MIT, Apache 2.0, BSD-3-Clause, or ISC for new projects to maximize compatibility and reuse.
- Compatibility Checks: Before including third-party code:
- Consult this matrix.
- Verify exact license text (e.g., via ChooseALicense.com or TLDRLegal).
- Seek legal review for edge cases (e.g., patents, trademarks).
- Combination Rules:
- ✅ Compatible: Code under the row license can be included in a project under the column license.
- ❌ Incompatible: Cannot combine without relicensing (which requires original copyright holder approval).
- ⚠️ Conditional: Possible with restrictions (detailed in notes).
- Obligations:
- Preserve all copyright notices, license texts, and attributions.
- For copyleft licenses (e.g., GPL), provide source code as required.
- No modifications to license terms; comply with additional requirements (e.g., Apache patent grants).
- Prohibited Practices:
- Do not use incompatible code.
- Avoid relicensing without permission.
- No proprietary forks of our permissive projects without dual-licensing.
- Reporting: Flag potential issues in issues/pull requests with license details.
- Updates: This matrix is reviewed annually or as licenses evolve. Last updated: October 2023.
Disclaimer: This is not legal advice. Consult counsel for production use.
Compatibility Matrix
The matrix shows: Can code licensed under the ROW license be included in a project licensed under the COLUMN license?
| Source → Project ↓ | MIT / Unlicense / CC0 / ISC | Apache 2.0 | BSD-2-Clause / BSD-3-Clause | MPL 2.0 | LGPL-2.1 / LGPL-3.0 | GPL-2.0 | GPL-3.0 / AGPL-3.0 | EPL-2.0 | CDDL-1.1 |
|---|
| MIT / Unlicense / CC0 / ISC | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Apache 2.0 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⚠️¹ | ❌² |
| BSD-2-Clause / BSD-3-Clause | ✅ | ⚠️³ | ✅ | ✅ | ✅ | ✅ | ✅ | ⚠️¹ | ❌² |
| MPL 2.0 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⚠️⁴ | ❌ |
| LGPL-2.1 / LGPL-3.0 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⚠️⁴ | ❌ |
| GPL-2.0 | ❌ | ❌ | ❌ | ❌ | ⚠️⁵ | ✅ | ⚠️⁶ | ❌ | ❌ |
| GPL-3.0 / AGPL-3.0 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| EPL-2.0 | ✅ | ⚠️⁷ | ✅ | ⚠️⁴ | ⚠️⁷ | ❌ | ❌ | ✅ | ❌ |
| CDDL-1.1 | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
Notes on Conditionals
¹ Apache 2.0 or EPL-2.0 project: Include BSD/MIT notice stating "portions under BSD/MIT".
² CDDL project: Strong copyleft; incompatible with most due to file-level requirements and patent issues.
³ Apache 2.0 project: Add patent grant language to BSD notice.
⁴ MPL or EPL project: Network/file-level copyleft; combine via separate files or compatibility exceptions.
⁵ LGPL project: Yes for dynamic linking; static requires relinkable object files.
⁶ GPL-3.0 project: GPL-2.0 code can upgrade to GPL-3.0.
⁷ LGPL or EPL project: Possible with linking exceptions or secondary licenses.
Additional Guidance
- Server-Side Use: AGPL requires source disclosure for network use.
- Dual-Licensing: Allowed (e.g., GPL + commercial) if original permits.
- Tools for Verification:
- Examples:
- OK: MIT code in Apache project → Just include notices.
- Not OK: GPL code in MIT project → Violates GPL's share-alike.
- Contributing to Trailblazer Projects: Match the project's license or propose relicensing.
This draft is open-source (MIT license). Fork, improve, and share! Questions? Open an issue on our GitHub.