HomeSoftware Heritage

Move load-deposit task creation code in the deposit-check private API endpoint

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Move load-deposit task creation code in the deposit-check private API endpoint

Also replace utils.origin_url_from() by a Deposit.origin_url property, and
ensure the archive file format of the uploaded file is supported.

The rename of invalid.tar.gz as invalid.gz is required for tests to pass
which should not be the case. It will be investigated in a later revision,
but for now we want tests to be green.

This requires to make config dict available in SWHPrivateAPIView so we can
have access to a scheduler from there.

Details

Provenance
douarddaAuthored on Dec 16 2019, 12:56 PM
douarddaPushed on Jan 7 2020, 10:24 AM
Differential Revision
D2472: Move load-deposit task creation code in the deposit-check private API endpoint
Build Status
Buildable 9980
Build 14751: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.