Thanks for the quick reaction.
I have given the proposed patch some testing and it works for me.
I have a note on the title: I had unsigned annotated tags in my repository, so I believe it doesn't really matter if the tag is signed or not.
For the record this is what I tested:
I have set RECLONE=no in my devstack, then I did:
cd /opt/stack/pbr git fetch https://review.openstack.org/openstack-dev/pbr refs/changes/03/114403/1 && git checkout FETCH_HEAD git checkout -b review/114403/1 cd $back_to_devstack ./stack.sh
Now I have pbr version as expected:
$ pip freeze | grep -w pbr pbr==0.11.0.dev12.g0708206
Nova got installed (in develop mode) with a better version:
$ grep ^Version: /opt/stack/nova/nova.egg-info/PKG-INFO Version: 2013.2.3.dev1.ga73da36
Yes, it's really old, but that's probably correct. The point is this is now not based on the free-format tags present in my nova repo.
nova-api and devstack started up as expected.
Thanks for the quick reaction.
I have given the proposed patch some testing and it works for me.
I have a note on the title: I had unsigned annotated tags in my repository, so I believe it doesn't really matter if the tag is signed or not.
For the record this is what I tested:
I have set RECLONE=no in my devstack, then I did:
cd /opt/stack/pbr /review. openstack. org/openstack- dev/pbr refs/changes/ 03/114403/ 1 && git checkout FETCH_HEAD
git fetch https:/
git checkout -b review/114403/1
cd $back_to_devstack
./stack.sh
Now I have pbr version as expected:
$ pip freeze | grep -w pbr 11.0.dev12. g0708206
pbr==0.
Nova got installed (in develop mode) with a better version:
$ grep ^Version: /opt/stack/ nova/nova. egg-info/ PKG-INFO 3.dev1. ga73da36
Version: 2013.2.
Yes, it's really old, but that's probably correct. The point is this is now not based on the free-format tags present in my nova repo.
nova-api and devstack started up as expected.