Skip to content

Commit aadf3b0

Browse files
committed
Merge 2.3 development branch to main
Signed-off-by: Gary O'Neall <[email protected]>
2 parents 947ec79 + ee3df57 commit aadf3b0

40 files changed

+9765
-741
lines changed

.github/workflows/publish_common.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
run: pip install mike==1.2.0
2828
- name: Extract branch or tag name
2929
id: extract-branch-or-tag-name
30-
run: echo "::set-output name=${REF##*/}"
30+
run: echo "::set-output name=ref_name::${REF##*/}"
3131
with:
3232
ref: ${{ github.event.client_payload.ref || github.event.inputs.ref }}
3333
- name: Build docs
3434
run: mike deploy ${{ steps.outputs.extract-branch-or-tag-name.name }} ${{ github.event.inputs.aliases }}
35+

CONTRIBUTING.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ A properly formed Git commit subject line should always be able to complete the
1515

1616
if applied, this commit will Add chapter on Security Vunerabilities in SPDX
1717
if applied, this commit will Delete section with deprecated SPDX attributes
18-
if applied, this commit will Fix grammar in SPDX 3.3 Package Version
18+
if applied, this commit will Fix grammar in Package Version field description
1919

2020
Git itself uses this approach. When you merge something it will generate a commit message like "Merge branch...", or when reverting "Revert...".
2121

2222
### Minor Changes
2323
Minor changes such as markup and typo fixes may be submitted directly to this repository (either as [issues][] or [pull-requests][]) without previous discussion.
24-
Please submit all minor changes against the `development/v2.2.2` branch which is the draft of the next version of the SPDX specification to be released.
24+
Please submit all minor changes against the `development/v2.3` branch which is the current version of the SPDX specification.
2525

2626
### Major Changes
2727
Any change that break backwards compatibility or requires significant tooling changes is considered a major change.
2828
You may want to discuss major changes on the mailing list first to get design feedback before investing time in a pull request.
2929
Please submit all major changes against the `development/v3.0` which is the next major version of the specification.
3030

