Skip to content

feat: collect evidences for license#1309

Merged
jkowalleck merged 28 commits intoCycloneDX:masterfrom
Frozen-byte:master
Oct 7, 2024
Merged

feat: collect evidences for license#1309
jkowalleck merged 28 commits intoCycloneDX:masterfrom
Frozen-byte:master

Conversation

@Frozen-byte
Copy link
Contributor

@Frozen-byte Frozen-byte commented Oct 2, 2024

fixes #676

… notices

Refs: CycloneDX#676
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
@Frozen-byte Frozen-byte requested a review from a team as a code owner October 2, 2024 22:55
…ence`

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…ct passed down as an argument

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
@jkowalleck jkowalleck added the enhancement New feature or request label Oct 3, 2024
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…t used once

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…s scope

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
… file

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…apshot

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Copy link
Member

@jkowalleck jkowalleck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for tests, do not enable the new feature in all tests beds.
instead, create a new test bed dedicated to the feature, and enable the feature there.

@jkowalleck jkowalleck changed the title feat(EvidenceCollection): collect evidences for licence and copyright notices feat: collect evidences for license Oct 5, 2024
@Frozen-byte
Copy link
Contributor Author

for tests, do not enable the new feature in all tests beds. instead, create a new test bed dedicated to the feature, and enable the feature there.

I copied the folder from exampleWebpack5Angular17 to feature-issue676.
After that, I updated it to angular18 and enabled the evidence option and ran the tests with updating the snapshot.

This error worries me when I execute setup-test:
➤ YN0002: │ @cyclonedx-webpack-plugin-tests/regression-issue1284-yarn@workspace:. Doesn't provide @popperjs/core (pb1d91), requested by bootstrap.
I do not think it is caused by these changes and might be a local problem?
Haven't investigated further, but just FYI.

@Frozen-byte
Copy link
Contributor Author

Frozen-byte commented Oct 7, 2024

In addition, my revert commit 3fdd595fe4e9469e8083bcbc888b0084488c455b was not signed off somehow.

Should I leave it? Or renaming this commit one and force pushing a new history? Or will this break things even further?

@jkowalleck
Copy link
Member

jkowalleck commented Oct 7, 2024

In addition, my revert commit 3fdd595fe4e9469e8083bcbc888b0084488c455b was not signed off somehow.

Should I leave it? Or renaming this commit one and force pushing a new history? Or will this break things even further?

We need every commit signed-off. Here are instructions how this can be done via rebase/force-push:
https://github.com/CycloneDX/cyclonedx-webpack-plugin/pull/1309/checks?check_run_id=31165850595

Since you are the only person working on this branch, i don't see any risks. Go ahead :D

…pdate snapshot"

This reverts commit 9b7b253.

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…nce feature got moved

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
…tion test

Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
@jkowalleck
Copy link
Member

for tests, do not enable the new feature in all tests beds. instead, create a new test bed dedicated to the feature, and enable the feature there.

I copied the folder from exampleWebpack5Angular17 to feature-issue676. After that, I updated it to angular18 and enabled the evidence option and ran the tests with updating the snapshot.

This error worries me when I execute setup-test: ➤ YN0002: │ @cyclonedx-webpack-plugin-tests/regression-issue1284-yarn@workspace:. Doesn't provide @popperjs/core (pb1d91), requested by bootstrap. I do not think it is caused by these changes and might be a local problem? Haven't investigated further, but just FYI.

Either yarn takes care of the missing (peer)dependency, or we just dont care.
Anyway, this is probably no show stopper.

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Frozen-byte and others added 4 commits October 7, 2024 18:23
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: frozen_byte <frozen_byte@gmx.de>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck
Copy link
Member

jkowalleck commented Oct 7, 2024

@Frozen-byte thank you for the contribution. 🚀

I will merge it, and might add some small polishing.

PS: polishing via #1312

@jkowalleck jkowalleck merged commit 77df409 into CycloneDX:master Oct 7, 2024
jkowalleck added a commit that referenced this pull request Oct 8, 2024
followup of #1309

- fixed some false-positives for license evidences.
- refactored some functionality, so that it is much easier to add #1310
later

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
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.

FEAT: Option to add license text to BOM output

2 participants