Skip to content

Commit 32ec9ff

Browse files
committed
doc: say when to join licenses with AND or OR
1 parent dd25bad commit 32ec9ff

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎spec/v0/index.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,13 @@ documentation <https://spdx.org/licenses/>`__ for further information.
772772

773773
.. tip::
774774

775+
Join several licenses with ``OR`` when users can pick any one of
776+
them, as in dual licensing, and with ``AND`` when all of them apply
777+
at once, for example when parts of the code are under different
778+
licenses. Write the whole expression as one string, not as a YAML
779+
list. See `SPDX license expressions
780+
<https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#composite-license-expressions>`__.
781+
775782
Avoid the identifiers the SPDX License List marks as
776783
`deprecated <https://spdx.org/licenses/#deprecated>`__. For the GNU
777784
licenses, say whether later versions apply: write

‎spec/v1/index.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,13 @@ see the `SPDX License List <https://spdx.org/licenses/>`__.
491491

492492
.. tip::
493493

494+
Join several licenses with ``OR`` when users can pick any one of
495+
them, as in dual licensing, and with ``AND`` when all of them apply
496+
at once, for example when parts of the code are under different
497+
licenses. Write the whole expression as one string, not as a YAML
498+
list. See `SPDX license expressions
499+
<https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#composite-license-expressions>`__.
500+
494501
Avoid the identifiers the SPDX License List marks as
495502
`deprecated <https://spdx.org/licenses/#deprecated>`__. For the GNU
496503
licenses, say whether later versions apply: write

0 commit comments

Comments
 (0)