Project

Profile

Help

Task #8387

closed

Pulp - Story #8383: [EPIC] As a plugin writer I have the `repository`, `publication`, and `repository_version` fields on Distribution MasterModel

Port pulp_file off `BaseDistribution` and onto `Distribution` as the MasterModel

Added by bmbouter over 3 years ago. Updated over 3 years ago.

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

100%

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

Description

pulp_file needs to:

  1. Swap its inheritance to using Distribution instead of BaseDistribution

  2. Ship a migration which moves the data from the BaseDistribution master table to the Distribution master table.

NOTE: while doing this work, the author should also implement https://pulp.plan.io/issues/8384 at the same time.

Actions #1

Updated by bmbouter over 3 years ago

  • Description updated (diff)
Actions #2

Updated by bmbouter over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
Actions #3

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by bmbouter over 3 years ago

Revision be1c4015 | View on GitHub

Switches FileDistribution use Distribution

pulpcore==3.12 introduces a new MasterModel named Distribution designed to replace the BaseDistribution MasterModel. This PR switches the FileDistribution to use Distribution. It also ships a migration which moves the data from the BaseDistribution table to the Distribution field.

Required PR: https://github.com/pulp/pulpcore/pull/1198/

closes #8387

Actions #5

Updated by bmbouter over 3 years ago

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

Updated by daviddavis over 3 years ago

  • Sprint/Milestone set to 1.7.0
Actions #7

Updated by daviddavis over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF