]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

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.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge branch 'master' of github.com:tbabej/taskwarrior-shift-all-recurrence-hook
authorTomas Babej <tomasbabej@gmail.com>
Wed, 27 May 2015 09:42:21 +0000 (11:42 +0200)
committerTomas Babej <tomasbabej@gmail.com>
Wed, 27 May 2015 09:42:21 +0000 (11:42 +0200)
README.md
pirate_add_shift_recurrence.py

index 2103e7218906cd4c763a6d5d7a5f02fdea01306a..58792c0ab8d962c4d27055156b5e7395b348d894 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,6 +8,9 @@ and ``until`` attributes from the parent.
 Install
 -------
 
+Note: This hook has been rewritten to leverage taskpirate, for greater hook efficiency.
+Please see https://github.com/tbabej/taskpirate for instructions. Don't worry, it's straightforward.
+
 ```
 git clone https://github.com/tbabej/taskwarrior-shift-all-recurrence-hook.git
 cp taskwarrior-shift-all-recurrence-hook/on-* ~/.task/hooks/
index 88c0fec707889b80e152d6a96d5e8c47ebdfd506..7eb5c7795ec238058300e24f1a309efee6c9210d 100644 (file)
@@ -18,6 +18,7 @@ def is_new_local_recurrence_child_task(task):
         return True
 
 tw = TaskWarrior(data_location=os.path.dirname(os.path.dirname(sys.argv[0])))
+tw.config.update(dict(recurrence="no"))
 
 def hook_shift_recurrence(task):
     if is_new_local_recurrence_child_task(task):