Update license field information in documentation#2334
Open
keunes wants to merge 1 commit into
Open
Conversation
willdurand
approved these changes
May 21, 2026
Replace the explicit list of accepted SPDX identifiers for the 'license' field with a link to the add-on server documentation.
Member
|
@rebloor thoughts? |
rebloor
requested changes
May 21, 2026
| ``` | ||
|
|
||
| The `"license"` field accepts one of these [SPDX identifiers](https://spdx.org/licenses/): `MPL-1.1`, `MPL-2.0`, `GPL-2.0-or-later`, `GPL-3.0-or-later`, `LGPL-2.1-or-later`, `LGPL-3.0-or-later`, `MIT`, `BSD-2-Clause`, `cc-all-rights-reserved`, `CC-BY-3.0`, `CC-BY-NC-3.0`, `CC-BY-NC-ND-3.0`, `CC-BY-NC-SA-3.0`, `CC-BY-ND-3.0`, `CC-BY-SA-3.0`, and `all-rights-reserved`. | ||
| See the [add-on server documentation](https://mozilla.github.io/addons-server/topics/api/licenses.html#license-list) for which values are accepted in the `"license"` field. |
Collaborator
There was a problem hiding this comment.
I would be more specific about the link so the reader knows they're in the right place when they get there
Suggested change
| See the [add-on server documentation](https://mozilla.github.io/addons-server/topics/api/licenses.html#license-list) for which values are accepted in the `"license"` field. | |
| The values accepted by the `"license"` field are listed in the [License Choices - non-Themes](https://mozilla.github.io/addons-server/topics/api/licenses.html#license-list) section of the addons-server API documentation. |
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.
Replace the explicit list of accepted SPDX identifiers for the 'license' field with a link to the add-on server documentation.
Some of the values currently listed will return errors when submitted, e.g.: