Project

Profile

Help

Task #7195

Enforce correct uniqueness for UpdateCollection at the Model level

Added by ggainey 4 months ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:

Description

UpdateCollection needs to

a) be many-to-one FK linked to UpdateRecord, rather than ManyToMany, and b) be (name, update-record-id) unique

See https://pulp.plan.io/issues/6815#note-7 for details - this should be done as its own unit of work, rather than obscured by an issue that needs it to exist.


Related issues

Related to RPM Support - Issue #6815: Not all advisory models are defined for import/exportCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 6ded98fc View on GitHub
Added by ggainey 4 months ago

Make UpdateCollection be unique by (name,update_record).

Migrate existing data and make UpdateCollection be 1to1 to UpdateRecord along the way.

fixes #7195 [nocoverage]

History

#1 Updated by ggainey 4 months ago

  • Related to Issue #6815: Not all advisory models are defined for import/export added

#2 Updated by ggainey 4 months ago

  • Tracker changed from Issue to Task
  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

#3 Updated by ggainey 4 months ago

  • Sprint set to Sprint 78

#4 Updated by rchan 4 months ago

  • Sprint changed from Sprint 78 to Sprint 79

#5 Updated by pulpbot 4 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by ggainey 4 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by ttereshc 4 months ago

  • Sprint/Milestone set to 3.6.0

#8 Updated by pulpbot 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF