I've merged the redis-integration into master with a self-test case added. 

This adds no functionality to master per se; the purpose is to have all parts 
in place for actually adding functionality, and shake out build bugs.

The work on Daniel Rogge's patch reworked for redis is still ongoing and not 
merge-clean yet; it is rebased on master and can be found here: 
http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/redis-params. It 
works and needs exercise - interested folks might have a look. As expected, the 
datamodel, and interface to redis keeps evolving. This has not stabilized yet; 
once this branch is clean, the next thing will be to mirror tool information in 
redis, so UI's can take advantage of it. When that happens, the tooltable in 
emcstat could eventually be retired, but that will take a while.

The redis-params branch also contains initial, optional persistence support 
instead of emc.var now; import/export scripts are available.

- Michael


Am 29.08.2012 um 13:34 schrieb Michael Haberler:

> as discussed in the context of Daniel Rogge's proposed parameter patch, I 
> have moved ahead with redis integration into master.
> 
> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/redis-integration
>  now has all the footwork to integrate and build redis-server, redis-cli, the 
> hiredis C API, and the Python bindings from a snapshot. It also contains 
> linuxcnc.in changes to by default start redis-server when running linuxcnc. 
> This branch does not contain any code in LinuxCNC which actually uses redis; 
> it's just the parts kit needed to do so.
> 
> see README here. 
> http://git.mah.priv.at/gitweb/emc2-dev.git/blob/f7352315a7153166518ffe6efbcd2caaee021780:/src/redis/README
> 
> This is a lot of lines of C and then some other languages. It is a stopgap 
> measure until we build on a platform which can apt-get the packages which 
> just arent available for 10.04. This branch builds also on 8.04.
> 
> I will clean this branch a bit, and merge it into master in the coming days.
> 
> ---
> 
> As for using redis, I'm working on redoing Daniel Rogge's patch to use redis, 
> and this progresses nicely. The foundations work, the whole thing is 
> unpolished, and parameter persistence to replace emc.var isnt in place yet. 
> Daniel & folks have signed up as guinea pigs ;)
> 
> For the curious, the WIP branch is here: 
> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/redis-params . 
> It is based on the above, but is not ready for merging yet. The finished 
> branch will contain examples to use this API from Python, standalone and in a 
> PyGTK app. It is in principle possible to integrate this into a TkInter app 
> too, based on the twisted tkinter reactor. That I would add only if I get a 
> clear indication of desire.
> 
> so: toldya, warnedya.
> 
> - Michael
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to