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

Gilles Caulier caulier.gilles at gmail.com
Mon Oct 3 15:33:18 BST 2016



> On Oct. 3, 2016, 2:26 p.m., Gilles Caulier wrote:
> > Ship It!

Excelent. Thanks Antonio.

Code is fine for me to commit, if condition below are also fixed :

1/ Gelocation Editor data file need to be migrated too, as it's reported in another bugzilla entry :

https://bugs.kde.org/show_bug.cgi?id=368968

Also this entry have been re-opened. Your patch must fix it typically :

https://bugs.kde.org/show_bug.cgi?id=357944

Gilles Caulier


- Gilles


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


On Oct. 3, 2016, 2:04 p.m., Antonio Larrosa Jimenez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129088/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2016, 2:04 p.m.)
> 
> 
> Review request for Digikam.
> 
> 
> 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
> -----
> 
>   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/e1009641/attachment.html>


More information about the Digikam-devel mailing list