<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0)"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 September 2014 03:23, Thomas Mashos <span dir="ltr"><<a href="mailto:thomas@mashos.com" target="_blank">thomas@mashos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Mon, Sep 8, 2014 at 3:56 AM, Michael T. Dean <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br>
> On 09/08/2014 04:49 AM, Grant Gardner wrote:<br>
>><br>
>> If I've read the code correctly current trunk can go back as far as<br>
>> 0.24, and 0.24-fixes can go back as far as 0.14<br>
>> See - <a href="https://code.mythtv.org/trac/ticket/504" target="_blank">https://code.mythtv.org/trac/ticket/504</a><br>
><br>
></span><span class=""><br>
> This is why I'm of the opinion that just having one database upgrade utility<br>
> is the way to go. I do like the idea of a command-line upgrade (and planned<br>
> to modify MythTV to allow it). I just don't think we need any kind of<br>
> "upgrade any MythTV database version to any other" support--especially since<br>
> there's a /very/ good reason we dropped support for upgrading from pre-0.22<br>
> database versions (because the code that does so doesn't work properly with<br>
> modern Qt and Qt-MySQL drivers, so it may fail or--worse--silently corrupt<br>
> the data).<br>
><br><br></span></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline">Makes sense.</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline">In any case I have backported the simple approach to --bootstrap to 0.24-fixes</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"><a href="https://github.com/lwoggardner/mythtv/tree/bootstrap-0.24">https://github.com/lwoggardner/mythtv/tree/bootstrap-0.24</a>. </div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline">This could be used as a base to build a virtual machine or docker image (with the right versions of qt / mysql) with which to upgrade old database backups up to something that </div><span style="color:rgb(204,0,0);font-family:verdana,sans-serif">any later version can then upgrade.<div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"> </div></span></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline">Since I don't have any old databases to test with I'm going to leave it here.</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(204,0,0);display:inline"></div> <br></div></div></div></div>