Orphan cleanup doesn't properly cleanup content with subrepos
Open
Nobody has claimed this yet.
Issue
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
Version
pulpcore 3.33+
Describe the bug
Orphan cleanup no longer cleans up the sub-content found in content with subrepos since: https://github.com/pulp/pulpcore/pull/4295
To Reproduce
Do an RPM kickstart fixture sync, delete the repository and perform orphan cleanup.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with an RPM kickstart fixture sync, repository deletion, and orphan cleanup. Compare the current behavior with the changes in pull request #4295, then trace how orphan cleanup handles content with subrepos. Done means the sub-content is removed after the repository is deleted and orphan cleanup runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100