HomeSoftware Heritage

swh.web.common.service: Update lookup_content_license.
4ebf429daa49Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

swh.web.common.service: Update lookup_content_license.

Summary:
Modify lookup_content_license to accomodate change in the return value
of IndexerStorage's content_fossology_license_get method (See D301).

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

Reviewers: ardumont, Reviewers

Reviewed By: ardumont, Reviewers

Maniphest Tasks: T782

Differential Revision: https://forge.softwareheritage.org/D302

Details

Provenance
sAuthored on Jun 13 2018, 11:41 AM
anlambertCommitted on Jun 13 2018, 11:41 AM
ardumontPushed on Jun 21 2018, 1:29 PM
Reviewer
Reviewers
Differential Revision
D302: swh.web.common.service: Update lookup_content_license.
Parents
R65:e9d683d78ed2: browse: Add missing release id in permalinks interface
Branches
Unknown
Tags
Unknown