Skip to content

during pyside6-essentials scan, scancode does not detect LGPL/GPL licenses in files #2936

Description

@yahym

Description

Please leave a brief description of the bug or feature request:

During pyside6-essentials scan, scancode does not detect LGPL/GPL licenses in files:
Question: Are the LGPL/GPL used in this package not standardized or why are these licenses not detected?

How To Reproduce

Tell us how to reproduce the issue.

rem get PySide6-Essentials from https://files.pythonhosted.org/packages/55/e0/ccbf260a6545460d1da255810320d4f0cc8aee7fe4127eec07cfa6297228/PySide6_Essentials-6.3.0-cp36-abi3-win_amd64.whl

set "suffix=PySide6_essentials"
set "folder=PySide6"
set "file_name=%suffix%"

call scancode.exe ^
    -lcp ^
    -n 5 ^
    --csv %file_name%.csv ^
    --html %file_name%.html ^
    --json %file_name%.json ^
    --license-text ^
    --unknown-licenses ^
    --only-findings ^
    --consolidate ^
    --filter-clues ^
    --is-license-text ^
    --info ^
    --license-text ^
    --license-text-diagnostics ^
    --license-clarity-score ^
    --summary ^
    --classify ^
    --full-root ^
     %folder%

System configuration

For bug reports, it really helps us to know:

  • What OS are you running on? (Windows/MacOS/Linux): Windows 10 19042
  • What version of scancode-toolkit was used to generate the scan file?: 30.1.0
  • What installation method was used to install/run scancode? (pip/source download/other):

Example:
From file d:\PySide6_Essentials-6.3.0-cp36-abi3-win_amd64\PySide6\qml\QtQuick\Controls\Universal\MenuSeparator.qml

/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or (at your option) the GNU General
** Public license version 3 or any later version approved by the KDE Free
** Qt Foundation. The licenses are as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
** https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

Result (a kind of LGPLv3 and GPLv3 or later license were also expected):
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions