LinuxMCE Forums

General => Users => Topic started by: samuelmukoti on September 28, 2008, 08:40:28 pm

Title: Device Templates & sqlCVS
Post by: samuelmukoti on September 28, 2008, 08:40:28 pm
Hi,

I've just been reading a couple of guides on the LMCE wiki.  Many people have contributed features & fixes to various issues that the Current LMCE 710 has.  They keep mentioning how they hope the new Templates will be included in the next stock version.  Reading up what sqlCVS is supposed to do, i thought thats what its purpose was? Or I'm mistaken. 

Surely there should be a way of pushing new updates & devices templates to the public - on live systems out there.  I can imagine a scenario where Samsung releases a new HDTV with Serial or IR controll - and someone creates a template for it and gets everything to work nice - surely there should be an easy way of them posting/commiting their template into the repository so others can benifit - so when another person later buys and connects up the same TV, it will be listed in the setup wizard.  I believe this would be a wonderful feature to have that will make LMCE's PNP system even more effective. 

whats needs to be done for this kind of funtionality to become a reality?

Sam
Title: Re: Device Templates & sqlCVS
Post by: Marie.O on September 28, 2008, 10:53:19 pm
Samuelmukoti,

that is the idea behind sqlCVS. Unfortunately, we have two problems
1) Man power - Every submission has to be manually commited
2) Fragility - sqlCVS is very fragile. For example, right now you  get problems if you don't first checkout the latest sqlCVS before submitting your changes

That is one of the reasons, why I created the DeviceTemplate exporter, so I can circumvent those problems for the time being, and still transfer templates from installation to installation.

rgds
Oliver
Title: Re: Device Templates & sqlCVS
Post by: samuelmukoti on September 29, 2008, 02:03:16 am
Ok, makes a lot of sence.  Will try out  your code, and since its PHP based, maybe possible eventually host it on an online central site, where it consolidates various Device templates from different users, with an menu option to select the one you want to import/export.

That would only be a stop-gap-measure till sqlCVS is working better.

just a thought.

Sam
Title: Re: Device Templates & sqlCVS
Post by: Marie.O on September 29, 2008, 06:43:53 pm
samuelmukoti,

the resulting files can be stored anywhere. The generation for the export is done in PHP, and the resulting PHP file need to be executed on your core.

rgds
Oliver