Project

Profile

Help

Task #8385

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 2 months ago. Updated about 1 month 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`.NEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision e747954e View on GitHub
Added by bmbouter about 1 month ago

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

History

#1 Updated by bmbouter 2 months 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)

#2 Updated by bmbouter about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter

#3 Updated by pulpbot about 1 month ago

  • Status changed from ASSIGNED to POST

#4 Updated by bmbouter about 1 month ago

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

#5 Updated by bmbouter about 1 month ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by pulpbot about 1 month ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF