Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Syncing Minimyth with a backend

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mikep at randomtraveller

Mar 16, 2008, 8:51 AM

Post #1 of 8 (1286 views)
Permalink
Syncing Minimyth with a backend

I have just put together a new Media Centre-style host[1] I intend to use as a
dedicated front-end which will diskless boot. I decided to choose Minimyth as
the operating system for this.

I already run a LTSP (Linux Terminal Server Project) server so adding Minimyth
should'nt have been a problem, and apart from the usual configuration cockups I
am mostly there.

However, I have come to a halt with respect to connecting it to the existing
Mythtv network, which is, the potential protocol/version mismatch. I wanted to
sort out the Minimyth side of things first and then do my upgrade to 0.21 based
on whatever that built as.

I have built from Minimyth 0.21.0-42, which says that it is based on svn 16483.
My first question (to Paul) therefore is, which svn? Trunk? Fixes? My second (to
Mike Dean) is, can I just pull this svn version from Trunk/Fixes/Wherever and
use it to upgrade the rest of my systems so that they are all compatible?

Currently running Trunk svn 14033.

Mike Perkins

[1] VIA EPIA LN 10000 1.0 Gb Fanless + 1Gb Ram + Cheap box. £207. I know, I'll
be paying for it for months to come.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


pebender at san

Mar 16, 2008, 9:08 AM

Post #2 of 8 (1233 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

Mike Perkins wrote:
> I have just put together a new Media Centre-style host[1] I intend to use as a
> dedicated front-end which will diskless boot. I decided to choose Minimyth as
> the operating system for this.
>
> I already run a LTSP (Linux Terminal Server Project) server so adding Minimyth
> should'nt have been a problem, and apart from the usual configuration cockups I
> am mostly there.
>
> However, I have come to a halt with respect to connecting it to the existing
> Mythtv network, which is, the potential protocol/version mismatch. I wanted to
> sort out the Minimyth side of things first and then do my upgrade to 0.21 based
> on whatever that built as.
>
> I have built from Minimyth 0.21.0-42, which says that it is based on svn 16483.
> My first question (to Paul) therefore is, which svn? Trunk? Fixes? My second (to
> Mike Dean) is, can I just pull this svn version from Trunk/Fixes/Wherever and
> use it to upgrade the rest of my systems so that they are all compatible?
>
> Currently running Trunk svn 14033.

Per <http://linpvr.org/minimyth/>, it is "MythTV
<http://www.mythtv.org/> 0.21.0 with fixes
<http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes> through
SVN 16483".

Also, there is a version of MiniMyth with MythTV 0.20.2 + fixes.

To be sure that everything works correctly, you should use the exact
same MythTV versions on all you hosts. However, you should be able to
use it with
<http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes>. In
addition, if you are using packages, then you should be able to using
MiniMyth with any MythTV 0.21 packages. I use MiniMyth on my frontends
and ATrpms' MythTV packages on my backend.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mikep at randomtraveller

Mar 16, 2008, 9:46 AM

Post #3 of 8 (1231 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

