You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on adding a few more licenses, I stumbled across the BSD Zero Clause License, which raises some problems for the current implementation of license checking. This is the license I am talking about (from choosealicense.com):
Copyright (c) [year] [fullname]
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
The current implementation of licenses detection is by comparing the text with the start of the file, which here raises a problem. The problem with this is that the start of the license changes for every project, meaning that there is no start to check with that we call boil into the code. A possible solution for this would be, instead of checking for the start of the file, check if the file contains part of the license.
The text was updated successfully, but these errors were encountered:
Add 4 new licenses, by SPDX identifier: Abstyles, Adobe-2006,
Adobe-Glyph and ADSL.
With both the Abstyles and Adobe-Glyph, the SPDX site showed them as
written in the code, but in the fedora project wiki site linked in
SPDX's, they start with '%' and '#' respectively.
The ADSL license is not completely identified until the very end of the
license, providing a mostly generic text at the beginning (The-Noah#39).
Other than the dynamic start, I have come across other licenses that are not easily identified until you actually reach the end of the license, and I am not sure if their start is unique or if I may find that start on another one later on (that's the case for the ADSL).
While working on adding a few more licenses, I stumbled across the BSD Zero Clause License, which raises some problems for the current implementation of license checking. This is the license I am talking about (from choosealicense.com):
The current implementation of licenses detection is by comparing the text with the start of the file, which here raises a problem. The problem with this is that the start of the license changes for every project, meaning that there is no start to check with that we call boil into the code. A possible solution for this would be, instead of checking for the start of the file, check if the file contains part of the license.
The text was updated successfully, but these errors were encountered: