For license provenance purposes it often is enough to prove that at least one file under a specific license is present. In order to make the result set smaller and easier to review, how about adding an option to only keep the first occurrence of a license of a kind?
For example, if file A is GPL, and file also B is GPL, only report file A.
In other cases, I'm not yet entirely sure how the feature should work: If file A has both BSD and Apache-2.0, file B has only BSD, and file C has only Apache-2.0, would you only report file A as that's sufficient to cover the list of different licenses, or should you report B and C to clarify the licenses might appear in different files, or report all three files in this case?
For license provenance purposes it often is enough to prove that at least one file under a specific license is present. In order to make the result set smaller and easier to review, how about adding an option to only keep the first occurrence of a license of a kind?
For example, if file
Ais GPL, and file alsoBis GPL, only report fileA.In other cases, I'm not yet entirely sure how the feature should work: If file
Ahas both BSD and Apache-2.0, fileBhas only BSD, and fileChas only Apache-2.0, would you only report fileAas that's sufficient to cover the list of different licenses, or should you reportBandCto clarify the licenses might appear in different files, or report all three files in this case?