Paul Bender wrote:
> Mike Perkins wrote:
>> I have just put together a new Media Centre-style host[1] I intend to use as a
>> dedicated front-end which will diskless boot. I decided to choose Minimyth as
>> the operating system for this.
>>
>> I already run a LTSP (Linux Terminal Server Project) server so adding Minimyth
>> should'nt have been a problem, and apart from the usual configuration cockups I
>> am mostly there.
>>
>> However, I have come to a halt with respect to connecting it to the existing
>> Mythtv network, which is, the potential protocol/version mismatch. I wanted to
>> sort out the Minimyth side of things first and then do my upgrade to 0.21 based
>> on whatever that built as.
>>
>> I have built from Minimyth 0.21.0-42, which says that it is based on svn 16483.
>> My first question (to Paul) therefore is, which svn? Trunk? Fixes? My second (to
>> Mike Dean) is, can I just pull this svn version from Trunk/Fixes/Wherever and
>> use it to upgrade the rest of my systems so that they are all compatible?
>>
>> Currently running Trunk svn 14033.
>
> Per <http://linpvr.org/minimyth/>, it is "MythTV
> <http://www.mythtv.org/> 0.21.0 with fixes
> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes> through
> SVN 16483".
>
> Also, there is a version of MiniMyth with MythTV 0.20.2 + fixes.
>
> To be sure that everything works correctly, you should use the exact
> same MythTV versions on all you hosts. However, you should be able to
> use it with
> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes>. In
> addition, if you are using packages, then you should be able to using
> MiniMyth with any MythTV 0.21 packages. I use MiniMyth on my frontends
> and ATrpms' MythTV packages on my backend.
>
See, that's my problem. How can I use the exact same version as Minimyth when
the version of Myth used is buried within the Minimyth release. It's not that
easy for us punters to find the appropriate matching svn. I have, incidentally,
built my current systems from source svn since my distribution (Mandriva) lagged
behind on certain fixes I needed.

I should have added to my OP: Since the Minimyth distribution does not contain
back end code, and Mike Dean says all systems should be built from identical
code, this makes connecting any Minimyth box to any back end quite awkward.

Perhaps one solution would be to publish a tarball of the /complete/ svn
snapshot used to base the current version of Minimyth on. I did look, but
couldn't find such a beast anywhere.

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Mar 16, 2008, 10:36 AM

Post #4 of 8 (1229 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

On 03/16/2008 12:46 PM, Mike Perkins wrote:
> Paul Bender wrote:
>
>> Mike Perkins wrote:
>>
>>> I have just put together a new Media Centre-style host[1] I intend to use as a
>>> dedicated front-end which will diskless boot. I decided to choose Minimyth as
>>> the operating system for this.
>>>
>>> I already run a LTSP (Linux Terminal Server Project) server so adding Minimyth
>>> should'nt have been a problem, and apart from the usual configuration cockups I
>>> am mostly there.
>>>
>>> However, I have come to a halt with respect to connecting it to the existing
>>> Mythtv network, which is, the potential protocol/version mismatch. I wanted to
>>> sort out the Minimyth side of things first and then do my upgrade to 0.21 based
>>> on whatever that built as.
>>>
>>> I have built from Minimyth 0.21.0-42, which says that it is based on svn 16483.
>>> My first question (to Paul) therefore is, which svn? Trunk? Fixes? My second (to
>>> Mike Dean) is, can I just pull this svn version from Trunk/Fixes/Wherever and
>>> use it to upgrade the rest of my systems so that they are all compatible?
>>>
>>> Currently running Trunk svn 14033.
>>>
>> Per <http://linpvr.org/minimyth/>, it is "MythTV
>> <http://www.mythtv.org/> 0.21.0 with fixes
>> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes> through
>> SVN 16483".
>>
>> Also, there is a version of MiniMyth with MythTV 0.20.2 + fixes.
>>
>> To be sure that everything works correctly, you should use the exact
>> same MythTV versions on all you hosts. However, you should be able to
>> use it with
>> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes>. In
>> addition, if you are using packages, then you should be able to using
>> MiniMyth with any MythTV 0.21 packages. I use MiniMyth on my frontends
>> and ATrpms' MythTV packages on my backend.
> See, that's my problem. How can I use the exact same version as Minimyth when
> the version of Myth used is buried within the Minimyth release. It's not that
> easy for us punters to find the appropriate matching svn. I have, incidentally,
> built my current systems from source svn since my distribution (Mandriva) lagged
> behind on certain fixes I needed.
>

Since you'll need to move from SVN trunk to 0.21-fixes, now would be a
very good time to do so because current trunk is currently using the
same DB schema version as 0.21-fixes (so switching--all your
systems--now will work) and because of the likelihood of upcoming
stability issues in trunk

