Project

Profile

Help

Task #8198

closed

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

Added by bmbouter almost 4 years ago. Updated almost 4 years 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 - CURRENTRELEASEbmbouter

Actions
Actions #1

Updated by bmbouter almost 4 years ago

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

Updated by bmbouter almost 4 years ago

  • Status changed from NEW to ASSIGNED
Actions #3

Updated by bmbouter almost 4 years ago

  • Assignee set to bmbouter
Actions #4

Updated by pulpbot almost 4 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by ipanova@redhat.com almost 4 years ago

  • Sprint set to Sprint 91

Added by bmbouter almost 4 years ago

Revision b027af86 | View on GitHub

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

Actions #6

Updated by bmbouter almost 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by ipanova@redhat.com almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF