Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tdruez
Copy link
Contributor

@tdruez tdruez commented Jun 25, 2024

This implementation is similar to the way a copyright is "inferred" using the holder data from the Scan during the "update_from_scan" process when the Dataspace "Update packages automatically from scan" feature is enabled.

If a notice_text is not available directly on the "DETECTED PACKAGE" data returned in the Scan results, the key files content is used to generated content for the notice_text.
Only the key files with "notice" (case is ignored) in their filename are included.
In case of multiple "notice" key files, their content is combined before being assigned to the Package.notice_text

@DennisClark
Copy link
Member

@tdruez All my tests in staging were successful.

@tdruez tdruez merged commit 4651e25 into main Jun 26, 2024
@tdruez tdruez deleted the 136-notice-text-from-key-files branch June 26, 2024 06:21
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.

2 participants