From 5ac9ca02f0c3555540b6571cd783c2435473fbe9 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 16 Nov 2021 12:15:55 +0100 Subject: [PATCH] taskwarrior: Remove nagscreen and auto-sync Removed nagscreen informing of 2.6.0 news that would periodically tell you about 'new' things in taskwarrior by telling it i already saw it. Removed perviously added auto-sync function. Two reasons: The individual additions/modifications in taskwarrior take longer if they need to be communicated to a server at the end of every change. And undo does not work at all if we are already syncing to a server after every change. That means wrong changes are also synced and become really hard to remove again. So, it seems easier to, for now, sync manually after some commands and before leaving one workstation for another. Another method of auto-sync could be implemented but I have not found an elegant way. --- taskwarrior/.config/task/taskrc | 1 + ...erver-silent.py => DISABLED.on-exit.sync-to-server-silent.py} | 0 2 files changed, 1 insertion(+) rename taskwarrior/.local/share/task/hooks/{on-exit.sync-to-server-silent.py => DISABLED.on-exit.sync-to-server-silent.py} (100%) diff --git a/taskwarrior/.config/task/taskrc b/taskwarrior/.config/task/taskrc index 5597396..a410b3c 100644 --- a/taskwarrior/.config/task/taskrc +++ b/taskwarrior/.config/task/taskrc @@ -97,3 +97,4 @@ report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +P context.arbeit.read=project:arbeit context.arbeit.write=project:arbeit context.personal.read=project.hasnt:arbeit +news.version=2.6.0 diff --git a/taskwarrior/.local/share/task/hooks/on-exit.sync-to-server-silent.py b/taskwarrior/.local/share/task/hooks/DISABLED.on-exit.sync-to-server-silent.py similarity index 100% rename from taskwarrior/.local/share/task/hooks/on-exit.sync-to-server-silent.py rename to taskwarrior/.local/share/task/hooks/DISABLED.on-exit.sync-to-server-silent.py