Project

Profile

Help

Task #7195

closed

Enforce correct uniqueness for UpdateCollection at the Model level

Added by ggainey over 2 years ago. Updated over 2 years 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 - CURRENTRELEASEggaineyActions
Actions #1

Updated by ggainey over 2 years ago

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

Updated by ggainey over 2 years 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)
Actions #3

Updated by ggainey over 2 years ago

  • Sprint set to Sprint 78
Actions #4

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 78 to Sprint 79
Actions #5

Updated by pulpbot over 2 years ago

  • Status changed from ASSIGNED to POST

Added by ggainey over 2 years ago

Revision 6ded98fc

Make UpdateCollection be unique by (name,update_record).

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

fixes #7195 [nocoverage]

Actions #6

Updated by ggainey over 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by ttereshc over 2 years ago

  • Sprint/Milestone set to 3.6.0
Actions #8

Updated by pulpbot over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF