invert the pbr/sphinx integration using a sphinx extension

Bug #1682477 reported by Doug Hellmann on 2017-04-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stephen Finucane

Bug Description

pbr current drives sphinx by forcing several configuration settings from the top. The important ones are the version (since that is derived via git, and hard to derive otherwise) and project name (though that could be hard-coded in the conf.py). This "forcing" causes issues such as https://bugs.launchpad.net/pbr/+bug/1682467

We should create a sphinx extension within pbr that can be optionally enabled to override config settings that are not set by conf.py and that need to be set and can be derived by pbr.

Changed in pbr:
importance: Undecided → Wishlist

This is more important now, given the recent changes in OpenStack's PTI [1]. Adjusting as necessary.

[1] https://governance.openstack.org/tc/reference/pti/python.html

Changed in pbr:
assignee: nobody → Stephen Finucane (stephenfinucane)
importance: Wishlist → High
Ben Nemec (bnemec) on 2018-04-04
Changed in pbr:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers