I guess the only thing that I can think about that makes using these tools useful is that they can provide a consistent way of getting that version (instead of yet another one-off way of getting it); pbr also has the nice ability to generate a debian version string and a redhat version string, which are quite useful when actually creating a package.
Not quite sure where the pbr output for deb_version is (thought it had this, ha).
That's usually the next question, ok, now that we have a version string crap here, well now I need a debian version of that string and I need a redhat version of that string.
I guess the only thing that I can think about that makes using these tools useful is that they can provide a consistent way of getting that version (instead of yet another one-off way of getting it); pbr also has the nice ability to generate a debian version string and a redhat version string, which are quite useful when actually creating a package.
For example:
$ python setup.py rpm_version
running rpm_version
[pbr] Extracting rpm version
1.32.0.dev6
Not quite sure where the pbr output for deb_version is (thought it had this, ha).
That's usually the next question, ok, now that we have a version string crap here, well now I need a debian version of that string and I need a redhat version of that string.