Skip to content

Commit c05d7de

Browse files
authoredJan 20, 2025
Merge pull request #12490 from nextcloud/fix/appstore-licenses
fix: update license values and examples
2 parents 2957c8a + 3e4a8c8 commit c05d7de

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed
 

‎admin_manual/configuration_user/instruction_set_for_apps.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ XML output
9090
<id>files</id>
9191
<name>Files</name>
9292
<description>File Management</description>
93-
<licence>AGPL</licence>
93+
<licence>AGPL-3.0-or-later</licence>
9494
<author>Robin Appelman</author>
9595
<require>4.9</require>
9696
<shipped>true</shipped>

‎developer_manual/app_development/info.rst

+23-5
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ A minimum valid **info.xml** would look like this:
2323
<summary>An RSS/Atom feed reader</summary>
2424
<description>An RSS/Atom feed reader</description>
2525
<version>8.8.2</version>
26-
<licence>agpl</licence>
26+
<licence>AGPL-3.0-or-later</licence>
2727
<author>Bernhard Posselt</author>
2828
<category>multimedia</category>
2929
<bugs>https://github.com/nextcloud/news/issues</bugs>
3030
<dependencies>
31-
<nextcloud min-version="10"/>
31+
<nextcloud min-version="31"/>
3232
</dependencies>
3333
</info>
3434
@@ -47,7 +47,7 @@ A full blown example would look like this (needs to be utf-8 encoded):
4747
<description lang="en"># Description\nAn RSS/Atom feed reader</description>
4848
<description lang="de"><![CDATA[# Beschreibung\nEine Nachrichten App, welche mit [RSS/Atom](https://en.wikipedia.org/wiki/RSS) umgehen kann]]></description>
4949
<version>8.8.2</version>
50-
<licence>agpl</licence>
50+
<licence>AGPL-3.0-or-later</licence>
5151
<author mail="mail@provider.com" homepage="http://example.com">Bernhard Posselt</author>
5252
<author>Alessandro Cosentino</author>
5353
<author>Jan-Christoph Borchardt</author>
@@ -75,7 +75,7 @@ A full blown example would look like this (needs to be utf-8 encoded):
7575
<lib>curl</lib>
7676
<lib>SimpleXML</lib>
7777
<lib>iconv</lib>
78-
<nextcloud min-version="9" max-version="10"/>
78+
<nextcloud min-version="31" max-version="32"/>
7979
</dependencies>
8080
<background-jobs>
8181
<job>OCA\DAV\CardDAV\Sync\SyncJob</job>
@@ -175,7 +175,25 @@ version
175175

176176
licence
177177
* required
178-
* must contain **agpl**, **mpl*** and/or **apache** as the only valid values. These refer to the AGPLv3, MPL 2.0 and Apache License 2.0
178+
* can occur multiple times with different licenses
179+
* must contain one of the following licenses (for apps targeting v31 or higher, see the `SPDX License List <https://spdx.org/licenses/>`_ for details):
180+
181+
* **AGPL-3.0-only**
182+
* **AGPL-3.0-or-later**
183+
* **Apache-2.0**
184+
* **GPL-3.0-only**
185+
* **GPL-3.0-or-later**
186+
* **MIT**
187+
* **MPL-2.0**
188+
189+
* (deprecated, for apps targeting v30 or lower) the following shorthand aliases are also used:
190+
191+
* **agpl** (AGPL-3.0)
192+
* **apache** (Apache-2.0)
193+
* **gpl3** (GPL-3.0)
194+
* **mit** (MIT)
195+
* **mpl** (MPL-2.0)
196+
179197
author
180198
* required
181199
* can occur multiple times with different authors

‎developer_manual/app_publishing_maintenance/publishing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ These are the app guidelines an app has to comply with to have a chance to be ap
3131
Legal and security
3232
^^^^^^^^^^^^^^^^^^
3333

34-
* Apps must be licensed under AGPLv3+ or any compatible license.
34+
* Apps must be licensed under AGPL-3.0-or-later or any compatible license.
3535
* Apps must not use 'Nextcloud' in their name.
3636
* Irregular and unannounced security audits of all apps can and will take place.
3737
* If any indication of malicious intent or bad faith is found the developer(s) in question can count on a minimum 2 year ban from any Nextcloud infrastructure.

‎developer_manual/getting_started/coding_standards/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ The most part of Nextcloud is written in PHP, Typescript / JavaScript, so we hav
9595
License headers
9696
---------------
9797

98-
Nextcloud is licensed under the `GNU AGPLv3 <https://www.gnu.org/licenses/agpl>`_.
99-
From June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for better long-term maintainability.
98+
Nextcloud is licensed under the `GNU Affero General Public License v3.0 <https://www.gnu.org/licenses/agpl>`_.
99+
From 16 June 2016, we switched to "GNU Affero General Public License v3.0 or later" for better long-term maintainability.
100100

101101
If you create a new file please use this header:
102102

0 commit comments

Comments
 (0)