Bug #28039
closedContent View publish with dep solve and no filters adds recursive flag
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1750811
Description of problem:
During a content view publish, Katello directs Pulp to copy contents between 2 repos.
Now if the "solve dependencies" is set on the content view, Katello automatically sets "recursive_conservative: true" when that copy operation is executed.
This recursive_conservative flag is set even if no filters were specified on the content view. Meaning it could potentially end up dep solving in all rpms in a repo instead of just a subset. This could unnecessarily slow down the publish times (since depsolve takes a much longer time).
Version-Release number of selected component (if applicable):
Nightly
How reproducible:
100%
Steps to Reproduce:
1. Have a content view with solve dependencies set to true and no filters
2. Add a large repo to the cv
3. Publish
Actual results:
Publish that takes much longer even though there are no filters.
Expected results:
Publish that takes about the same time as publish without dep solving