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
The header of a file in an older version of pyzmq gets recognized as GPL3, as the word "lesser" in the text gets ignored.
PS: I've got already a fix by adding a new rule, I'm gonna open a PR soon.
How To Reproduce
Tell us how to reproduce the issue.
Create a test file with the following content:
# pyzmq is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# pyzmq is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
Then run e.g. the current version of scan code on the develop branch:
scancode -clpu --only-findings --license-text --verbose --json-pp results.json test.pxd
The results will contain only gpl-3.0-plus, due to gpl-3.0-plus_27.RULE being triggered.
System configuration
What OS are you running on? Same results on Windows and Linux
What version of scancode-toolkit was used to generate the scan file? develop branch
What installation method was used to install/run scancode? source download
The text was updated successfully, but these errors were encountered:
Description
The header of a file in an older version of pyzmq gets recognized as GPL3, as the word "lesser" in the text gets ignored.
PS: I've got already a fix by adding a new rule, I'm gonna open a PR soon.
How To Reproduce
Create a test file with the following content:
# pyzmq is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# pyzmq is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
Then run e.g. the current version of scan code on the develop branch:
scancode -clpu --only-findings --license-text --verbose --json-pp results.json test.pxd
The results will contain only gpl-3.0-plus, due to gpl-3.0-plus_27.RULE being triggered.
System configuration
The text was updated successfully, but these errors were encountered: