From: Jon Langseth Date: Thu, 2 May 2013 15:31:59 +0000 (+0200) Subject: A sort-of-but-not-quite TODO file... X-Git-Url: https://git.defcon.no/?a=commitdiff_plain;h=b8fa2755417d118fbb299ac3a28a167a649230ca;p=trk A sort-of-but-not-quite TODO file... --- diff --git a/ideas b/ideas new file mode 100644 index 0000000..1430e66 --- /dev/null +++ b/ideas @@ -0,0 +1,19 @@ +Handle Activities within a project like projects are handled from "root": + Separate hash-ID directory for each activity + Separate info-file with optional meta-data per activiy + Separate tracking-file per activity. + Activities stored as sub-directories of related project + Keep track of current and last activity + +Change functions/subs that handle projects currently to be +generic, and take PROJECT id as optional argument, following +the logic: if an argument is passed, the function should +operate on an activity, if no argument is passed, on project. + +Fix code so start = stop->start can work +Make sure stop stops current activity, if any +Allow activities to toggle (activity = main->activity) + +Be naive: assume that tracking files are consistent :) +Maybe: get inspiration from ti: read until last line, and regex new info onto it :) +