Files are not deleted whent deleting uploads
This bugs is related to this issue:
When the artifact creation fails the upload is not deleted, which is normal.
But when I clean all the server uploads using API
for u in $(http $PORT/pulp/api/v3/uploads/ | jq -r '.results | ._href'); do
http DELETE $PORT$u
The files are not deleted.
Implement delete method for uploads
The method delete() was redefined in order to prevent an accumulation of an uploaded content which was not associated with an artifact. Before this commit, data were deleted from the database, but not from the local file system.