Task #7930
closedMake PulpPluginAppConfig.version required
100%
Description
With 3.9 we introduced warnings in PulpPluginAppConfig.__init__
encouraging plugin writers to add a version
attribute to their PulpPluginAppConfig subclasses.
With 3.10 we should remove the warnings and Pulp should refuse to start if any of its plugins do not set version
in this way.
Related issues
Updated by mdellweg almost 4 years ago
Additionally to the status api, the version listing in the api doc should do the same.
Updated by bmbouter almost 4 years ago
- Subject changed from Make PulpPluginAppConfig.version required and used by the status API to Make PulpPluginAppConfig.version required and used by the status API and API schema version listing
- Description updated (diff)
Great idea, but I'm not sure where in the code that happens. Do you know?
Updated by mdellweg almost 4 years ago
You are right, it is hard to find:
https://github.com/pulp/pulpcore/blob/master/pulpcore/openapi/__init__.py#L448
Updated by bmbouter almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by pulpbot almost 4 years ago
- Status changed from ASSIGNED to POST
Updated by pulpbot almost 4 years ago
Added by bmbouter almost 4 years ago
Updated by bmbouter almost 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|9d5a5b5cf9a32097c7a10306abddf7d275334615.
Updated by bmbouter almost 4 years ago
- Subject changed from Make PulpPluginAppConfig.version required and used by the status API and API schema version listing to Make PulpPluginAppConfig.version required
- Description updated (diff)
I moved the status API and openAPI schema parts to this 3.11 issue: https://pulp.plan.io/issues/8198
Updated by bmbouter almost 4 years ago
- Related to Task #8198: Make the status API and openAPI schema version listing report on django installed plugins not python packages added
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Requires Pulp plugins to provide version
It adds enforcement that the version to be set on the
PulpPluginAppConfig
subclass. If an installed plugin does not specify its version Pulp will refuse to start.closes #7930