#254 closed defect (fixed)
Directories in queue are not deleted automatically — at Version 5
Reported by: | Aleksej | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | programming | Keywords: | cloudfiles, bitesized |
Cc: | joar | Parent Tickets: |
Description (last modified by )
There are empty directories left in user\_dev/media/queue/media\_entries/ after files are uploaded.
Change History (5)
comment:3 by , 12 years ago
I have now a branch that fixes this issue. It is in my branch '565+254_delete_queue_directory' (on top of my branch for #565 but this can be applied independent of that one too).
It does 2 things:
1) Implement deletion of empty directories as well as regular files in the FileStorage backend
2) Delete the {task_id} directory that is being created for each submission and never cleaned up (hence this bug report). It explicitely deletes the uploaded file and the containing directory if its empty and will fail to recursively delete anything else (e.g. if by bad lack we happen to store our queued files in "/")
comment:4 by , 12 years ago
Keywords: | review added |
---|---|
Milestone: | → 0.3.3 |
I just updated this branch to latest master. It is still on top of the branch for #565. but would be pretty easy to disentangle. Please review and merge :-)
comment:5 by , 12 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Ah yeah that's fixed now!
Thanks! :)