Page MenuHomePhabricator

Show correct version info for master builds
Closed, ResolvedPublic

Description

  • show hash in doxygen output
  • add "development" to application title if patch version is 99

Event Timeline

[df446e]: Merge branch 'bug-10947-version-info'

Merged commits:

2012-02-08 16:30:15 Marco Nolden [97abb5]
Adapt ExtApp window title to new version string


2012-02-08 16:29:37 Marco Nolden [e8f5f5]
Moved MITK_VERSION_ defines to mitkVersion.h


2012-02-08 16:29:13 Marco Nolden [bd18bc]
Make MITK_VERSION_STRING available in MITKConfig.cmake


2012-02-08 16:28:48 Marco Nolden [7c03fa]
Add git hash to MITK_VERSION_STRING for development versions


2012-02-08 16:28:21 Marco Nolden [e6af35]
Create short revision ID for git repositories

@Jan: I think I did most if it, but could you verify and then close?

One remaining point: In the About dialog, is it correct, that the full revision hash is shown?

Attached is a CMake script which I use to determine versions of toolkits that contribute to a project. Probably parts of it can be used for the About dialog.

[f22ae4]: Merge branch 'bug-10947-version-info'

Merged commits:

2012-09-18 17:27:18 Jan Hering [d402d9]
Adapting QmitkAboutDialog

  • now showing the MITK_REVISION_DESC information which gets stored in
  • the mitkVersion.h

2012-09-18 17:02:53 Jan Hering [404ca1]
Calling the GetVersionDescription function for MITK


2012-09-18 17:01:27 Jan Hering [7b7435]
Created GetVersionDescription function

  • it sets the <PREFIX>_REVISION_DESC variable for the given prefix and
  • working directory using git describe to get the status of the repo