<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi<br><br><div id="AppleMailSignature"><div style="direction: inherit;">Tim Sutton </div><div style="direction: inherit;">Co-founder of Kartoza </div><div style="direction: inherit;">QGIS project chairman </div></div><div><br>On 27 Oct 2017, at 12:49, Nathan Woodrow <<a href="mailto:madmanwoo@gmail.com">madmanwoo@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi all,<div><br></div><div>Just a heads up that I just merged something to migrate settings and styles from 2 .qgis2 and config locations into QGIS 3 settings.  It will currently only take a selection of things that I know we can port over but I would like some help to grow that list before release.</div><div><br></div><div>Notes on how it works:</div><div><br></div><div>Edit the following file: <a href="https://github.com/qgis/QGIS/blob/90857b2b18b69ac195d152db269f18a23c0ab95f/resources/2to3migration.txt">https://github.com/qgis/QGIS/blob/90857b2b18b69ac195d152db269f18a23c0ab95f/resources/2to3migration.txt</a></div><div><br></div><div>Syntax is:</div><div><br></div><div>oldkey;newkey</div><div><br></div><div>* means match key and /* means copy everything under this group:</div><div><br></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">Qgis/connections-xyz/*;qgis/connections-xyz/*</span><br></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><br></span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">Will copy and </span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">Qgis/connections-xyz/ to </span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">gis/connections-xyz/ and everything under it.</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><br></span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">browser/favourites;* </span><br></div><div><br></div><div><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre">Will copy the full key </span></font><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">browser/favourites to the same key in QGIS 3.</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><br></span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">If you change the file you must change </span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"># version=1 at the top to be a higher number</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">or else the migration won't run again, however, we can leave it at 1 for now until release</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">and just bump it at the end just before release once all the keys are added. </span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre"><br></span></div><div>If you want to add stuff to and have troubles let me know.   I would like to see if we can get all the important stuff to come over before release, connection strings, etc.  Anything that is a pain to setup for users.</div><div><br></div><div>If you don't want to lose any settings you are currently using in QGIS 3 dev I would make a new profile (Settings -> User Profile) and run with that one while default takes everything from the migration steps.  Pro tip: Just copy the default copy in the profiles\ folder to have a copy.</div></div></div></blockquote><div><br></div><div><br></div><div>Ah brilliant thanks so much for doing this Nathan!</div><div><br></div><div>Regards </div><div><br></div><div>Tim </div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>Regards,<br>Nathan</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>QGIS-Developer mailing list</span><br><span><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a></span><br><span>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span><br><span>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span></div></blockquote></body></html>