Ensure recursive add and remove is not impacted by values_list()
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31
- Forks
- 56
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 22
Description
Author: @ipanova (ipanova@redhat.com)
Redmine Issue: 5823, https://pulp.plan.io/issues/5823
Django docs calls out that values_list() should not be used for many-to-many relationships, because the qs might give inaccurate results.
Look into recursive add and remove code and ensure our results are not influnced by usage of values_list()
https://github.com/pulp/pulp_rpm/pull/1524#discussion_r348469741
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
Start by tracing the recursive add and remove entry points and their values_list() usage, using the linked pulp_rpm discussion for context. The issue is done when recursive results remain correct despite values_list(); no file or test is named, so locating the relevant coverage is part of the work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100