feat: add cyclonedx.model.dependency.Dependency.provides - #8
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
@jules, |
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>
beac7ca to
9988631
Compare
9386458 to
9988631
Compare
Add support for
providesfield in Dependency, originally implemented in PR CycloneDX#735 by Uzair.Added snapshot tests to ensure it passes all standard XML/JSON validations across CycloneDX schema versions.
PR created automatically by Jules for task 7524676707032308925 started by @saquibsaifee