Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
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
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