Project

Profile

Help

Task #8198

Make the status API and openAPI schema version listing report on django installed plugins not python packages

Added by bmbouter 6 months ago. Updated 5 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:
Sprint 91
Quarter:

Description

With 3.10 compatibility all plugins are required to report their django app name and version.

We need to switch the status API here to get the version information from the PulpPluginAppConfig subclasses instead of using get_distribution. This resolves the plugin usage issue where we used python package names instead of django app names which is really what plugins are.

Also the OpenAPI schema version listing should be updated as well.


Related issues

Related to Pulp - Task #7930: Make PulpPluginAppConfig.version requiredCLOSED - CURRENTRELEASE

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

Associated revisions

Revision b027af86 View on GitHub
Added by bmbouter 5 months ago

Switches plugin reporting to use Django name

The Status API and the OpenAPI schema API now both use the Django name. This is a backwards incompatible change, but necessary to fix the bug which was using Python package names incorrectly instead.

This also reapplies the plugin template changes required from the PR below:

https://github.com/pulp/plugin_template/pull/341/files

closes #8198

History

#1 Updated by bmbouter 6 months ago

  • Related to Task #7930: Make PulpPluginAppConfig.version required added

#2 Updated by bmbouter 5 months ago

  • Status changed from NEW to ASSIGNED

#3 Updated by bmbouter 5 months ago

  • Assignee set to bmbouter

#4 Updated by pulpbot 5 months ago

  • Status changed from ASSIGNED to POST

#5 Updated by ipanova@redhat.com 5 months ago

  • Sprint set to Sprint 91

#6 Updated by bmbouter 5 months ago

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

#7 Updated by ipanova@redhat.com 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF