Actions
Task #8385
closedStory #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
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
Updated by bmbouter almost 4 years 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)
Updated by bmbouter over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Updated by bmbouter over 3 years ago
- Blocks Task #8480: Rename `NewDistributionFilter` to `DistributionFilter`. added
Added by bmbouter over 3 years ago
Updated by bmbouter over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|e747954e4cd45bf3d7a97cc37eca30194b319a27.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
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