incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus (OOo)" <>
Subject Re: [CODE] Replace buildid by svn revision, and fix broken --with-build-version
Date Wed, 21 Dec 2011 00:50:18 GMT
Of course a build number is very useful to identify builds which look 
equal at first view (e.g., same version number, same release date, 
whatever). And I like the short one that we have used for years.

However, I also know that it is nowadays common just to use the revision 
number from the used code repository.

So, if we all agree to use this instead of the old build numbers, then I 
would suggest to add "svn" to the string to make it clear where the 
number comes from:


or more patch-like (yes, I know it's far away from been correct ;-) ):


Furthermore, it's great to have a detailed timestamp in the About 
dialog. That will simplify the work of QA and support to identify which 
version exactly the users have problems with.

So, thanks Ariel for your initiative to drive this change.


Am 12/20/2011 10:20 PM, schrieb Ariel Constenla-Haile:
> Hi there,
> the attached patches are an attempt to replace the build-id by the
> subversion revision; and fix --with-build-version that didn't work.
> The svn revision is set in configure (I guess this could have been done
> somewhere in the perl installer code).
> It supports both subversion and git-svn repositories. In case of plane
> sources without repo, the build-id is set to 0.
> (Tested only with git-svn).
> With the following configure switches
> ./configure   \
> --with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
> --enable-verbose \
> --enable-category-b \
> ...
> the About Dialog looks like:
> You can try with this Win build:
> On WinXP the BUILD_VER_STRING looks too small, may be the font size
> should be increased.
> Tests and comments/improvements are welcome :)
> Regards

View raw message