Project

Profile

Help

Issue #6355

closed

Update last_unit_added on all the repos that contain the unit that has changed

Added by ipanova@redhat.com almost 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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 #1

Updated by ipanova@redhat.com almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by ttereshc almost 5 years ago

  • Triaged changed from No to Yes
Actions #3

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

Revision 99c1d7bd | View on GitHub

Update other repos' last_unit_added if an erratum is updated during sync

closes #6355 https://pulp.plan.io/issues/6355

Actions #4

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by ttereshc over 4 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by dalley over 4 years ago

  • Platform Release set to 2.21.2

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)

Actions #8

Updated by ttereshc over 4 years ago

Actions #9

Updated by dalley over 4 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by dalley over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

Also available in: Atom PDF