Project

Profile

Help

Story #3542

closed

As a plugin writer, I can create a task that waits until there are no reservations

Added by daviddavis over 6 years ago. Updated about 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

For orphan cleanup, we had to write a task that waits until there's no other reservations and then we execute it. We'd like to make this functionality more generic so that plugin writers can leverage it. Also, using the task's name to see if it's a zero reservation task is brittle.

Currently, we just hardcode the task name to see if it needs no reservations (see the design in #3442).

We need to come up with how the data model looks, the decorators for declaring these tasks, etc.


Related issues

Related to Pulp - Story #3442: As a user, I can clean up both orphaned content units and orphaned artifactsCLOSED - CURRENTRELEASEdaviddavis

Actions

Also available in: Atom PDF