D8158: KDevelop: decorate patch version string in development builds

René J.V. Bertin noreply at phabricator.kde.org
Fri Oct 6 09:48:01 UTC 2017


rjvbb created this revision.
rjvbb added a reviewer: KDevelop.
rjvbb added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  This patch adds and invokes a script that will decorate the patch version string of development builds with the output from `git describe --tags` so that it includes the exact version of the code currently checked out.
  
  This is something I often miss when looking at the version info in software installed from a development (git) snapshot, and I think should be useful in bug reports too.
  
  The script returns the unchanged patch version if there is no .git directory, so this should be safe in release builds.
  
  I'm not doing anything to the version reported for KDevPlatform; as far as I can tell this needs to be a purely numerical 3-level string.

TEST PLAN
  Works as intended in my builds from the 5.2 branch. For instance, a triggered bug report generated by DrKonqi now has this as the 1st 2 lines:
  
    Application: kdevelop (5.1.80-24-g6e3cfe2421)
     (Compiled from sources)

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D8158

AFFECTED FILES
  CMakeLists.txt
  generate-patchversion.sh

To: rjvbb, #kdevelop
Cc: kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171006/740d13c9/attachment.html>


More information about the KDevelop-devel mailing list