> I should have added to my OP: Since the Minimyth distribution does not contain
> back end code, and Mike Dean says all systems should be built from identical
> code, this makes connecting any Minimyth box to any back end quite awkward.
>
> Perhaps one solution would be to publish a tarball of the /complete/ svn
> snapshot used to base the current version of Minimyth on. I did look, but
> couldn't find such a beast anywhere.

You can pull a specific SVN revision using the -r argument. So, since
you're building from source, just use:

$ svn co -r 16483 http://svn.mythtv.org/svn/branches/release-0-21-fixes/
mythtv-release-0.21

Note, also, if you have a trunk checkout, you can use svn switch to
change it to a 0.21-fixes. I.e. something like:

$ svn switch http://svn.mythtv.org/svn/branches/release-0-21-fixes/

from within the directory you used for your trunk checkout. (If you
checked out mythtv, mythplugins, and myththemes separately, you'll need
to modify that for the individual directories.) Then, just use svn
update to change to the revision you need:

svn up -r 16483

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


pebender at san

Mar 16, 2008, 10:45 AM

Post #5 of 8 (1228 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

Mike Perkins wrote:
> Paul Bender wrote:
>> Mike Perkins wrote:
>>> I have just put together a new Media Centre-style host[1] I intend to use as a
>>> dedicated front-end which will diskless boot. I decided to choose Minimyth as
>>> the operating system for this.
>>>
>>> I already run a LTSP (Linux Terminal Server Project) server so adding Minimyth
>>> should'nt have been a problem, and apart from the usual configuration cockups I
>>> am mostly there.
>>>
>>> However, I have come to a halt with respect to connecting it to the existing
>>> Mythtv network, which is, the potential protocol/version mismatch. I wanted to
>>> sort out the Minimyth side of things first and then do my upgrade to 0.21 based
>>> on whatever that built as.
>>>
>>> I have built from Minimyth 0.21.0-42, which says that it is based on svn 16483.
>>> My first question (to Paul) therefore is, which svn? Trunk? Fixes? My second (to
>>> Mike Dean) is, can I just pull this svn version from Trunk/Fixes/Wherever and
>>> use it to upgrade the rest of my systems so that they are all compatible?
>>>
>>> Currently running Trunk svn 14033.
>> Per <http://linpvr.org/minimyth/>, it is "MythTV
>> <http://www.mythtv.org/> 0.21.0 with fixes
>> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes> through
>> SVN 16483".
>>
>> Also, there is a version of MiniMyth with MythTV 0.20.2 + fixes.
>>
>> To be sure that everything works correctly, you should use the exact
>> same MythTV versions on all you hosts. However, you should be able to
>> use it with
>> <http://svn.mythtv.org/trac/browser/branches/release-0-21-fixes>. In
>> addition, if you are using packages, then you should be able to using
>> MiniMyth with any MythTV 0.21 packages. I use MiniMyth on my frontends
>> and ATrpms' MythTV packages on my backend.
>>
> See, that's my problem. How can I use the exact same version as Minimyth when
> the version of Myth used is buried within the Minimyth release. It's not that
> easy for us punters to find the appropriate matching svn. I have, incidentally,
> built my current systems from source svn since my distribution (Mandriva) lagged
> behind on certain fixes I needed.
>
> I should have added to my OP: Since the Minimyth distribution does not contain
> back end code, and Mike Dean says all systems should be built from identical
> code, this makes connecting any Minimyth box to any back end quite awkward.
>
> Perhaps one solution would be to publish a tarball of the /complete/ svn
> snapshot used to base the current version of Minimyth on. I did look, but
> couldn't find such a beast anywhere.

As I mentioned, I use MiniMyth with ATrpms' MythTV packages. I have no
problems. Likewise, others use it with there respective distributions
packages without problems. The only time I have had problems when the
MythTV protocol version changed on the stable releases fixes branch (I
think is was early in 0.20).

You can check out the version of MythTV used in your MiniMyth binary
from <http://svn.mythtv.org/>. You can find the exact version of MythTV
you are running looking at either the MiniMyth changelog or by pointing
your web browser at your MiniMyth frontend.

Also, compliance with GPL requires that source code be made available to
those that receive the binary. As a result, you can download the sourc
code tarballs for all GPL and LGPL licensed software used in the binary
MiniMyth versions available for download. The link can be found on the
MiniMyth download page <http://linpvr.org/minimyth/download.shtml>. The
link is <http://linpvr.org/minimyth/download/garchive/>.

MythTV is licensed under the GPL. Therefore, its source code tarballs
can be found at this location. These MythTV tarballs contain all the
software, not just the software needed to build mythfrontend.

MiniMyth does contain some patches against MythTV. However, these are
very unlikely to impact backend compatibility. However, the patches can
be found in the gar-minimyth-{version}.tar.bz2 file that is in the same
directory as the binary tarball.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Mar 16, 2008, 11:17 AM

Post #6 of 8 (1242 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

On 03/16/2008 01:45 PM, Paul Bender wrote:
> As I mentioned, I use MiniMyth with ATrpms' MythTV packages. I have no
> problems. Likewise, others use it with there respective distributions
> packages without problems. The only time I have had problems when the
> MythTV protocol version changed on the stable releases fixes branch (I
> think is was early in 0.20).

Paul's right. It's mainly in trunk where you're likely to see issues
with different revisions as far less changes in the -fixes branches. My
argument is mainly that we don't guarantee compatibility across SVN
revisions (even within the -fixes branches). So, the safest approach is
to use the exact same revision on all systems. Also, when issues are
noticed, it's always nice to ensure the same issue exists when using
identical revisions before reporting it as a bug.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mikep at randomtraveller

Mar 17, 2008, 4:49 AM

Post #7 of 8 (1220 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

Paul Bender wrote:
>
> Also, compliance with GPL requires that source code be made available to
> those that receive the binary. As a result, you can download the sourc
> code tarballs for all GPL and LGPL licensed software used in the binary
> MiniMyth versions available for download. The link can be found on the
> MiniMyth download page <http://linpvr.org/minimyth/download.shtml>. The
> link is <http://linpvr.org/minimyth/download/garchive/>.
>
I did (of course) look around the download section when I picked up my copy of
MiniMyth, but failed to realise the significance of the contents of that
directory, so wouldn't have picked up matching copies of
Myth[|themes|plugins|...] at the same time for my other hosts.

I have subsequently realised that I am going to need a backend in the MiniMyth
box, so unless I can hack one in, some of my efforts will have been wasted.
Having said that, it's still going to be a network boot, so most of the
infrastructure is already in place thanks to Paul & co.

Given the clues dropped so far, I shouldn't have problems sorting that out by
myself. It's just the relationships between the various branches of svn and/or
the various distro releases which fogs my brain, a situation which I think Mike
Dean is attempting to address.

Thanks to all.

Mike Perkins
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mikep at randomtraveller

Mar 17, 2008, 4:54 AM

Post #8 of 8 (1226 views)
Permalink
Re: Syncing Minimyth with a backend [In reply to]

Michael T. Dean wrote:
>
> You can pull a specific SVN revision using the -r argument. So, since
> you're building from source, just use:
>
> $ svn co -r 16483 http://svn.mythtv.org/svn/branches/release-0-21-fixes/
> mythtv-release-0.21
>
> Note, also, if you have a trunk checkout, you can use svn switch to
> change it to a 0.21-fixes. I.e. something like:
>
> $ svn switch http://svn.mythtv.org/svn/branches/release-0-21-fixes/
>
> from within the directory you used for your trunk checkout. (If you
> checked out mythtv, mythplugins, and myththemes separately, you'll need
> to modify that for the individual directories.) Then, just use svn
> update to change to the revision you need:
>
> svn up -r 16483
>
Thanks, Mike. This is, at the moment, just the level of detail I need to
continue with. I am not at all familiar with svn, never having used it during a
previous incarnation as a developer.

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.