Actions
Task #2683
closedhandle working directories in base PulpTask
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Creation and cleanup of `working_dir` should owned by the `PulpTask` class [0]. Creation of a new `working_dir` should occur on `PulpTask.__call__()` and cleanup should occur on `PulpTask.on_success()` and `PulpTask.on_failure()`.
`PulpTask`'s child, `UserFacingTask` will need to be updated to use super() to pick up this functionality.
[0] - https://github.com/pulp/pulp/blob/3.0-dev/tasking/pulp/tasking/tasks.py#L28
Actions