Review Request 129088: Support to migrate digiKam 4 settings/database in the first run wizard

Antonio Larrosa Jimenez larrosa at kde.org
Mon Oct 3 17:02:27 BST 2016


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

(Updated Oct. 3, 2016, 4:02 p.m.)


Review request for Digikam.


Changes
-------

Added migration of geobookmarks.xml


Repository: digikam


Description
-------

This commit adds a new page to the FirstRun wizard that allows the user
to choose if he/she wants to do a migration of the digikam4 settings
(only if settings from digikam4 are detected). If the user selects to
create new settings, then the usual wizard continues, and if the user
selects to migrate then
~/.kde4/share/config/digikamrc
~/.kde4/share/config/digikam_tagsmanagerrc
~/.kde4/share/config/kipipluginsrc
~/.kde4/share/config/kipirc
~/.kde4/share/config/showfotorc
are copied to ~/.config/ .

Then all files inside ~/.kde4/share/apps/digikam/
are copied to ~/.local/share/apps/digikam .

And finally, the albumroots are updated in the database since
digiKam 5 doesn't interpret correctly values like
volumeid:?path=%2Fhome%2Fantonio%2FPictures and they need to be
url-decoded.


Diffs (updated)
-----

  utilities/assistants/firstrun/CMakeLists.txt 7e104fe3ff3c3102b368cd2671bea6e4a3c963b8 
  utilities/assistants/firstrun/firstrundlg.cpp cf9bbd2c8ab8bceaab4c0237458a88b3f3dc86b2 
  utilities/assistants/firstrun/migratefromdigikam4page.h PRE-CREATION 
  utilities/assistants/firstrun/migratefromdigikam4page.cpp PRE-CREATION 
  utilities/assistants/firstrun/welcomepage.cpp 5e630eb46d191f1480922cb732bb48135f60beba 

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


Testing
-------

I tested by migrating my own digikam instance (which has 5 albumroots, 98701 images and 1707 tags) with a patched openSUSE Tumbleweed digikam 5.2.0 package.


File Attachments
----------------

Screenshot of the new migrate page in the FirstRun wizard
  https://git.reviewboard.kde.org/media/uploaded/files/2016/10/03/005e060a-8636-4b87-9a0f-2a162f22f2ca__migratepage.png


Thanks,

Antonio Larrosa Jimenez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20161003/b70f6a96/attachment.html>


More information about the Digikam-devel mailing list