-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
Multiple values for copyright holders #182
Comments
This is definitely a flaw... though I am not we can guarantee that there will be a one to one relationship between a copyright statement and the number of holders. For instance: That said we should not return dupes nor holders contained in holders which is a bug and a side effect IMHO of how the parse tree is walked there: https://github.com/nexB/scancode-toolkit/blob/01bce665468c198e0eaadf1805b82629fb2a5554/src/cluecode/copyrights.py#L706 |
@pombredanne I had a discussion with @mjherzog regarding the holders. What are your thoughts on instead of returning the 3 separate holders |
@jdaguil splitting |
@jdaguil note that this last topic is a completely different topic that the subject of this bug here which is a duplication bug. |
@pombredanne yes, let me open a different issue for the previous comment discussion |
This has also been reported by @jeffmcaffer |
NB: this is a breaking API change * Each has their own list of items returned for #255 * for now holders are no longer expanded (e.g. this reverts the #182 implementation available before). This will be reintriduced later as a CLI option as it is not possible to get great results for now * the summary has been improved for #1043 and provides a much better holder summary. More refinements needed * Some spurrious bare SPDX id have been removed to avoid FP #1114 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This has been fixed in the latest release and I think this is good enough now.
and
The other part has been tracked and fixed too in #186 |
In some cases more than one holder is detected when only one copyright statement is detected. For example, when running scancode on the samples scancode directory the following is detected in samples/zlib/deflate.c although there is only one copyright statement detected:
Another example is in samples/JGroups/licenses/bouncycastle.txt:
The text was updated successfully, but these errors were encountered: