Actions
Task #7943
closedUpdate plugin_template to move `{plugin_name}.__init__.__version__ to PulpPluginAppConfig subclass
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Quarter:
Description
The changes from https://pulp.plan.io/issues/6671 need to be generalized and rolled out to all plugins. The following changes need to be made in the plugin template:
- move the
{plugin_name}.__init__.__version__
to be on subclass ofPulpPluginAppConfig
object that lives in{plugin_name}/app/__init__
- update the docs/conf.py accordingly
- update bumpversion to maintain these versions
- update the release script to read it's version from setup.py which will reliably be there
Added by bmbouter over 3 years ago
Updated by ttereshc about 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Moves version to PulpPluginAppConfig subclass
Starting with pulpcore==3.9, it's expected for the version of a plugin to be set as the
version
attribute on thePulpPluginAppConfig
subclass which defines the plugin.This also updates the bumpversion config to set versions in the right places, and the release script to now parse those locations correctly.
re #7943