-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ToolRepository serialize migrated tools deduplicated (#686)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
- Loading branch information
1 parent
e00af17
commit 35ccdd1
Showing
36 changed files
with
820 additions
and
515 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
...th_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.0.xml.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" ?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.0" version="1"> | ||
<components/> | ||
</bom> |
4 changes: 4 additions & 0 deletions
4
...th_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.1.xml.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" ?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.1" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
<components/> | ||
</bom> |
31 changes: 31 additions & 0 deletions
31
...h_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.2.json.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"metadata": { | ||
"timestamp": "2023-01-07T13:44:32.312678+00:00", | ||
"tools": [ | ||
{ | ||
"name": "cyclonedx-python-lib", | ||
"vendor": "CycloneDX", | ||
"version": "TESTING" | ||
}, | ||
{ | ||
"name": "other-component", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "other-service", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "test-component" | ||
}, | ||
{ | ||
"name": "test-service" | ||
} | ||
] | ||
}, | ||
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
"version": 1, | ||
"$schema": "http://cyclonedx.org/schema/bom-1.2b.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.2" | ||
} |
27 changes: 27 additions & 0 deletions
27
...th_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.2.xml.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" ?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.2" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
<metadata> | ||
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
<tools> | ||
<tool> | ||
<vendor>CycloneDX</vendor> | ||
<name>cyclonedx-python-lib</name> | ||
<version>TESTING</version> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-component</name> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-service</name> | ||
</tool> | ||
<tool> | ||
<name>test-component</name> | ||
</tool> | ||
<tool> | ||
<name>test-service</name> | ||
</tool> | ||
</tools> | ||
</metadata> | ||
</bom> |
31 changes: 31 additions & 0 deletions
31
...h_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.3.json.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"metadata": { | ||
"timestamp": "2023-01-07T13:44:32.312678+00:00", | ||
"tools": [ | ||
{ | ||
"name": "cyclonedx-python-lib", | ||
"vendor": "CycloneDX", | ||
"version": "TESTING" | ||
}, | ||
{ | ||
"name": "other-component", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "other-service", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "test-component" | ||
}, | ||
{ | ||
"name": "test-service" | ||
} | ||
] | ||
}, | ||
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
"version": 1, | ||
"$schema": "http://cyclonedx.org/schema/bom-1.3a.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.3" | ||
} |
27 changes: 27 additions & 0 deletions
27
...th_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.3.xml.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" ?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.3" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
<metadata> | ||
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
<tools> | ||
<tool> | ||
<vendor>CycloneDX</vendor> | ||
<name>cyclonedx-python-lib</name> | ||
<version>TESTING</version> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-component</name> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-service</name> | ||
</tool> | ||
<tool> | ||
<name>test-component</name> | ||
</tool> | ||
<tool> | ||
<name>test-service</name> | ||
</tool> | ||
</tools> | ||
</metadata> | ||
</bom> |
65 changes: 65 additions & 0 deletions
65
...h_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.4.json.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"metadata": { | ||
"timestamp": "2023-01-07T13:44:32.312678+00:00", | ||
"tools": [ | ||
{ | ||
"externalReferences": [ | ||
{ | ||
"type": "build-system", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions" | ||
}, | ||
{ | ||
"type": "distribution", | ||
"url": "https://pypi.org/project/cyclonedx-python-lib/" | ||
}, | ||
{ | ||
"type": "documentation", | ||
"url": "https://cyclonedx-python-library.readthedocs.io/" | ||
}, | ||
{ | ||
"type": "issue-tracker", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues" | ||
}, | ||
{ | ||
"type": "license", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE" | ||
}, | ||
{ | ||
"type": "release-notes", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md" | ||
}, | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib" | ||
}, | ||
{ | ||
"type": "website", | ||
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme" | ||
} | ||
], | ||
"name": "cyclonedx-python-lib", | ||
"vendor": "CycloneDX", | ||
"version": "TESTING" | ||
}, | ||
{ | ||
"name": "other-component", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "other-service", | ||
"vendor": "acme" | ||
}, | ||
{ | ||
"name": "test-component" | ||
}, | ||
{ | ||
"name": "test-service" | ||
} | ||
] | ||
}, | ||
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
"version": 1, | ||
"$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4" | ||
} |
53 changes: 53 additions & 0 deletions
53
...th_tools_with_component_and_service_and_duplicated_tools_irreversible_migrate-1.4.xml.bin
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" ?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.4" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
<metadata> | ||
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
<tools> | ||
<tool> | ||
<vendor>CycloneDX</vendor> | ||
<name>cyclonedx-python-lib</name> | ||
<version>TESTING</version> | ||
<externalReferences> | ||
<reference type="build-system"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib/actions</url> | ||
</reference> | ||
<reference type="distribution"> | ||
<url>https://pypi.org/project/cyclonedx-python-lib/</url> | ||
</reference> | ||
<reference type="documentation"> | ||
<url>https://cyclonedx-python-library.readthedocs.io/</url> | ||
</reference> | ||
<reference type="issue-tracker"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib/issues</url> | ||
</reference> | ||
<reference type="license"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE</url> | ||
</reference> | ||
<reference type="release-notes"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md</url> | ||
</reference> | ||
<reference type="vcs"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib</url> | ||
</reference> | ||
<reference type="website"> | ||
<url>https://github.com/CycloneDX/cyclonedx-python-lib/#readme</url> | ||
</reference> | ||
</externalReferences> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-component</name> | ||
</tool> | ||
<tool> | ||
<vendor>acme</vendor> | ||
<name>other-service</name> | ||
</tool> | ||
<tool> | ||
<name>test-component</name> | ||
</tool> | ||
<tool> | ||
<name>test-service</name> | ||
</tool> | ||
</tools> | ||
</metadata> | ||
</bom> |
Oops, something went wrong.