aboutcode-org / scancode-toolkit

:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
https://aboutcode.org/scancode/
2.13k stars 551 forks source link

Populate package instance attributes from it's files #3862

Open swastkk opened 4 months ago

swastkk commented 4 months ago

Short Description

Currently we do not populate the copyright fields for a package instance from it's key files, yet! . Populating the package attributes correctly from their key files/other files that are a part of the package. These are the attributes that needs to be populated correctly: copyright, holders, other_license_expression, notice_text etc.

Possible Labels

AyanSinhaMahapatra commented 4 months ago

Note that other_license_expression calculation is not from key files, but all package files except key files/except the declared license expression.