Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25776

Fix generate-licenses.py parsing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3-SNAPSHOT
    • Fix Version/s: 10.3
    • Component/s: Dev Tools

      Description

      The generate-licenses.py script is raising a warning on two io.confluent:kafka-* artifacts and crashes on com.googlecode.juniversalchardet:juniversalchardet

      + ./scripts/generate-licenses.py
      ('XXX unknown', 'io.confluent:kafka-schema-registry-client')
      ('XXX unknown', 'io.confluent:kafka-avro-serializer')
      Traceback (most recent call last):
        File "./scripts/generate-licenses.py", line 224, in <module>
          main()
        File "./scripts/generate-licenses.py", line 221, in main
          dump(licenses, versions, descriptions, gas, whitelist)
        File "./scripts/generate-licenses.py", line 195, in dump
          blacks.append(format_line(ga, licenses, versions, descriptions))
        File "./scripts/generate-licenses.py", line 206, in format_line
          galist = licences[ga]
      KeyError: 'com.googlecode.juniversalchardet:juniversalchardet'
      Build step 'Execute shell' marked build as failure
      
      |  |  |  \- org.nuxeo.lib.stream:nuxeo-stream:jar:10.3-SNAPSHOT:compile
      |  |  |     |- (...)
      |  |  |     +- io.confluent:kafka-avro-serializer:jar:5.0.0:compile
      |  |  |     \- io.confluent:kafka-schema-registry-client:jar:5.0.0:compile
      
      +- com.github.librepdf:openpdf:jar:1.2.0:compile
      |  +- com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3:compile
      

      TODO:

      Optionally related tickets: NXP-25546, NXP-25654 (update accordingly after analysis)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: