From 7973b606b9ba8e3994f6950c0308eaaa909e9362 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 8 Jul 2022 22:37:06 +0200 Subject: [PATCH] task: Change blocking/blocked task coefficients Up to now tasks that were blocking other tasks would just get a bump in urgency in taskwarrior. Vice versa for tasks being blocked. However, this could still lead to situations in which a task A blocking task B would appear in the list (sorted by urgency) BEHIND task B. If one task is blocking another, I can not reasonably assume to be able to complete the one blocked, right? So this lead to more confusion that anything and now, any task that blocks another task simply inherits its urgency, appearing directly before the other task in the list. Should solve the problem, though they may not be able to receive their own urgencies anymore, should that be important. --- taskwarrior/.config/task/taskrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/taskwarrior/.config/task/taskrc b/taskwarrior/.config/task/taskrc index 1077e86..3af855e 100644 --- a/taskwarrior/.config/task/taskrc +++ b/taskwarrior/.config/task/taskrc @@ -60,6 +60,12 @@ urgency.annotations.coefficient=0 urgency.user.tag.maybe.coefficient=-100.0 urgency.user.tag.next.coefficient=5.0 +# things that are blocking simply have to be done before +# being able to do the blocked thing. This ensures that. +urgency.blocked.coefficient=0.0 +urgency.blocking.coefficient=0.0 +urgency.inherit=1 + # Holidays for calendar include /usr/share/doc/task/rc/holidays.de-DE.rc