Skip to content

swh.web.common.service: Update lookup_content_license.

Modify lookup_content_license to accomodate change in the return value of IndexerStorage's content_fossology_license_get method (See swh-indexer!414 (closed)).

Now, lookup_content_license function returns a dictionary with the following keys:

      - id: sha1 hash
      - facts: list of dictionaries containing license information
        reported by one or more tools.

Related T782


Migrated from D302 (view on Phabricator)

Merge request reports