Bug #31427
closedIncremental update should depsolve only on repos containing units
Description
Incremental update in general does the following
1) Creates a new x.y content view version
2) Clones repos belonging to cvv x.0 to x.y
3) Separately copies the interested content units (errata_ids and package_ids) from the library instance of the repos to the x.y repos
Step 3 involves turning on depsolving which is a fairly expensive operation
Moreover for incremental update we run this copy operation on each repo and include the rest of the repos as "siblings" or "additional_repos"
This means if there are 6 repos in content view and we want to incrementally update an errata, we will go through all 6 and run copy with depsolve and additional repos
We need to make this smarter and only do the copy of the depsolve If the errata_id or package_id belong to that repo. i.e. if there are 6 repos and I want to incrementally update foo-errata, and if foo-errata is only present in 1 repo, we only need to incrementally update there.