Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOM string creation improvements #459

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Conversation

sschuberth
Copy link
Contributor

Please have a look at the individual commit messages for the details.

@sschuberth sschuberth requested a review from a team as a code owner July 15, 2024 12:02
Copy link

codacy-production bot commented Jul 15, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.02% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (78d667e) 5952 4348 73.05%
Head commit (36f8190) 5950 (-2) 4348 (+0) 73.08% (+0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#459) 1 1 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences


🚀 Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@nscuro nscuro added the enhancement New feature or request label Jul 15, 2024
@nscuro
Copy link
Member

nscuro commented Jul 15, 2024

LGTM. @sschuberth Can you resolve the merge conflict?

This is documentation for `toString()`, not for `toXmlString()`.

Signed-off-by: Sebastian Schuberth <[email protected]>
Align JSON and XML functions to both throw to allow users to catch
issues during string creations, as `toString()` swallows any exceptions
silently.

Signed-off-by: Sebastian Schuberth <[email protected]>
This aligns with `BomXmlGenerator`.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth
Copy link
Contributor Author

LGTM. @sschuberth Can you resolve the merge conflict?

Done @nscuro.

@nscuro nscuro merged commit 37f4cff into CycloneDX:master Jul 15, 2024
9 checks passed
@sschuberth sschuberth deleted the bom-str-fixes branch July 15, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants