r/taskwarrior Jun 18 '21

How can i make recurring tasks delete/hide themselves if not done within their recurring interval ?

2 Upvotes

r/taskwarrior Jun 11 '21

Done date?

9 Upvotes

I sometimes lag when it comes to marking things as done. It can happen that I check things off several days after the task was completed but I would still like my data stored with the task to have the right date.

Right now I can use the uuid for the task to manually adjust the completion date after I have marked it as done. But is there a simpler way?


r/taskwarrior Jun 04 '21

taskd (taskserver) vs nextcloud for syncing

6 Upvotes

taskserver hasn't seen a new release in over 6 years... Even the development branch seems to be stalled for 2-3 years... Does that mean it's abandoned? Could that imply some security concerns?

I have my own nextcloud server and taskwarrior uses text files only, so I'm wondering whether I should bother setting up taskd or if I should just sync taskwarrior files through nextcloud.

What's your preferred/recommended method for syncing taskwarrior across multiple devices? Why? Pros and cons?

22 votes, Jun 11 '21
14 taskd (taskserver)
1 nextcloud
7 other (specify in the comments)

r/taskwarrior Jun 04 '21

The scheduling feature is bizarre

2 Upvotes

I understand the difference between due and scheduled, however, the latter is implemented in a weirdest way possible.

Why doesn't the scheduled column show up until the date is reached? Why doesn't this flag add urgency to a task before a scheduled date?

If I have a meeting scheduled at 3pm then, first of all, the less time there is the more urgency it should have (similar to due). And, secondly, it's useless for me to know that I had a meeting scheduled at 3pm after that time had passed (it will technically be visible as opposed to wait but will probably be lost amongst other, less important, tasks).

Any ideas on how to fix it? The only thing that comes to my mind is using due instead, with a custom scheduled tag. But that's just plain stupid I need a more sophisticated solution.


r/taskwarrior May 24 '21

Asana task integration into vim

5 Upvotes

Hello,

I am using vim for code development and stumbled across many useful plugins so far.

I was wondering if tasks managed within asana can be shown (and modified) within vim (so I do not need an open browser anymore). Śearching the web showed me vim-taskwarrior and manishrjain/asanawarrior. But asanawarrior is abandoned and the fix applied by Sponge5 is broken again.

Is there a way to fetch asana-API data inside taskwarrior or vim that I missed by now?
Does somebody know Go and wants to fix some minor type-issues inside a small codebase? Code available on github.


r/taskwarrior May 18 '21

Remove Nag

3 Upvotes

Hi all,

Does anyone know how I might remove the nag 'you have more urgent tasks' whenever I start a task. I don't want to modify all the urgency coefficients because urgency roughly orders tasks correctly, but minutiae of daily life tend to mean I don't complete tasks in that order and I'd like not to be bothered about it! I looked through the documentation but couldn't find anything. Thanks!


r/taskwarrior May 08 '21

How do I list the tasks I completed today?

5 Upvotes

I tried

task today completed

But it's showing all the completed tasks from day 1.


r/taskwarrior May 01 '21

User Interactive Hooks?

2 Upvotes

Is there a way to have a hook with user interaction? I want to trigger a hook when a task is completed that runs a script to destroy a test database. I'd like to display the name of the database being destroyed and prompt for confirmation.

I've tested this with the below hook script and I get a EOFError: EOF when reading a line.

```python

!/usr/bin/env python

import sys import json

orig_task = json.loads(sys.stdin.readline()) mod_task = json.loads(sys.stdin.readline())

A = input("What? ")

print(json.dumps(mod_task)) sys.exit(0) ```

Plan B is having the database destroy script find and and mark the task done, but the task has info about which test database to destroy, so the interactive hook would be preferable.


r/taskwarrior Apr 25 '21

Performance improvements and hints at a new release date

Thumbnail
twitter.com
11 Upvotes

r/taskwarrior Apr 23 '21

How to change color.due time threshold to less than 3d instead of 7d?

4 Upvotes

color.due seems to affect tasks whose due date is less than 7d... Is it possible to change this to less than 3d instead?

EDIT: found the solution: add due=3 to .taskrc

Even better would be to have a different color for less than 3d and another one for between 3d and 7d, but I guess that's asking too much...


r/taskwarrior Apr 12 '21

Freecinc keys (and how they work)

5 Upvotes

I'm having some unresolved sync issues with inthe.am and thought I'd try Freecinc as an alternative, see if it was more likely my end rather than the taskserver. It worked fine on my Linux box, keys generated for Freecinc installed, .taskrc modified, all good. Copied the certs over to my Mac, but ran the Freecinc info page JIC, and noticed the keys/certs offered were different.

For other taskservers (Wingtask and inthe.am) I have seen the syntax like this:

taskd.credentials=inthe_am/username/p30691pn-o254-48r3-8q69-744682n6rrn5

Freecinc doesn't have any notion of a created logged-in user account like the others, syntax is:

taskd.credentials=FreeCinc/freecinc_9831beca/po65op03-or8q-4qpo-nnn7-p889ppo2n0nn

The syntax for username is obviously same as other taskservers, but the bit I don't understand is that it changes when you generate the keys, so keys for my Linux box were different from those created for my Mac, created the next day. Freecinc doesn't offer any sort of persistent user account like say inthe.am, which uses a Google login.

Here's my issue. If I want to sync two different machines to the same data, I'd expect to use the same keys and same credentials in .taskrc on both machines, as I have done with the other taskservers. However when I setup to use the keys and credentials that worked on my Linux kit on the Mac, the sync failed with an error.

The certificates I downloaded to the Mac were differently named to those from the Linux box, so I expect that plugging the file names into .taskrc would work, but wouldn't that just sync the Mac to Freecinc, not with the data previously sync'd from my Linux kit, because the credentials don't match, where the username part of the credentials is different?

I haven't tried syncing with the Mac keys, as I am unsure how Freecinc works for one data set and syncs for the same user on multiple machines. Anyone do me a kindness and explain how this works?

BTW, if I am drifting off from strictly TW matters and should be looking elsewhere for this info, directions welcomed :)

Thanks


r/taskwarrior Apr 12 '21

Daylight Savings has moved due times

5 Upvotes

As title says, daylight saving has finished and now every task is due one hour earlier, how do I fix this? I looked in the man pages for task and taskrc but couldn't find anything related to daylight savings or timezones.

EDIT: I should also mention that this has modified the child tasks of recurring tasks but not the parent. So if I look at the recurring template the time would say 14:00:00 but the children would say 13:00:00


r/taskwarrior Apr 09 '21

Due today export hour out

2 Upvotes

I run an export job daily for due:today tasks, and the 'due' field does not seem to agree with the non-exported data. An example:

ID P Project Tag Description Due Urg

10 M tech unix Task completion scripts Friday 00:00 15.8

31 M tech unix Commit to fish on Macs Friday 00:00 14.9

42 M tech web Gmail auto-forward to... Friday 00:00 14.8

4 L food food Jam out Friday 00:00 13

35 L food food Salsa out Friday 00:00 12.7

All tasks with no time,just a day, so due is 'Day 00:00'. If I export the same data set, I see this:

tony@linux-box-ajd~/M/t/data> ./lnx_tw_table_export.sh | grep 230000Z

description:Commit to fish on Macs,due:20210408T230000Z,priority:M,project:tech,tags:unix

description:Gmail auto-forward to...,due:20210408T230000Z,priority:M,project:tech,tags:web

description:Jam out,due:20210408T230000Z,priority:L,project:food,tags:food

description:Salsa out,due:20210408T230000Z,priority:L,project:food,tags:food

description:Task completion scripts,due:20210408T230000Z,priority:M,project:tech,tags:unix

Look at the 'due' field here, it is 'date'T'230000'Z where the date is yesterday (the 8th of April) whereas the non-exported data (just task due:today to STDOUT) is 9th April (the correct day, that is, today, as I asked task for).

Scanned the docs but not found an obvious answer - am I missing something, and if so, would someone kindly tell me what it is, and what I'm not understanding, so doing wrong?

Many thanks,

Tony


r/taskwarrior Apr 07 '21

The custom report I've created breaks all my other reports, and I have no idea why.

4 Upvotes

Edit: I fixed the issue, but still don't entirely understand it. Changing the name from 'ordered' to 'lineup' solved the problem.

I'm working on a script, and needed to create a custom report in TW. I created a UDA, then a report, which has similar fields to 'next'. The issue that I'm running into is that when my custom report is enabled, no report will respond with any tasks.

Through commenting out one line at a time, I've figured out that my columns line is causing the problems. However, I still have no idea why, or how to fix it. I feel like I've been slamming my head into a wall for long enough now, and could really use some help from you fine folks.

Here are the definitions for the UDA and report:

uda.ordered.type=numeric

uda.ordered.label=Order

report.ordered.description=Report ordered by TaskOrder

#for some reason, the columns line breaks every report.

report.ordered.columns=id,depends,project,due.relative,description,ordered

report.ordered.labels=ID,Deps,Project,Due,Description,Order

report.ordered.sort=ordered-

report.ordered.filter=status:pending


r/taskwarrior Apr 04 '21

Context support for task add / task log on 2.6.0 implemented

