Backport #9146 "sync of file:// repos tries to move files from /var/lib/pulp/sync_imports/" to 3.14.z
Added by dalley about 1 year ago
Move files to artifact storage from WORKING_DIRECTORY.
Copy files from all other sources. Since users are able to change the WORKING_DIRECTORY settings, this patch also ensures that we check that the WORKING_DIRECTORY and MEDIA_ROOT are on the same device. Django's FILE_UPLOAD_TEMP_DIR is now set to the value of WORKING_DIRECTORY.
(cherry picked from commit c828ca5947f55e655e4020c55d92fc7b7ee01083)