HomeSoftware Heritage

swh.indexer.storage: Refactor fossology license get

Description

swh.indexer.storage: Refactor fossology license get

Summary:
The content_fossology_license_get method in IndexerStorage now
returns a list of dictionaries whose keys are id and facts.

The facts key's value is a list of dictionaries. Each dictionary in
this list contains license information found for id by tool FOO.

Related T782

Reviewers: ardumont

Reviewed By: ardumont

Subscribers: ardumont

Maniphest Tasks: T782

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

Details

Provenance
sAuthored on Jun 12 2018, 3:31 PM
ardumontCommitted on Jun 13 2018, 11:15 AM
ardumontPushed on Jun 13 2018, 11:26 AM
Reviewer
ardumont
Differential Revision
D301: swh.indexer.storage: Refactor fossology license get
Parents
rDCIDX6311e37236f3: swh.indexer.storage: Fix typo in invariable name metadata
Branches
Unknown
Tags
Unknown