Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] add a django cleanup command #170

Closed
5 tasks done
yomguy opened this issue Mar 31, 2020 · 1 comment
Closed
5 tasks done

[server] add a django cleanup command #170

yomguy opened this issue Mar 31, 2020 · 1 comment
Assignees
Projects
Milestone

Comments

@yomguy
Copy link
Owner

yomguy commented Mar 31, 2020

This command should remove:

  • any singleton Selection
  • any result without file
  • any result file without result pointing to it

Also advisable:

  • a result.pre_delete signal that runs os.remove on any hdf5 or audio file
  • define a workflow to remove a result (a waveform for example)
@yomguy yomguy created this issue from a note in WASABI (New) Mar 31, 2020
@Tointoin Tointoin self-assigned this Mar 31, 2020
@Tointoin Tointoin changed the title [server] add a django cleanup command to remove any duplicated Selection singleton [server] add a django cleanup command Apr 5, 2020
Tointoin added a commit that referenced this issue Apr 8, 2020
Tointoin added a commit that referenced this issue Apr 8, 2020
@Tointoin Tointoin added this to the 1.0 milestone Apr 10, 2020
@Tointoin Tointoin moved this from New to In Progress in WASABI Apr 10, 2020
@Tointoin
Copy link
Collaborator

* [x]  a result.pre_delete signal that runs `os.remove` on any hdf5 or audio file

There is a bug on sandbox instance @yomguy after dealing with result.pre_delete.

I explained it on issue 180

@Tointoin Tointoin closed this as completed May 5, 2020
WASABI automation moved this from In Progress to Done May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
WASABI
  
Done
Development

No branches or pull requests

2 participants