Issue #6355
closedUpdate last_unit_added on all the repos that contain the unit that has changed
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.
Updated by ttereshc over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Sprint set to Sprint 71
Added by ttereshc over 4 years ago
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Updated by ttereshc over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 99c1d7bdd0dcd6022c1e83f82d54525c9f47f52f.
Added by ttereshc over 4 years ago
Revision 543a80f3 | View on GitHub
Update other repos' last_unit_added if an erratum is updated during sync
closes #6355 https://pulp.plan.io/issues/6355
(cherry picked from commit 99c1d7bdd0dcd6022c1e83f82d54525c9f47f52f)
Updated by pulpbot over 4 years ago
Updated by ttereshc over 4 years ago
Applied in changeset 543a80f329afbbf7da596862ca2ace10905d547c.
Updated by dalley about 4 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Update other repos' last_unit_added if an erratum is updated during sync
closes #6355 https://pulp.plan.io/issues/6355