[Ml-yokadi] yokadid updates and somes questions

Sébastien Renard Sebastien.Renard
Dim 30 Nov 12:24:31 CET 2008


Hello fellow yokadi citizen,

I've made some update on yokadi daemon to ignore done tasks and esapce quotes 
in task title when launching external command.

I've had to update default parameters ALARM_DELAY_CMD and ALARM_DUE_CMD to 
replace simple quote by double quotes.
I don't know how to update that properly for existing yokadi installation, as 
default parameters are copied during db initialisation on first run.
An update script for that is quite overkill isn't it ?
Any idea ?

Other question, about sqlobject (I don't like sqlobject :D). How to filter 
following a foreign key ?
Ex., I want tasks of inactive projects.
This request (in Django style ORM) does not work : 
Task.select(Task.q.project.active==True)

I can start my request on Project and then get Tasks, but it's more 
complicated if I also want to filter task on name or status for instance.

If any sqlobject guru can help me... (sqlobject documentation is quite short 
and not easy to understand). Thanks !

a+
-- 
Sébastien


Plus d'informations sur la liste de diffusion Ml-yokadi