SQL Version
Derek Atkins
warlord at MIT.EDU
Mon Jan 31 10:50:11 EST 2011
John Ralls <jralls at ceridwen.us> writes:
> The versions table is defined with an int in the second field, which is why the git hash isn't writing. There's likely an error message about that in Geert's gnucash.trace.
>
> So we can use a serial number in gnc-version.h or construct an int out of the release version in configure (perhaps with a "micro" component added in on trunk for when we need to change things between releases). I'm inclined towards the latter, because it's mostly automatic. Do you really feel strongly about having a serial number instead?
I think generating something from the version number would be fine, if
we can figure out some way to handle it (sort of like a DNS SOA serial
number). Something like GnuCash version x.y.z -> XXYYZZVV
The hard question is: how do we encode the 'VV' version such that it
gets reset to 0 whenever we reset the gnucash version in configure.ac?
Any system we use has risks and problems.
> Regards,
> John Ralls
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list