Project

Profile

Help

Story #8658

As a user I want to purge individual orphan or list of orphans

Added by ipanova@redhat.com 13 days ago. Updated 7 days ago.

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

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
GalaxyNG
Sprint:
Quarter:

Description

http POST :24817/pulp/api/v3/orphans/ content_hrefs:= []

Enable a POST call to the orphans endpoint that would accept a list of content_hrefs to purge.

  1. A task will be triggered and will call into orphan_cleanup(). Instead of looking for all of the orphaned content across pulp , it would just instead work with the list if hrefs provided( in case the list of content_hrefs was provided).
  2. The timestamp_of_interest on the content will be honored and if there was specified a Content unit that is not an orphan - it will be ignored.
  3. Only content that has version_memberships__isnull=True will be purged.

History

#1 Updated by ipanova@redhat.com 13 days ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com 13 days ago

  • Description updated (diff)

#3 Updated by ipanova@redhat.com 12 days ago

  • Tracker changed from Issue to Story
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

#4 Updated by daviddavis 8 days ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

Grooming per our pulpcore team meeting today.

#5 Updated by bmbouter 8 days ago

Maybe a silly question, but why wouldn't a user want all orphans removed?

#6 Updated by ipanova@redhat.com 8 days ago

bmbouter wrote:

Maybe a silly question, but why wouldn't a user want all orphans removed?

In case a user has installed more than one plugin and he wants to remove one specific rpm package( for example), all other content types, including the ones from the other plugins would be cleaned up as well. This outcome might be undesirable.

#7 Updated by ipanova@redhat.com 7 days ago

  • Tags GalaxyNG added

Please register to edit this issue

Also available in: Atom PDF