[openstack-dev] Automatic version creation in PBR

Jay Pipes jaypipes at gmail.com
Tue Mar 18 05:34:11 UTC 2014


On Tue, 2014年03月18日 at 09:55 +1300, Robert Collins wrote:
> On 18 March 2014 07:28, Jay Pipes <jaypipes at gmail.com> wrote:
> > On Mon, 2014年03月17日 at 16:10 +1300, Robert Collins wrote:
>> > Hi Rob, thanks for the heads up.
> >
> > A number of us use pbr for outside-of-OpenStack projects, and have
> > relied on it for things like proper package versioning using git tags.
>> Yup!
>> > I'm a little unclear what, if any, changes to my standard python sdist
> > and upload actions I will need to take to publish releases of my
> > projects that use pbr.
>> If you set 'version' in setup.cfg, pbr's behaviour will not change at all.
>> If you do not set 'version' in setup.cfg then:
> - for tagged commits, pbr's behaviour will not change at all.
> - for untagged commits, pbr will change from
> '$last_tag_version.$commit_count.g$sha' to
> '$next_highest_pre_release.dev$commit_count.g$sha'
>> The last point is incompatible if you were uploading untagged commits
> to pypi. Of course, you shouldn't be doing that because they are
> pre-release versions but not marked as such for pypi!

OK, cool. Thanks for the info. I only upload tagged commits to PyPI, not
untagged ones.
Thanks!
-jay


More information about the OpenStack-dev mailing list

AltStyle によって変換されたページ (->オリジナル) /