Task #3954
Updated by daviddavis about 6 years ago
A couple notes: - Packages are unique in a repo by nevra but their checksums/checksum_type/etc could differ. Errata should be unique by ID. We need to handle this. - In order to determine UpdateRecord uniqueness we have a digest field on UpdateRecord that we calculate using the xml[1] and set during sync[2]. This is very fragile but I am not sure of a better solution? [1] https://github.com/pulp/pulp_rpm/blob/0a81c3ff0877dd53f67d0641d28c46e943ba8a23/pulp_rpm/app/tasks/synchronizing.py#L109-L122 [2] https://github.com/pulp/pulp_rpm/blob/0a81c3ff0877dd53f67d0641d28c46e943ba8a23/pulp_rpm/app/tasks/synchronizing.py#L256