All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 Taskwarrior Shift All Recurrence Attributes Hook
2 ------------------------------------------------
4 This is a hook for TaskWarrior (http://www.taskwarrior.org),
5 which allow your recurrent tasks to inherit ``wait``, ``scheduled``
6 and ``until`` attributes from the parent.
12 git clone https://github.com/tbabej/taskwarrior-shift-all-recurrence-hook.git
13 cp taskwarrior-shift-all-recurrence-hook/on-* ~/.task/hooks/
16 This hook leverages tasklib, so you need to install that too:
25 Consider you have a periodic task, which is valid only for the certain day,
26 e.g. on every Sunday you go running.
29 $ task add due:sunday recur:weekly
32 However, TaskWarrior will display the task right away, and you want to
33 showing up only during the weekend, so that it does not distract your task
34 list during the work week.
36 If you try to add the recurrence again, this time with ``wait`` attribute,
37 to hide the task until it is not relevant for you:
40 $ task add due:sunday recur:weekly wait:saturday
43 You will find out that TaskWarrior does not let tasks generated by this
44 recurrence inherit the ``wait`` attribute, in the same manner as it does
45 with the ``due`` attribute.
47 This hook solves that.