RCP: X.X, add a pop up dialog at first launch to ask to the user if he wants or not import corpora of an older TXM version
Since TXM 0.8.0, the TXM HOME directory contains the version in its
path, eg. TXM-0.8.0. At first launch, TXM restores all corpora of TXM
HOME directory of older versions. The process can be very long and
unwanted + the corpora are copied in the new HOME directory,
duplication, etc..
The user must be able to choice to skip this step and/or to manually
select a directory and/or to be able to check which old corpus will be
imported.
The current behavior has no specifications. Does it check for a
directory named “TXM”? In the future, will it check for all versions
(TXM-0.8.0, TXM-0.7.9, ect.) since “TXM”.
Need to define specs for this. And how manage all the TXM HOME
directories? eg. Must they be deleted after beeing imported? etc.
See issue #2509 for current state of TXM 0.8.1 and 0.8.0
Solution
a) add a simple pop up dialog “Do you want to import corpora from older version(s)?” then automate all the processes
b) add a pop up dialog to ask the user to browse to a TXM HOME directory
then:
b.1) import all corpora
b.2) provide a list of corpora with checkboxes to select whom that will
be imported
c) TBD
(from redmine: issue id 2512, created on 2019/02/27 by Matthieu Decorde)
- Relations:
- relates #2509 (closed)