Skip to content

Commit b200026

Browse files
[issue-426] update model: relationship types
to a5372a3c145dbdfc1381fc1f791c68889aafc7ff Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
1 parent d1e08eb commit b200026

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ additional installation of optional dependencies
5050
* Serialize to JSON-LD
5151

5252
See [Quickstart to SPDX 3.0](#quickstart-to-spdx-30) below.
53-
The implementation is based on the descriptive markdown files in the repository https://github.com/spdx/spdx-3-model (latest commit: 6607944c0d23488db607b8f56ad83c0b4fc3f264).
53+
The implementation is based on the descriptive markdown files in the repository https://github.com/spdx/spdx-3-model (latest commit: a5372a3c145dbdfc1381fc1f791c68889aafc7ff).
5454

5555

5656
# Installation

src/spdx_tools/spdx3/model/relationship.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,11 @@ class RelationshipType(Enum):
1717
AMENDS = auto()
1818
ANCESTOR = auto()
1919
AVAILABLE_FROM = auto()
20-
BUILD_CONFIG_OF = auto()
2120
BUILD_DEPENDENCY = auto()
22-
BUILD_HOST_OF = auto()
23-
BUILD_INPUT_OF = auto()
24-
BUILD_INVOKED_BY = auto()
25-
BUILD_ON_BEHALF_OF = auto()
26-
BUILD_OUTPUT_OF = auto()
2721
BUILD_TOOL = auto()
28-
CONTAINS = auto()
2922
COORDINATED_BY = auto()
23+
CONTAINS = auto()
24+
CONFIG_OF = auto()
3025
COPY = auto()
3126
DATA_FILE = auto()
3227
DEPENDENCY_MANIFEST = auto()
@@ -39,8 +34,8 @@ class RelationshipType(Enum):
3934
DOCUMENTATION = auto()
4035
DOES_NOT_AFFECT = auto()
4136
DYNAMIC_LINK = auto()
42-
EVIDENCE_FOR = auto()
4337
EXAMPLE = auto()
38+
EVIDENCE_FOR = auto()
4439
EXPANDED_FROM_ARCHIVE = auto()
4540
EXPLOIT_CREATED_BY = auto()
4641
FILE_ADDED = auto()
@@ -52,10 +47,15 @@ class RelationshipType(Enum):
5247
GENERATES = auto()
5348
HAS_ASSESSMENT_FOR = auto()
5449
HAS_ASSOCIATED_VULNERABILITY = auto()
50+
HOST_OF = auto()
51+
INPUT_OF = auto()
52+
INVOKED_BY = auto()
5553
METAFILE = auto()
54+
ON_BEHALF_OF = auto()
5655
OPTIONAL_COMPONENT = auto()
5756
OPTIONAL_DEPENDENCY = auto()
5857
OTHER = auto()
58+
OUTPUT_OF = auto()
5959
PACKAGES = auto()
6060
PATCH = auto()
6161
PREREQUISITE = auto()
@@ -68,10 +68,10 @@ class RelationshipType(Enum):
6868
SPECIFICATION_FOR = auto()
6969
STATIC_LINK = auto()
7070
TEST = auto()
71-
TESTED_ON = auto()
7271
TEST_CASE = auto()
7372
TEST_DEPENDENCY = auto()
7473
TEST_TOOL = auto()
74+
TESTED_ON = auto()
7575
TRAINED_ON = auto()
7676
UNDER_INVESTIGATION_FOR = auto()
7777
VARIANT = auto()

0 commit comments

Comments
 (0)