[Ml-yokadi] yokadid updates and somes questions
Sébastien Renard
Sebastien.Renard
Lun 1 Déc 23:37:56 CET 2008
Le lundi 1 décembre 2008, Aurélien Gâteau a écrit :
> Sébastien Renard wrote:
> > 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 ?
>
> You can change the existing update script so that it replaces the
> default value with the new if it hasn't been modified by the user.
Ok. So it needs to bump DB_VERSION ? That's not fully exact.
> Which makes me think we should probably try to actually release
> something :). What about listing the tasks we would like to get done
> before a v1.0 can be released? :)
Yes, I have that in mind too. And then, no jokes with datamodel !
> Here are mine:
> - Support for date limits in 't_list'
Yes
> - Write a README, getting started doc
A basic user doc should be done with some samples. And a (also basic) web
site, because pulling a git repo is not friendly ;-).
> - Doc update system
Do you mean API doc generated with doc.sh script ?
> - Merge YokadiParser and cmd help
Yes.
> - Make it possible to run update.py from outside its dir
Yes (quite easy to do).
> - When project does not exist, prompt the user to create|edit|cancel
This was done in september or october.
> - Show task title in t_mark* and t_remove
Done last week, you can pull it up from my repo. There's a cosmetic bug when
only one item can be completed, you have to press tab twice to clear display.
I don't know how to fix it. I suspect a readline/python issue.
Here's my todo list (I removed items that you already mention above) :
- user doc (install, usage and tips like bash alias, Plasma integration...)
- basic web site
- bug if task name have a dash => this must be done properly before 1.0
- link with git to mark_done a task when a special keyword is used in git.
This is a geek feature, it could be delayed after 1.0
- i18n for yokadi. This may have lots of impact and needs tests. It could be
delayed after 1.0
For all non dev stuff (user doc, screenshot, web site etc) we could try to
find enthousiast yokadi users. Do you know any ?
> > 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.
>
> Here it is:
>
> Task.select(AND(
> Task.q.projectID == Project.q.id,
> Project.q.active == False))
Quite simple but too SQLish. I am poisonned by django ;-)
Anyway, I like sqlobjet a little bit more since your mail. Thanks !
a+
--
Sébastien
Plus d'informations sur la liste de diffusion Ml-yokadi