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.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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.

Commit No Longer Exists

This commit no longer exists in the repository.