Hi Paul, I don't know of a good way to copy only the latest version of a given RPM. For you second question, if the RPMs have the same versions & checksum then duplicates will not be created. If either the version or the checksum is different then a new RPM unit will be created in the repo. If you are trying to copy an existing rpm with a new file that has a different checksum but the same everything else a new unit will be created as the source content is considered to be different. Regards,
-Barnaby ----- Original Message ----- From: "Paul Urwin" <[email protected]> To: [email protected] Sent: Tuesday, March 31, 2015 4:59:45 AM Subject: Re: [Pulp-list] Copying newest RPM versions from one repo to another Hi everyone, I'm guessing from the silence that this isn't straightforward? 'Copy all packages from repo A into repo B but only copy the newest version of each' Or 'Copy all packages from repo A to repo B, then remove any duplicate older versions from repo B' Any ideas? Cheers, Paul On Mon, 23 Mar 2015 13:20 Paul Urwin < [email protected] > wrote: Hi folks, Is it possible to construct a command in pulp-admin to copy the newest version of each RPM package in the original repo into the target repo? Thanks! Paul _______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list _______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
