[bind10-dev] Proposal for handling version numbers

Mukund Sivaraman muks at isc.org
Thu Jul 25 07:09:28 UTC 2013


Hi all

Here is a proposal to handle version numbers consistently:

* Introduce a Version class in libb10-util which implements:

 + get{Major,Minor,Micro}() methods (which will be set individually in
 configure.ac)

 + getDate() method that returns a date string such as "20130529" from
   the last git commit

 + getCommitHash() method that returns a string with the last git commit
   hash
 
The last commit date and hash are generated during build if HEAD has
changed and are dist'd appropriately, so builds from tarballs will work
correctly.

* Python bindings for the above.

* bin programs are updated to use this new class.

		Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130725/309211ec/attachment.bin>


More information about the bind10-dev mailing list