Ask Your Question
0

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
0

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

Hi,

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 tag.dev<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).

https://docs.openstack.org/pbr/latest/

https://github.com/openstack/kolla/blob/master/requirements.txt#L4

https://github.com/openstack/kolla/blob/master/setup.py#L27

Regards

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 25 times

Last updated: Jan 11