Project

Profile

Help

Task #8386

closed

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

Remove `BaseDistribution` and associated objects from Pulp and the plugin API

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

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

100%

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

Description

These were deprecated with 3.12.

Things to do

  1. Remove BaseDistribution, BaseDistributionViewset, BaseDistributionSerializer and DistributionFilter entirely from the code and the plugin API.
  2. Delete the BasePathOverlapMixin object and move its code into the DistributionSerializer.
  3. Update the DistributionSerializer.validate_base_path to only consider the Distribution model and not the BaseDistribution model.
  4. Update the DistributionSerializer.name validator to disinclude BaseDistribution
  5. Update the Content app's Handler._match_distribution to only match on Distribution and disinclude BaseDistribution.

Also available in: Atom PDF