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

feat!: BomRef affect equality/comparisson #754

Merged
merged 13 commits into from
Feb 12, 2025

Conversation

jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Jan 17, 2025

For some this is considered a bug-fix, for others this is a feature - it is a breaking change anyway since it modifies the order of things.


TODO:


Important

depends on #755

supersedes #678
closes #678

fixes #753
fixes #540
fixes #677

wkoot and others added 3 commits September 19, 2024 13:54
Fixes #540

Signed-off-by: wkoot <3715211+wkoot@users.noreply.github.com>
Addresses #677

Signed-off-by: wkoot <3715211+wkoot@users.noreply.github.com>
@jkowalleck jkowalleck added enhancement New feature or request breaking change labels Jan 17, 2025
@jkowalleck jkowalleck requested a review from a team as a code owner January 17, 2025 10:52
@jkowalleck jkowalleck marked this pull request as draft January 17, 2025 10:52
@jkowalleck jkowalleck changed the title feat!: BomRef affect equality/comparisson [WIP] feat!: BomRef affect equality/comparisson Jan 17, 2025
Copy link

codacy-production bot commented Jan 17, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.08% (target: 80.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (6350438) 5170 4842 93.66%
Head commit (3780e91) 5170 (+0) 4838 (-4) 93.58% (-0.08%)

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 (#754) 0 0 ∅ (not applicable)

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

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

@jkowalleck jkowalleck force-pushed the feat/BomRef-affects-comparissons-equality branch from f6b39f1 to 4778a11 Compare January 17, 2025 12:37
@jkowalleck jkowalleck added this to the 9.0.0 milestone Jan 17, 2025
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck changed the title [WIP] feat!: BomRef affect equality/comparisson feat!: BomRef affect equality/comparisson Feb 12, 2025
@jkowalleck jkowalleck marked this pull request as ready for review February 12, 2025 12:19
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck merged commit 46bc3f5 into 9.0.0-dev Feb 12, 2025
48 checks passed
@jkowalleck jkowalleck deleted the feat/BomRef-affects-comparissons-equality branch February 12, 2025 12:37
@jkowalleck jkowalleck mentioned this pull request Feb 12, 2025
@jkowalleck
Copy link
Member Author

A preview of the fix/feature is available via https://github.com/CycloneDX/cyclonedx-python-lib/releases/tag/v9.0.1-rc.1

jkowalleck added a commit that referenced this pull request Feb 26, 2025
### BREAKING Changes

* Fix: `model.vulnerability.VulnerabilityReference`'s properties are all
mandatory
([#790](#790)
via [#792](#792))
* Refactor: Rename `spdx.is_compund_expression` -> `spdx.is_expression`
([#779](#779))
* Behavior: `BomRef` affects comparison/hashing
([#754](#754) &
[#780](#780))
  This is only a breaking change if you relied on ordering of elements.
* Behavior: streamline comparison/hashing functions
([#755](#755))
  This is only a breaking change if you relied on ordering of elements.
* Dependency: bump dependency `py-serializable >=2 <3`, was `>=1.1.1 <2`
([#775](#775))
This is only a breaking change if you have other packages depend on that
specific version.

---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: wkoot <3715211+wkoot@users.noreply.github.com>
Signed-off-by: semantic-release <semantic-release@bot.local>
Co-authored-by: wkoot <3715211+wkoot@users.noreply.github.com>
Co-authored-by: semantic-release <semantic-release@bot.local>
@jkowalleck
Copy link
Member Author

was released via https://github.com/CycloneDX/cyclonedx-python-lib/releases/tag/v9.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
2 participants