Skip to content

Commit 631e400

Browse files
authored
Merge pull request #148 from CycloneDX/feat/add-bom-services
2 parents 9e80258 + 9a32351 commit 631e400

File tree

119 files changed

+9279
-1964
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+9279
-1964
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
[![shield_gh-workflow-test]][link_gh-workflow-test]
44
[![shield_pypi-version]][link_pypi]
55
[![shield_conda-forge-version]][link_conda-forge]
6-
[![shield_license]][license_file]
6+
[![shiled_rtd]][link_rtd]
7+
[![shield_license]][license_file]
78
[![shield_website]][link_website]
89
[![shield_slack]][link_slack]
910
[![shield_groups]][link_discussion]
@@ -55,6 +56,7 @@ See the [LICENSE][license_file] file for the full license.
5556
[shield_gh-workflow-test]: https://img.shields.io/github/workflow/status/CycloneDX/cyclonedx-python-lib/Python%20CI/main?logo=GitHub&logoColor=white "build"
5657
[shield_pypi-version]: https://img.shields.io/pypi/v/cyclonedx-python-lib?logo=pypi&logoColor=white&label=PyPI "PyPI"
5758
[shield_conda-forge-version]: https://img.shields.io/conda/vn/conda-forge/cyclonedx-python-lib?logo=anaconda&logoColor=white&label=conda-forge "conda-forge"
59+
[shiled_rtd]: https://readthedocs.org/projects/cyclonedx-python-library/badge/?version=latest "Read the Docs"
5860
[shield_license]: https://img.shields.io/github/license/CycloneDX/cyclonedx-python-lib "license"
5961
[shield_website]: https://img.shields.io/badge/https://-cyclonedx.org-blue.svg "homepage"
6062
[shield_slack]: https://img.shields.io/badge/slack-join-blue?logo=Slack&logoColor=white "slack join"
@@ -63,6 +65,7 @@ See the [LICENSE][license_file] file for the full license.
6365
[link_gh-workflow-test]: https://github.com/CycloneDX/cyclonedx-python-lib/actions/workflows/poetry.yml?query=branch%3Amain
6466
[link_pypi]: https://pypi.org/project/cyclonedx-python-lib/
6567
[link_conda-forge]: https://anaconda.org/conda-forge/cyclonedx-python-lib
68+
[link_rtd]: https://cyclonedx-python-library.readthedocs.io/en/latest/?badge=latest
6669
[link_website]: https://cyclonedx.org/
6770
[link_slack]: https://cyclonedx.org/slack/invite
6871
[link_discussion]: https://groups.io/g/CycloneDX

cyclonedx/exception/output.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
from . import CycloneDxException
2323

2424

25-
class ComponentVersionRequiredException(CycloneDxException):
25+
class FormatNotSupportedException(CycloneDxException):
2626
"""
27-
Exception raised when attempting to output to an SBOM version that mandates a Component has a version,
28-
but one is not available/present.
27+
Exception raised when attempting to output a BOM to a format not supported in the requested version.
28+
29+
For example, JSON is not supported prior to 1.2.
2930
"""
3031
pass

0 commit comments

Comments
 (0)