Project

Profile

Help

Task #7943

closed

Update plugin_template to move `{plugin_name}.__init__.__version__ to PulpPluginAppConfig subclass

Added by bmbouter over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
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 of PulpPluginAppConfig 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

Also available in: Atom PDF