HomeSoftware Heritage

swh.storage: Improve license endpoint's unknown license policy
0cf935e89863Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

swh.storage: Improve license endpoint's unknown license policy

Prior to this commit, the content_fossology_license_add endpoint was
not symmetric with other endpoints since it returned the list of
licenses it was unable to deal with. Now, it simply adds those unknown
licenses in the fossology_license table. And it no longer returns
anything (as other endpoints).

Related T721

Details

Provenance
ardumontAuthored on Jun 6 2017, 2:24 PM
vlorentzPushed on May 17 2019, 1:53 PM
Parents
rDSTOCf681f83cdd84: swh.storage.archiver: Fix tests
Branches
Unknown
Tags
Unknown