pulp_rpm icon indicating copy to clipboard operation
pulp_rpm copied to clipboard

Deps are not copied for an RPM if a newer version of that RPM is also being copied

Open ianballou opened this issue 3 years ago • 1 comments

Version Katello 4.4 (master) pulpcore 3.16.1-1 pulp-rpm 3.16.1-2

Describe the bug When using the RPM copy API to copy walrus-0.71 and walrus-5.21 from repo A to repo B, walrus-0.71 did not have its dependencies copied. However, when resetting the test and only copying walrus-0.71, the deps do get copied.

To Reproduce

  1. Sync https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/
  2. Create a second empty repo
  3. Use the copy API to copy over walrus-0.71 and walrus-5.21 with dep solving on
  4. See that the deps for walrus-0.71 are not copied over as well

Expected behavior The deps for the older walrus RPM should get copied over.

ianballou avatar Feb 02 '22 17:02 ianballou