31+
### Target Milestones
32+
When submitting an issue or pull request, please add a suggested release milestone. This will ensure the issue or pull request is reviewed for inclusion in that release.
33+
34+
If your issue or pull request is independent of a release, you can use the `release-independent` milestone.
35+
3136
[issues]: https://github.com/spdx/spdx-spec/issues/
3237
[pull-requests]: https://github.com/spdx/spdx-spec/pulls/
3338
[spdx-legal]: https://wiki.spdx.org/view/Legal_Team

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ This repository holds under active development version of the specification as:
1212
* HTML (gh-pages branch, built on every commit to `master` and `development/` branches)
1313
* [Current](https://spdx.github.io/spdx-spec/)
1414
* [v2 Development](https://spdx.github.io/spdx-spec/v2-draft)
15-
* [v3 Development](https://spdx.github.io/spdx-spec/v3-draft)
1615

1716
See for the official [releases of the specification](https://spdx.org/specifications) or additional information also the [SPDX website](https://spdx.org).
1817

chapters/RDF-object-model-and-identifier-syntax.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
SPDX ® Vocabulary Specification
66

7-
See: [http://spdx.org/rdf/ontology/spdx-2-2-1](http://spdx.org/rdf/ontology/spdx-2-2-1)
7+
See: [http://spdx.org/rdf/ontology/spdx-2-3](http://spdx.org/rdf/ontology/spdx-2-3)
88

9-
Version: 2.2.2
9+
Version: 2.3
1010

11-
![SPDX 2.2.2 RDF Ontology](img/spdx-2.2.2-rdf-ontology.png)
11+
![SPDX 2.3 RDF Ontology](../ontology/SPDX-2.3-simplified.png)
1212

1313
**Figure C.1 — SPDX ontology**
1414

chapters/SPDX-Lite.md

+18-14
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ The SPDX Lite profile is a subset of the SPDX specification. SPDX Lite consists
1818

1919
The mandatory part of the SPDX document creation information section (which consists of SPDX Version, Data License, SPDX Identifier, Document Name, SPDX Document Namespace, Creator and Created) is used for keeping compatibility with SPDX tools.
2020

21-
The main part of the Package Information (those are Package Name, Package Version, Package File Name, Package Download Location, Package Home Page, Concluded License, Declared License, Comments on License and Copyright Text) is used for exchanging license information.
21+
The main part of the Package Information (those are Package Name, Package Version, Package File Name, Package Supplier, Package Download Location, Package Home Page, Concluded License, Declared License, Comments on License and Copyright Text) is used for exchanging license information.
2222

2323
In the Package Information, Package SPDX Identifier and Files Analyzed are used for keeping compatibility with SPDX tools.
2424

2525
Files Analyzed shall be set to "false" when SPDX Lite is used.
2626

2727
Package Comment can be used to describe additional details, such as compiling options, where a license may change with a different compiling option.
2828

29+
External Reference field can be used to express correlated external resources information such as security CPE strings as described in Annex F of SPDX spec.
30+
2931
The Other License information section (License Identifier, Extracted Text, License Name and License Comment) is used for exchanging license information for licenses that are not on the [SPDX License List](https://spdx.org/licenses).
3032

3133
## G.3 Table of SPDX Lite fields <a name="G.3"></a>
@@ -37,23 +39,25 @@ The Other License information section (License Identifier, Extracted Text, Licen
3739
|L1.1 |6.1 | SPDX Version |
3840
|L1.2 |6.2 | Data License |
3941
|L1.3 |6.3 | SPDX Identifier |
40-
|L1.4 |6.4 | Document Name |
42+
|L1.4 |6.4 | Document Name |
4143
|L1.5 |6.5 | SPDX Document Namespace |
4244
|L1.6 |6.8 | Creator |
4345
|L1.7 |6.9 | Created |
4446
|L2.1 |7.1 | Package Name |
4547
|L2.2 |7.2 | Package SPDX Identifier |
4648
|L2.3 |7.3 | Package Version |
4749
|L2.4 |7.4 | Package File Name |
48-
|L2.5 |7.7 | Package Download Location |
49-
|L2.6 |7.8 | Files Analyzed |
50-
|L2.7 |7.11 | Package Home Page |
51-
|L2.8 |7.13 | Concluded License |
52-
|L2.9 |7.15 | Declared License |
53-
|L2.10 |7.16 | Comments on License |
54-
|L2.11 |7.17 | Copyright Text |
55-
|L2.12 |7.20 | Package Comment |
56-
|L3.1 |10.1 | License Identifier |
57-
|L3.2 |10.2 | Extracted Text |
58-
|L3.3 |10.3 | License Name |
59-
|L3.4 |10.5 | License Comment |
50+
|L2.5 |7.5 | Package Supplier |
51+
|L2.6 |7.7 | Package Download Location |
52+
|L2.7 |7.8 | Files Analyzed |
53+
|L2.8 |7.11 | Package Home Page |
54+
|L2.9 |7.13 | Concluded License |
55+
|L2.10 |7.15 | Declared License |
56+
|L2.11 |7.16 | Comments on License |
57+
|L2.12 |7.17 | Copyright Text |
58+
|L2.13 |7.20 | Package Comment |
59+
|L2.14 |7.21 | External Reference field |
60+
|L3.1 |10.1 | License Identifier |
61+
|L3.2 |10.2 | Extracted Text |
62+
|L3.3 |10.3 | License Name |
63+
|L3.4 |10.5 | License Comment |

chapters/SPDX-license-expressions.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ license-id = <short form license identifier in Annex A.1>
1515
1616
license-exception-id = <short form license exception identifier in Annex A.2>
1717
18-
license-ref = ["DocumentRef-"1\*(idstring)":"]"LicenseRef-"1*(idstring)
18+
license-ref = ["DocumentRef-"(idstring)":"]"LicenseRef-"(idstring)
1919
2020
simple-expression = license-id / license-id"+" / license-ref
2121
22-
compound-expression = 1*1(simple-expression /
22+
compound-expression = (simple-expression /
2323
2424
2525
simple-expression "WITH" license-exception-id /
@@ -30,7 +30,7 @@ simple-expression "WITH" license-exception-id /
3030
3131
"(" compound-expression ")" )
3232
33-
license-expression = 1*1(simple-expression / compound-expression)
33+
license-expression = (simple-expression / compound-expression)
3434
```
3535

3636
In the following sections we describe in more detail `<license-expression>` construct, a licensing expression string that enables a more accurate representation of the licensing terms of modern-day software.
@@ -91,6 +91,12 @@ For example, when given a choice between the LGPL-2.1-only or MIT licenses, a va
9191
LGPL-2.1-only OR MIT
9292
```
9393

94+
The "OR" operator is commutative, meaning that the above expression should be considered equivalent to:
95+
96+
```text
97+
MIT OR LGPL-2.1-only
98+
```
99+
94100
An example representing a choice between three different licenses would be:
95101

96102
```text
@@ -107,6 +113,12 @@ For example, when one is required to comply with both the LGPL-2.1-only or MIT l
107113
LGPL-2.1-only AND MIT
108114
```
109115

116+
The "AND" operator is commutative, meaning that the above expression should be considered equivalent to:
117+
118+
```text
119+
MIT AND LGPL-2.1-only
120+
```
121+
110122
An example where all three different licenses apply would be:
111123

112124
```text

0 commit comments

Comments
 (0)