Review Request 125279: KSycoca: change DB filename to include language and sha1 of the dirs it's built from.

David Faure faure at kde.org
Sun Sep 20 10:27:31 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125279/
-----------------------------------------------------------

(Updated Sept. 20, 2015, 10:27 a.m.)


Review request for KDE Frameworks and Albert Astals Cid.


Changes
-------

fallback to copy if hardlink fails


Repository: kservice


Description (updated)
-------

This will prevent sycoca-rebuild ping-pong if two apps with different settings
would share the same file (and keep finding that it's wrong for them),
and it fixes Albert's bug that "LANG=de kcmshell5 --list" doesn't show German
translations for the strings coming from desktop files.

To avoid migration issues, the old filename ksycoca5 is still provided, as a hardlink
so that mmap works.

REVIEW: 125279
BUGS: 340731, 335780
FIXED-IN: 5.15


Diffs (updated)
-----

  autotests/ksycocatest.cpp 7c2d91e056726540b8a3a5c679d9b2a93f023c50 
  docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook d7f85813b1956b578600b4fbd147b3ac649b470c 
  src/sycoca/kbuildsycoca.cpp d3328f05bf761979bdffaa19f771e949759d6b76 
  src/sycoca/ksycoca.h 34a2f6375148440aa6dc130395ed0e13b11d16e0 
  src/sycoca/ksycoca.cpp a2b70407db3778196216969932c995c11f44fcf6 

Diff: https://git.reviewboard.kde.org/r/125279/diff/


Testing
-------

unittests, after adjusting ksycocatest which was checking for the old behavior (same file).

Albert: there we are, finally ;) Your bug should be fixed (I don't have translations installed to test it, though). Thanks for all the reviews!


Thanks,

David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150920/32a67669/attachment.html>


More information about the Kde-frameworks-devel mailing list