Actions
Issue #6151
closedassociate-with-filter sometimes ends up with filtered-rpms in the destination
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.21.0
Platform Release:
2.21.1
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 66
Quarter:
Description
Description of problem: Creating a filter to exclude a package with a higher version that has multiple versions doesn't work properly on conservative dep-solving.
Version-Release number of selected component (if applicable): 2-master
How reproducible: 100%
Steps to Reproduce:
- Turn dependency solving to conservative.
- Create and sync custom repo.
- Create cv with depsolving on and add custom repo.
- Create exclusion filter and exclude a package (walrus) with a higher version
- Publish CV
- Check rpm package list for that version
Actual results: walrus 0.71 and 5.21 are present in rpm packages list.
Expected results: walrus 0.71 is the only package present in rpm packages list.
Additional info: Without depsolving, the filtering function works as expected.
Works as expected in 2.19
Files
Actions
recursive-conservative needs to do one solve.transaction()
Doing one-per-solvable might be more robust, but leads to undesireable and/or inconsistent behavior depending on the ordering of the solvable-list. Reverting that specific piece of 39e310ab
closes #6151 https://pulp.plan.io/issues/6151