When do we need to update KSYCOCA_VERSION ?

David Faure faure at kde.org
Thu Aug 30 12:52:02 BST 2012


On Wednesday 29 August 2012 19:33:13 Albert Astals Cid wrote:
> One of the release team files says
> 
> When doing release, update:
>  * kdelibs/kdecore/sycoca/ksycoca.cpp --> ksycoca version number
> 
> When does this need to happen?
> 

I think this is a "belt and suspenders" kind of thing (extra precaution)... in 
theory it's not necessary, kded will detect new desktop files on kde startup, 
or during the upgrade process if KDE is already running.

I wonder if Waldo added that (long ago) for the case where we change fields in 
ksycoca and forget to increase the version number while doing so.

On the other hand it happens that kdirwatch doesn't detect changes (there are 
dolphin bug reports about that), so I guess forcing a rebuild (via increasing 
the version number) can never hurt (it only makes the first login after the 
upgrade slightly slower).

> For every release? For every .0 release? For every .0 release + for
> alpha/beta/rc?

We can't have new desktop files in bugfix releases, but OTOH we can have new 
translations in them, or modified Exec lines, etc.

So (assuming we can't rely on kdirwatch), we'd have to increase it at every 
release (major, minor, bugfix, alpha/beta/rc).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5





More information about the kde-core-devel mailing list