On dimanche 15 octobre 2017 14:31:27 CEST Kevin Funk wrote: > On Sunday, 8 October 2017 19:45:00 CEST Kevin Funk wrote: > > Heya, > > > > The KDevelop team is currently discussing a patch which adds git-describe > > > > like information to the version string in KAboutData: > > https://phabricator.kde.org/D8158 > > (don't bother reading through the comments...) > > > > Problem: > > > > When KAboutData's version is set to something like "5.1.80-24-g262fb4cb9f" > > and when attempting to report a bug via KDevelop -> Help -> Report Bug, > > bugs.kde.org will no longer pre-select the correct version in the version > > list. Even worse: The version information is lost completely if the user > > does not copy it from the dialog. > > > > Idea: > > Let's add a 'build info' attribute to KAboutData which may contain custom > > data filled by a project to provide more information about a specific > > build. > > > > Then, for instance in KDevelop's main.cpp: > > ``` > > KAboutData data(...); > > data.setBuildInfo("Version: " KDEVELOP_FULL_VERSION_STRING); > > ``` > > ... with KDEVELOP_FULL_VERSION_STRING being "5.1.80-24-g262fb4cb9f" > > @KCoreAddons maintainers: Do you think that makes sense? In that case I'd > create a patch which adds such API to KAboutData.
Sounds good to me. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5