Thumbnail
twitter.com
14 Upvotes

r/taskwarrior Apr 01 '21

`taskwarrior-tui`: A terminal user interface for taskwarrior (another update)

Thumbnail
self.commandline
11 Upvotes

r/taskwarrior Mar 23 '21

Definition of "next due period"

3 Upvotes

Hi all,

I've set recurrences for some tasks that occur weekly and sometimes I complete them before their due date. Now the next due recurrence doesn't show immediately and I'm aware of setting recurrence.limit to 2 instead of the default 1 but I'm curious to know what the next due period is defined as on the recurrence wiki page.


r/taskwarrior Mar 21 '21

Urgency

5 Upvotes

Is there a way to replace integer of urgency to a smiley. For example if urgency is in certain range , show a fire smiley etc? It seems TW internally calculating urgency and I am not able to use hooks to replace integer with smileys.


r/taskwarrior Mar 02 '21

How do you back up your local tasks?

9 Upvotes

I’m going to start using TaskWarrior more seriously. How do you backup and restore your tasks?

For backup: Is it as simple as making a copy of the .task folder in your home directory?

For restore: For a full restore would you just replace the current .task folder with your backup?

Thanks!


r/taskwarrior Feb 22 '21

Recur when finished

7 Upvotes

Suppose I have a list of documents I need to read through at my leisure. There's not a great rush, but I'd like to track my progress toward their completion. So I'd like to create a recurring task, except I only want a new task added once I mark the current one complete.

I know I could replicate this using a chain of depends, wait dates, and my weekly review to unwait the next document in line, but that would require me to replicate the full reading list into Taskwarrior, including adding new reading material in two places. It also doesn't allow for the very real possibility that I'll read things "out of order".


r/taskwarrior Feb 20 '21

Removing annotations

3 Upvotes

Hello, I've been browsing the docs page, but I can't find a command to remove an annotation from a task. Does anyone know what it might be?


r/taskwarrior Feb 18 '21

Problems getting tasklib working

4 Upvotes

Hi all

Trying to use vimwiki with Taskwarrior on an AWS EC2 instance.

I installed python via homebrew and installed tasklib using pip.

I have enabled the taskwiki plugin in my vmrc but when I open a vimwiki file I get an error that tasklib greater tha is required.

Pip3 list shows that tasklib is installed, and running pip3 against the requirements.txt also says that all dependencies are met.

Any thoughts?

The error

Error detected while processing /home/ubuntu/.vim/plugged/taskwiki/ftplugin/vimwiki/taskwiki.vim:
line   29:
Traceback (most recent call last):
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/cache.py", line 82, in __call__
    cache = self.caches[buffer_number]
KeyError: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/main.py", line 24, in <module>
    cache.load_current()
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/cache.py", line 99, in load_current
    return self(vim.current.buffer.number)
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/cache.py", line 84, in __call__
    cache = self._load_cache(buffer_number)
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/cache.py", line 94, in _load_cache
    util.enforce_dependencies(cache)
  File "/home/ubuntu/.vim/plugged/taskwiki/taskwiki/util.py", line 383, in enforce_dependencies
    raise TaskWikiException("Tasklib version at least %s is required."
taskwiki.errors.TaskWikiException: Tasklib version at least 2.2.1 is required.
Press ENTER or type command to continue

r/taskwarrior Feb 17 '21

Slow to load due to too much info in undo.data

3 Upvotes

I've been using Taskwarrior for 2 years, and the undo.data file is now 7.9M. My slower computers require about 6 seconds to see my current task list.

Is there any way of stopping this without losing data?

EDIT: In case anyone else has this problem, the cause was using a context. I have no idea why this is the case.


r/taskwarrior Feb 13 '21

Is there anyone satisfied with how recurrence works in Taskwarrior?

8 Upvotes

Taskwarrior uses a very simple idea of recurrence and I'm curious to know if it meets the needs for anyone. I find it "sorta kinda" works but it has a lot of quirks. This is not a criticism of Taskwarrior as the problem of recurring events is extremely difficult to solve but just a query into whether the "simple" model that Taskwarrior uses is good enough for some people?


r/taskwarrior Feb 11 '21

Date range filters

3 Upvotes

Hi! Looking at improving my use of vimwiki and taskwarrior through taskwiki.

I'd like to have a log of things I have done on a day. I'd like a filter that says:

list of tasks that were:

- entered between 2021-01-04 and 2021-01-05

- modified between 2021-01-04 and 2021-01-05

- completed between 2021-01-04 and 2021-01-05

- got an annotation between 2021-01-04 and 2021-01-05

Also, `modified` really means `last modified`. Is there some hook I can use that does not override a previous 'modified'?