Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index



On Fri, 2010-10-15 at 19:23 +0200, André Schnabel wrote:
Am 15.10.2010 17:21, schrieb Michael Meeks:
    So - here is my suggestion ;-) hopefully it annoys everybody, and it is
two-fold.
..
(no question on 1. - harden the code for migration)

...
    2. we continue to do automatic config migration since this is
       a commonly desired use-case
    *but*
       as we migrate the settings the first time, we write into the
       (original - ie. the old version)'s directory a stamp file
       that says "these have been imported"
    *and*
       if the same version is run again with the new settings
       directory removed (ie. someting went wrong); we prompt the
       user on the second time:
            "do you want to (re-)import settings from ABC install"

Sounds like a reasonable compromise to me. Mechtilde?

        Ok - so, I just pushed this to master, and will cherry-pick to 3.3 in a
bit; I didn't add the prompting piece - so, we essentially do a one-shot
migration from the old settings; and if people want to re-do that they
need to remove the 'MIGRATED' file from their old settings directory
(hopefully that is somewhat possible).

        For post 3.3 - hopefully, we can have the dialog pop up - and it would
also be nice to have some graphical warning that we are about to restart
having done a settings migration, instead of the silent exit we have
now. I can't make myself use the non-layout dialog code though ;-) so -
must review Ricardo's new layout work next.

        HTH,

                Michael.

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.