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.
This commit is contained in:
Marty Oehme 2022-07-08 22:37:06 +02:00
parent 300bb572b3
commit 7973b606b9
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -60,6 +60,12 @@ urgency.annotations.coefficient=0
urgency.user.tag.maybe.coefficient=-100.0 urgency.user.tag.maybe.coefficient=-100.0
urgency.user.tag.next.coefficient=5.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 # Holidays for calendar
include /usr/share/doc/task/rc/holidays.de-DE.rc include /usr/share/doc/task/rc/holidays.de-DE.rc