Actions
Issue #6355
closedUpdate last_unit_added on all the repos that contain the unit that has changed
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 71
Quarter:
Description
Some content in pulp2 is mutable - errata and modules ( attention: not module-defaults, since they are bound to a repo, i.e repo_id is part of unit_key_fields) 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.
Actions
Update other repos' last_unit_added if an erratum is updated during sync
closes #6355 https://pulp.plan.io/issues/6355