version numbers towards kf6

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



On 26/06/2023 13.15, Heiko Becker wrote:
> On Monday, 26 June 2023 11:13:56 CEST, Jos van den Oever wrote:
>> The new versions of frameworks, plasma and gear presumably all start 
>> with '6'. Following Fedora versioning for snapshots [0] gives this:
>>
>>  6^20230627git5328c27e3
> 
> Like Jonathan said, versioning of snapshots is a downstream thing. But 
> if I understand the ^ operator correctly, doesn't sort 6^20230.. *after* 
> 6.0?

Indeed, it should be 6~20230627git5328c27e3 or 6.0.0~20230627git5328c27e3.

> And no, new versions of Gear won't start with '6'. They follow a 
> different versioning scheme and some projects will probably switch to 
> Qt6/KF6 with 22.12, some with 23.04 or later.

I guess you mean 23.12 and 24.04. Time flies.

Then for gear it makes sense to use $current^20230627git5328c27e3 e.g. 
23.04^20230627git5328c27e3.

What is the best way to override the version numbers of KF6?
   cmake -DPROJECT_VERSION_MAJOR=6 ?
Since there is no suffix support this would falsely indicate that it's 
already version 6 instead of a snapshot working towards it.

Best regards,
Jos


-------------- 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/ac798a30/attachment.sig>


More information about the Kde-frameworks-devel mailing list