Skip to content

Conversation

@elomagic
Copy link
Contributor

@elomagic elomagic commented Jun 6, 2024

No description provided.

Copy link
Member

@martinleim martinleim left a comment

Choose a reason for hiding this comment

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

I am not fully through, but I think we should discuss the overall approach of the patch process.

@elomagic elomagic marked this pull request as draft July 11, 2024 14:30
@elomagic elomagic requested a review from martinleim July 11, 2024 14:30
Copy link
Member

@martinleim martinleim left a comment

Choose a reason for hiding this comment

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

Hi @elomagic, summary of our discussion:
Patcher will be reworked so that it

  1. Read components from BOM
  2. Compares each component against the configured meta data. If there is a match, check if has licenses configured and replace the licenses from BOM wth those from the configured meta data
  3. Normalize license name against those configured in license mapping data
  4. Use license IDs and URL from configured license data
  5. Patch BOM by overwriting the licenses of each component with the licenses obtained from the previous steps.

@elomagic elomagic requested a review from martinleim August 1, 2024 09:09
@elomagic elomagic requested a review from martinleim August 12, 2024 08:30
# Conflicts:
#	cli/src/main/java/de/medavis/lct/cli/Main.java
#	core/src/main/java/de/medavis/lct/core/asset/AssetLoader.java
#	core/src/main/java/de/medavis/lct/core/metadata/ComponentMetadata.java
#	core/src/test/java/de/medavis/lct/core/asset/AssetLoaderTest.java
#	doc/GlobalConfiguration.png
#	jenkins/src/main/java/de/medavis/lct/jenkins/config/ManifestGlobalConfiguration.java
#	jenkins/src/main/resources/de/medavis/lct/jenkins/config/ManifestGlobalConfiguration/config.jelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants