Project

Profile

Help

Task #8385

closed

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

Deprecate `BaseDistribution` and associated objects, in favor of new `Distribution` model with 3.12

Added by bmbouter over 1 year ago. Updated over 1 year 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:
Quarter:

Description

Deprecate the BaseDistribution model, BaseDistributionSerializer, BaseDistributionViewset, PublicationDistribution, and RepositoryVersionDistribution objects in the plugin API. Instead plugin writers should use the new Distribution, DistributionSerializer, and DistributionViewset objects.


Related issues

Blocks Pulp - Task #8480: Rename `NewDistributionFilter` to `DistributionFilter`.CLOSED - CURRENTRELEASEbmbouter

Actions
Actions #1

Updated by bmbouter over 1 year ago

  • Subject changed from Deprecate `BaseDistribution` in favor of new `Distribution` model with 3.12 to Deprecate `BaseDistribution` and associated objects, in favor of new `Distribution` model with 3.12
  • Description updated (diff)
Actions #2

Updated by bmbouter over 1 year ago

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

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by bmbouter over 1 year ago

  • Blocks Task #8480: Rename `NewDistributionFilter` to `DistributionFilter`. added

Added by bmbouter over 1 year ago

Revision e747954e

Deprecates BaseDistribution and related objects

This deprecates the following objects and adds warnings when they are used:

  • pulpcore.plugin.models.BaseDistribution
  • pulpcore.plugin.viewset.BaseDistributionViewSet
  • pulpcore.plugin.viewset.DistributionFilter
  • pulpcore.plugin.serializer.BaseDistributionSerializer
  • pulpcore.plugin.serializer.PublicationDistributionSerializer
  • pulpcore.plugin.serializer.RepositoryVersionDistributionSerializer

closes #8385

Actions #5

Updated by bmbouter over 1 year ago

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

Updated by pulpbot over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF