Add 'buildVersion' for calculating Ganeti versions
authorJose A. Lopes <jabolopes@google.com>
Fri, 20 Sep 2013 08:39:09 +0000 (10:39 +0200)
committerJose A. Lopes <jabolopes@google.com>
Wed, 25 Sep 2013 10:49:28 +0000 (12:49 +0200)
commitb78d07572442eb9f4f1eeb6c851df6431541b78a
tree5f9658c74c3a1593972ff3f46b22a75f2639d07e
parentfd653cbdf726f7607a80b2aba87d8802c5e9e1f3
Add 'buildVersion' for calculating Ganeti versions

Add 'buildVersion' which calculates Ganeti versions and it is the
Haskell counterpart of 'BuildVersion' in 'lib/constants.py'.

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
src/Ganeti/ConstantUtils.hs