Project

Profile

Help

Task #8480

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

Rename `NewDistributionFilter` to `DistributionFilter`.

Added by bmbouter 7 months ago. Updated 4 months 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

The name DistributionFilter is the name we want, but unfortunately that name is take as part of machinery which will be deprecated with 3.12 but not actually removed until 3.13 at the earlier as part of this ticket. Because the name was taken we had to introduce NewDistribtionFilter as the name instead.

This ticket is to do two things:

  1. Introduce the object named pulpcore.plugin.viewset.NewDistributionFilter as pulpcore.plugin.viewset.DistributionFilter.
  2. Deprecate the object named pulpcore.plugin.viewset.NewDistributionFilter. This will later be removed with Issue 8479.

Related issues

Blocked by Pulp - Task #8385: Deprecate `BaseDistribution` and associated objects, in favor of new `Distribution` model with 3.12CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Story #8384: As a plugin, writer I have a new `Distribution` MasterModel replacing `BaseDistribution`CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Task #8479: Remove the deprecated `NewDistributionFilter`CLOSED - CURRENTRELEASE

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

Associated revisions

Revision 96a36179 View on GitHub
Added by bmbouter 5 months ago

Adds DistributionFilter

This add pulpcore.plugin.viewsets.DistributionFilter to replace pulpcore.plugin.viewsets.NewDistributionFilter. The pulpcore.plugin.viewsets.NewDistributionFilter is now deprecated and will emit warnings if used.

closes #8480

History

#1 Updated by bmbouter 7 months ago

  • Description updated (diff)

#2 Updated by bmbouter 7 months ago

  • Blocked by Task #8385: Deprecate `BaseDistribution` and associated objects, in favor of new `Distribution` model with 3.12 added

#3 Updated by bmbouter 7 months ago

  • Blocked by Story #8384: As a plugin, writer I have a new `Distribution` MasterModel replacing `BaseDistribution` added

#4 Updated by bmbouter 7 months ago

  • Blocks Task #8479: Remove the deprecated `NewDistributionFilter` added

#5 Updated by bmbouter 5 months ago

  • Sprint/Milestone set to 3.14.0

#6 Updated by bmbouter 5 months ago

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

#7 Updated by pulpbot 5 months ago

  • Status changed from ASSIGNED to POST

#8 Updated by bmbouter 5 months ago

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

#9 Updated by pulpbot 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF