version numbers towards kf6

Jos van den Oever jos at vandenoever.info
Mon Jun 26 10:13:56 BST 2023


The new versions of frameworks, plasma and gear presumably all start 
with '6'. Following Fedora versioning for snapshots [0] gives this:

  6^20230627git5328c27e3

Having the commit date and the git revision in there helps with bug reports.

But this disregards the context (build options, versions of other packages).

The version number in CMakeLists.txt determines what users see in the 
about box and that is still e.g.
   set(PROJECT_VERSION "5.27.80")
   set(PROJECT_VERSION_MAJOR 5)

CMake has no support for ^ or ~ with version suffixes [1].

Best regards,
Jos

[0] https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/
[1] https://gitlab.kitware.com/cmake/cmake/-/issues/16716

On 26/06/2023 10.36, Jonathan Riddell wrote:
> Use whatever you like for your distro but for neon we have the not very 
> elegant
> 
> 5.92.0+p22.04+tunstable+git20230613.2104-0 for git master frameworks build
> 
> frameworks version, ubuntu version, neon edition, date.time, buildnumber.
> 
> Of course the frameworks version is meaningless there, it's just where I 
> took the first packaging from, I'll update that once the frameworks get 
> releases.
> 
> Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20230626/42521e5a/attachment.sig>


More information about the Kde-frameworks-devel mailing list