Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104126

Let qtattributionsscanner get licenses from LICENSES directory

XMLWordPrintable

    • c49c1b7a93 (qt/qttools/dev) c49c1b7a93 (qt/tqtc-qttools/dev) 3afc776ead (qt/qttools/6.4) 3afc776ead (qt/tqtc-qttools/6.4)

      Now that Qt sources ship explicit licenses in LICENSES/*.txt, qtattributionsscanner could use these licenses instead of an explicit "LIcenseFile" entry too. This would allow us to avoid multiple literal copies of say the GPL.

      Implementation proposal

      If a qt_attributions.json entry misses LicenseFile or LicenseFiles information, qtattributionsscanner walks up the hierarchy for a directory called LICENSES. If it finds one, it checks whether there are files matching all existing entries in the LicenseId entry. If it finds all licenses listed there, it uses the files from there.

      In case only some or no licenses are found, an error is printed.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbornema Joerg Bornemann
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: