mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-03 05:12:50 +00:00
The repository is licensed per component. SolidLSP (src/solidlsp,
test/solidlsp, test/resources) remains MIT-licensed and independently
reusable; the Serena application (src/serena, src/interprompt, scripts,
test/serena, docs) is licensed under GPL-3.0-or-later starting with the v2
licensing transition. The change is not retroactive: all releases and
commits up to v1.7.0 / 74c38a65 (tag mit-final) remain available under MIT.
Since MIT is GPL-compatible, a distribution combining both (such as the
serena-agent package) is as a whole subject to GPL-3.0-or-later, while the
SolidLSP files themselves stay MIT and can be extracted and used separately
under MIT terms. The distribution metadata therefore declares
GPL-3.0-or-later, with both license texts shipped alongside it.
Serena originally began under the GPL (v2) and was switched to MIT in
May 2025 following community requests. We consider that change a mistake;
the substantial changes in v2 make this the appropriate time to revert it.
We want the best version of Serena to remain free.
Changes:
* LICENSE is now the licensing overview; canonical license texts live in
LICENSES/ (MIT.txt is the previous LICENSE verbatim, GPL-3.0-or-later.txt
is the unmodified FSF text)
* pyproject.toml declares the PEP 639 license expression
"GPL-3.0-or-later" and bundles LICENSE and LICENSES/* as license files;
the deprecated MIT classifier is dropped and flake.nix declares gpl3Plus;
README has per-component license badges and a License section
* SPDX-License-Identifier headers in all Python sources under src/ and
scripts/, added by the new idempotent scripts/add_spdx_headers.py, which
gen_prompt_factory.py also uses to keep the header on the generated
module; existing third-party notices are preserved
* CLA.md: Contributor License Agreement (contributor retains copyright;
grants a perpetual, irrevocable license including relicensing under any
terms, incl. proprietary/commercial; patent grant; authority
representations), to be enforced repository-wide via cla-assistant.io
* CONTRIBUTING.md, PR template and a new docs page explain the licensing
boundary and the CLA workflow
85 lines
3.4 KiB
Plaintext
85 lines
3.4 KiB
Plaintext
Serena Licensing Overview
|
|
=========================
|
|
|
|
This repository is licensed per component: SolidLSP under the MIT License and
|
|
the Serena application under GPL-3.0-or-later.
|
|
|
|
Because MIT is compatible with the GPL, any distribution that combines both -
|
|
such as the `serena-agent` package - is as a whole subject to the terms of
|
|
GPL-3.0-or-later. This does not change the license of the SolidLSP files
|
|
themselves: they remain MIT-licensed and may be obtained, extracted and used
|
|
separately under MIT terms.
|
|
|
|
The full license texts are in the LICENSES/ directory and are not modified in
|
|
any way:
|
|
|
|
LICENSES/MIT.txt The MIT License
|
|
LICENSES/GPL-3.0-or-later.txt The GNU General Public License, version 3
|
|
|
|
Components
|
|
----------
|
|
|
|
SolidLSP (src/solidlsp/, test/solidlsp/, test/resources/)
|
|
License: MIT (SPDX: MIT)
|
|
Copyright (c) 2025-2026 Jain & Panchenko IT-Berater Partnerschaft
|
|
(Oraios AI) and contributors
|
|
|
|
SolidLSP is the language-server client library that provides the basis
|
|
for Serena's free code-intelligence backend. It is permissive, reusable
|
|
infrastructure and remains MIT-licensed so that it can be used
|
|
independently of Serena under MIT terms. This is unaffected by the
|
|
licensing of the Serena application.
|
|
|
|
Some files in src/solidlsp/lsp_protocol_handler/ are derived from
|
|
OLSP (https://github.com/predragnikolic/OLSP), MIT-licensed; the
|
|
original notices are retained in those files.
|
|
|
|
Serena application (src/serena/, src/interprompt/, scripts/, test/serena/,
|
|
docs/ and everything else in this repository that is not listed above)
|
|
License: GPL-3.0-or-later (SPDX: GPL-3.0-or-later)
|
|
Copyright (c) 2025-2026 Jain & Panchenko IT-Berater Partnerschaft
|
|
(Oraios AI) and contributors
|
|
|
|
Serena is the application built on top of SolidLSP. Starting with the
|
|
v2 licensing transition (see "Historical cutoff" below), Serena
|
|
application code is licensed under the GNU General Public License,
|
|
version 3 or (at your option) any later version.
|
|
|
|
Source files carry an "SPDX-License-Identifier" line indicating which of the
|
|
two licenses applies to that file.
|
|
|
|
Historical cutoff
|
|
-----------------
|
|
|
|
The license change is NOT retroactive.
|
|
|
|
* Serena originally began under the GNU General Public License (version 2).
|
|
It was changed to the MIT License on 2025-05-01 (commit 3e9384f5).
|
|
* All Serena releases and commits from that point up to and including the
|
|
cutoff below were released under the MIT License and remain available
|
|
under the MIT License.
|
|
* Serena v2 and all later application code are licensed under
|
|
GPL-3.0-or-later.
|
|
|
|
Last MIT-licensed release: v1.7.0
|
|
Last MIT-licensed commit: 74c38a65f03fc0764d7ee4b3016ef6a07572ed64
|
|
Marker tag: mit-final
|
|
|
|
Contributions that entered the Serena application under the MIT License before
|
|
the cutoff remain incorporated in the GPL-licensed application; the MIT
|
|
copyright and permission notice (LICENSES/MIT.txt) continues to apply to that
|
|
historical code as required by its terms.
|
|
|
|
Contributions
|
|
-------------
|
|
|
|
Contributions to this repository require acceptance of the Contributor License
|
|
Agreement in CLA.md. See CONTRIBUTING.md for details.
|
|
|
|
Why GPL?
|
|
--------
|
|
|
|
We want the best version of Serena to remain free. The GPL ensures that anyone
|
|
who redistributes a derivative version of Serena must preserve the same
|
|
software freedoms for its users.
|