Actions
Story #2396
closedAs a user, I can remove orphaned content and related artifacts by content type
Status:
CLOSED - DUPLICATE
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
Ticket moved to GitHub: "pulp/pulpcore/1813":https://github.com/pulp/pulpcore/issues/1813
Motivation¶
With upcoming content migration from Pulp 2 (which can be done by content type), it becomes important to have control which orphans to delete and avoid removing content which was recently migrated but hasn't been added to any repository yet.
Suggestion¶
Add type
parameter to the orphan cleanup endpoint to filter what to delete:
$ http DELETE /pulp/api/v3/orphans/ type=file
Only artifacts related to the specified content type should be removed.
Related issues
Actions