<div dir="ltr">Hello<div><br></div><div>I have submitted this patch ([1]) that add support for v_version in PBR. Basically I can tag v1.0.0 instead of 1.0.0 to release 1.0.0.</div><div><br></div><div>However, after rework it appears PBR does not behaves well, even if the unit tests pass:</div><div>On tag for instance v1.0.0, the result packages in named `<mypackagename>-1.0.0.dev1`.</div><div><br></div><div>Do you know where I need to hack PBR to fix it?</div><div><br></div><div>Second point, to go to the end of the logic of my change, I would like to propose an optional way (in setup.cfg?) to **prevent** any tag without the 'v' prefix, ie, where a bare version tag like `1.0.0` is not to be considered as a valid version.</div><div>That way, on system such as gitlab or github:</div><div>- repository owners "protect" tags with pattern "v*", ie, all tags for release such as "v1.0.0", ... cannot be pushed by anyone but the owners/masters</div><div>- other developer can still push other tags for other purpose</div><div><br></div><div>What do you think about this proposal?</div><div><br class="gmail-Apple-interchange-newline">[1] <a href="https://review.openstack.org/#/c/531161/">https://review.openstack.org/#/c/531161/</a><br></div><div><br></div><div>Thanks</div><div>Regards</div><div><br></div><div><div><div class="gmail_signature">-----<br>Gaetan<br><br></div></div>
</div></div>