feat: add cyclonedx.model.dependency.Dependency.provides - #1036
Open
saquibsaifee wants to merge 1 commit into
Open
feat: add cyclonedx.model.dependency.Dependency.provides#1036saquibsaifee wants to merge 1 commit into
saquibsaifee wants to merge 1 commit into
Conversation
Documentation build overview
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
saquibsaifee
force-pushed
the
feat-uzair-provides-7524676707032308925
branch
from
September 1, 2026 18:06
e606ca5 to
beac7ca
Compare
Fixes CycloneDX#691 - Add `Dependency.provides` property with schema view limited to v1.6+ - Add `Dependency.provides_as_bom_refs()` helper - Fix `BomDependencyGraphFlatMerger._flatten_merge()` to preserve `provides` during JSON serialization pipeline (was silently dropped before) - Add unit tests for `Dependency.provides` in `test_model_dependency` - Add unit test for flat-merger preserving `provides` in `test_bom_utils` - Add snapshot fixture `get_bom_with_provides` across all schema versions; v1.6 and v1.7 JSON snapshots include `provides` array Signed-off-by: saquibsaifee <saquibsaifee2@gmail.com> Co-authored-by: Uzair Chhapra <uzairchhapra@gmail.com>
saquibsaifee
force-pushed
the
feat-uzair-provides-7524676707032308925
branch
from
September 1, 2026 18:12
beac7ca to
9988631
Compare
Contributor
Author
|
@jkowalleck does this look promising? |
saquibsaifee
force-pushed
the
feat-uzair-provides-7524676707032308925
branch
from
September 1, 2026 19:01
9386458 to
9988631
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add support for
cyclonedx.model.dependency.Dependency.provides)field in Dependency, originally implemented in PR #735 by Uzair.Fixes #691
AI Tool Disclosure
Gemini JulesGemini 3.1 ProAffirmation
Co-authored-by: Uzair Chhapra uzairchhapra@gmail.com
Signed-off-by: saquibsaifee saquibsaifee2@gmail.com