Project

Profile

Help

Issue #6355

Updated by ipanova@redhat.com over 4 years ago

Some content in pulp2 is mutable - errata errata, modules and modules ( attention: not module-defaults, since they are bound to a repo, i.e repo_id is part of unit_key_fields) 
 module defaults 

 There is a controller that updates last_unit_added on all the repos that contain such mutated unit. As a result next publish will be operational and updated repodata will be generated. 

 https://github.com/pulp/pulp/blob/2-master/server/pulp/server/controllers/repository.py#L692 

 Example of the usage of this controller in the upload of errata https://github.com/pulp/pulp_rpm/pull/1584/files#diff-12687b797580f9b515df98568ed0efe6R214 
 Worksflows like sync and copy should be covered as well.

Back