Ask Your Question

how does kolla project get its version

asked 2018-01-10 22:59:31 -0500

akarki gravatar image

Hi, we are trying to find from where does kolla acquires its version as the setup.cfg file does not have any version info. but PKG-INFO file inside kolla.egg-info folder does aquire a version field.

PS: the question was raised because there is no change in github code of kolla(branch pike) however when we install kolla(branch pike). The command pip list | grep kolla we see version :5.0.2 instead of regular :5.0.1 . PKG-INFO file in kolla.egg-info aslo shows version 5.0.2 As there is no change in code of kolla pike branch ..where does this change come from?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-11 01:18:26 -0500


OpenStack projects uses PBR for versioning.

PBR will create a new release based on the tag:

In example, tag 3.0.2 will create an sdist (pypy package with 3.0.2 version).

Commits outside of tags are versioned as: current<n+1> (3.0.2.dev94)

When a new release is made in kolla, the git repo from a branch have version: latest_tag+1.

In exampe for tag 3.0.2, stable/ocata branch git repo will have 3.0.3 (unreleased).


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-01-10 22:59:31 -0500

Seen: 64 times

Last updated: Jan 11 '18