-
Notifications
You must be signed in to change notification settings - Fork 317
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
ScanResult: Add a list of all files with checksum and directories #5681
Comments
Some remarks from my side:
|
This aligns with the ScanCode result parser code. As noted in ece788a, strictly speaking passing `SpdxConstants.NONE` as the package verification code in not supported by the SPDX specification, but still doing so has clearer semantics than passing an empty string. Moreover, the package verification code will eventually anyway be removed in the context of [1]. [1]: #5681 Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
This aligns with the ScanCode result parser code. As noted in ece788a, strictly speaking passing `SpdxConstants.NONE` as the package verification code in not supported by the SPDX specification, but still doing so has clearer semantics than passing an empty string. Moreover, the package verification code will eventually anyway be removed in the context of [1]. [1]: #5681 Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
We've discussed my proposal with the core devs, here's the proposed changed to the OrtResult model, Planned changes in ORT result modelThe following things I believe are somewhat on the agenda and will impact
Current data structure
Target data structure
some conclusions around above data structure:
|
FYI @mmurto, this is what would also enable "delta-scans" with ScanCode of only the modified files. |
Implementation will be covered by this epic: #6945 |
As the epic was just closed, can this be closed now, too? |
Closing as done, as now all files are listed for all provenances in |
A complete list of all file and directory names in the repository along with the checksum can be valueable for various use cases.
For example:
Moreover, the serialized scan result is redundant in terms of the file path. Each file path can be listed zero to multiple times, as it is listed once per license and copyright finding. That redundancy can be removed by changing the way license and copyright findings are serialized.
Goal:
A scan result should:
The text was updated successfully, but these errors were encountered: