From fd2896a6c65a3f2e3eb1620e9bf0e7d9d361c12a Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Tue, 19 Sep 2023 18:39:35 +0200 Subject: [PATCH] Add shortcodes for 'question' and 'answer' --- content/support/faq/faq.general.001.md | 10 +++-- content/support/faq/faq.general.002.md | 10 +++-- content/support/faq/faq.general.003.md | 10 +++-- content/support/faq/faq.general.004.md | 10 +++-- content/support/faq/faq.task.001.md | 8 ++-- content/support/faq/faq.task.002.md | 8 ++-- content/support/faq/faq.task.003.md | 7 +++- content/support/faq/faq.task.004.md | 7 +++- content/support/faq/faq.task.005.md | 7 +++- content/support/faq/faq.task.006.md | 7 +++- content/support/faq/faq.task.007.md | 7 +++- content/support/faq/faq.task.008.md | 6 ++- content/support/faq/faq.task.009.md | 6 ++- content/support/faq/faq.task.010.md | 7 +++- content/support/faq/faq.task.011.md | 9 +++-- content/support/faq/faq.task.012.md | 7 +++- content/support/faq/faq.task.013.md | 7 +++- content/support/faq/faq.task.014.md | 7 +++- content/support/faq/faq.task.015.md | 6 ++- content/support/faq/faq.task.016.md | 6 ++- content/support/faq/faq.task.017.md | 6 ++- content/support/faq/faq.task.018.md | 7 +++- content/support/faq/faq.task.019.md | 6 ++- content/support/faq/faq.task.020.md | 6 ++- content/support/faq/faq.task.021.md | 7 +++- content/support/faq/faq.task.022.md | 6 ++- content/support/faq/faq.task.023.md | 6 ++- content/support/faq/faq.task.024.md | 7 +++- content/support/faq/faq.task.025.md | 9 +++-- content/support/faq/faq.task.026.md | 7 +++- content/support/faq/faq.task.027.md | 9 +++-- content/support/faq/faq.task.028.md | 9 +++-- content/support/faq/faq.task.029.md | 9 +++-- content/support/faq/faq.task.030.md | 9 +++-- content/support/faq/faq.task.031.md | 9 +++-- content/support/faq/faq.task.032.md | 9 +++-- content/support/faq/faq.task.033.md | 9 +++-- content/support/faq/faq.task.034.md | 9 +++-- content/support/faq/faq.task.035.md | 9 +++-- content/support/faq/faq.task.036.md | 9 +++-- content/support/faq/faq.task.037.md | 10 +++-- content/support/faq/faq.task.038.md | 10 +++-- content/support/faq/faq.task.039.md | 10 +++-- content/support/faq/faq.task.041.md | 10 +++-- content/support/faq/faq.task.042.md | 10 +++-- content/support/faq/faq.task.043.md | 10 +++-- content/support/faq/faq.task.044.md | 10 +++-- content/support/faq/faq.task.045.md | 10 +++-- content/support/faq/faq.task.046.md | 10 +++-- content/support/faq/faq.task.047.md | 10 +++-- content/support/faq/faq.task.048.md | 10 +++-- content/support/faq/faq.task.049.md | 10 +++-- content/support/faq/faq.task.050.md | 10 +++-- content/support/faq/faq.task.051.md | 10 +++-- content/support/faq/faq.task.052.md | 10 +++-- content/support/faq/faq.task.053.md | 10 +++-- content/support/faq/faq.task.054.md | 10 +++-- content/support/faq/faq.task.055.md | 10 +++-- content/support/faq/faq.task.056.md | 10 +++-- content/support/faq/faq.task.057.md | 10 +++-- content/support/faq/faq.task.058.md | 10 +++-- content/support/faq/faq.task.059.md | 10 +++-- content/support/faq/faq.task.060.md | 10 +++-- content/support/faq/faq.task.061.md | 10 +++-- content/support/faq/faq.task.062.md | 10 +++-- content/support/faq/faq.task.063.md | 10 +++-- content/support/faq/faq.task.064.md | 10 +++-- content/support/faq/faq.task.065.md | 10 +++-- content/support/faq/faq.task.066.md | 10 +++-- content/support/faq/faq.task.067.md | 10 +++-- content/support/faq/faq.task.068.md | 10 +++-- content/support/faq/faq.task.069.md | 10 +++-- content/support/faq/faq.task.070.md | 10 +++-- content/support/faq/faq.task.071.md | 10 +++-- content/support/faq/faq.task.072.md | 10 +++-- content/support/faq/faq.task.073.md | 10 +++-- content/support/faq/faq.task.074.md | 10 +++-- content/support/faq/faq.task.075.md | 10 +++-- content/support/faq/faq.task.076.md | 10 +++-- content/support/faq/faq.task.077.md | 10 +++-- content/support/faq/faq.task.078.md | 10 +++-- content/support/faq/faq.task.079.md | 10 +++-- content/support/faq/faq.task.080.md | 10 +++-- content/support/faq/faq.task.081.md | 10 +++-- content/support/faq/faq.task.082.md | 10 +++-- content/support/faq/faq.task.083.md | 10 +++-- content/support/faq/faq.task.084.md | 13 +++---- content/support/faq/faq.task.085.md | 9 +++-- content/support/faq/faq.task.086.md | 15 +++++--- content/support/faq/faq.task.087.md | 12 +++--- content/support/faq/faq.task.088.md | 10 +++-- content/support/faq/faq.task.089.md | 13 ++++--- content/support/faq/faq.task.090.md | 10 +++-- content/support/faq/faq.task.091.md | 10 +++-- content/support/faq/faq.task.092.md | 10 +++-- content/support/faq/faq.task.093.md | 10 +++-- content/support/faq/faq.task.094.md | 15 +++++--- content/support/faq/faq.task.095.md | 10 +++-- content/support/faq/faq.task.096.md | 10 +++-- content/support/faq/faq.task.097.md | 10 +++-- content/support/faq/faq.task.098.md | 10 +++-- content/support/faq/faq.task.099.md | 10 +++-- content/support/faq/faq.task.100.md | 10 +++-- content/support/faq/faq.task.101.md | 10 +++-- content/support/faq/faq.task.102.md | 10 +++-- content/support/faq/faq.task.103.md | 10 +++-- content/support/faq/faq.task.104.md | 10 +++-- content/support/faq/faq.task.105.md | 10 +++-- content/support/faq/faq.task.106.md | 10 +++-- content/support/faq/faq.task.107.md | 10 +++-- content/support/faq/faq.task.108.md | 10 +++-- content/support/faq/faq.task.109.md | 10 +++-- content/support/faq/faq.task.110.md | 10 +++-- content/support/faq/faq.task.111.md | 10 +++-- content/support/faq/faq.task.112.md | 10 +++-- content/support/faq/faq.task.113.md | 10 +++-- content/support/faq/faq.task.114.md | 10 +++-- content/support/faq/faq.task.115.md | 10 +++-- content/support/faq/faq.task.116.md | 15 +++++--- content/support/faq/faq.task.117.md | 10 +++-- content/support/faq/faq.task.118.md | 10 +++-- content/support/faq/faq.task.119.md | 10 +++-- content/support/faq/faq.task.120.md | 10 +++-- content/support/faq/faq.task.121.md | 10 +++-- content/support/faq/faq.task.122.md | 10 +++-- content/support/faq/faq.task.123.md | 10 +++-- content/support/faq/faq.task.124.md | 10 +++-- content/support/faq/faq.task.125.md | 10 +++-- content/support/faq/faq.task.126.md | 11 +++--- content/support/faq/faq.task.127.md | 10 +++-- content/support/faq/faq.task.128.md | 10 +++-- content/support/faq/faq.task.129.md | 10 +++-- content/support/faq/faq.task.130.md | 10 +++-- content/support/faq/faq.task.131.md | 10 +++-- content/support/faq/faq.task.132.md | 10 +++-- content/support/faq/faq.task.133.md | 10 +++-- content/support/faq/faq.task.134.md | 10 +++-- content/support/faq/faq.task.135.md | 9 +++-- content/support/faq/faq.task.136.md | 9 +++-- content/support/faq/faq.task.137.md | 10 +++-- content/support/faq/faq.task.138.md | 9 +++-- content/support/faq/faq.task.139.md | 9 +++-- content/support/faq/faq.task.140.md | 10 +++-- content/support/faq/faq.task.141.md | 9 +++-- content/support/faq/faq.task.142.md | 9 +++-- content/support/faq/faq.task.143.md | 9 +++-- content/support/faq/faq.task.144.md | 9 +++-- content/support/faq/faq.task.145.md | 9 +++-- content/support/faq/faq.task.146.md | 9 +++-- content/support/faq/faq.task.147.md | 9 +++-- content/support/faq/faq.task.148.md | 9 +++-- content/support/faq/faq.task.149.md | 9 +++-- content/support/faq/faq.task.150.md | 9 +++-- content/support/faq/faq.task.151.md | 9 +++-- content/support/faq/faq.task.152.md | 9 +++-- content/support/faq/faq.task.153.md | 9 +++-- content/support/faq/faq.task.154.md | 9 +++-- content/support/faq/faq.task.155.md | 14 ++++--- content/support/faq/faq.task.156.md | 9 +++-- content/support/faq/faq.task.157.md | 9 +++-- content/support/faq/faq.task.158.md | 9 +++-- content/support/faq/faq.task.159.md | 9 +++-- content/support/faq/faq.task.160.md | 9 +++-- content/support/faq/faq.task.161.md | 9 +++-- content/support/faq/faq.task.162.md | 14 ++++--- content/support/faq/faq.task.163.md | 9 +++-- content/support/faq/faq.task.164.md | 9 +++-- content/support/faq/faq.task.165.md | 9 +++-- content/support/faq/faq.task.166.md | 9 +++-- content/support/faq/faq.task.167.md | 9 +++-- content/support/faq/faq.task.168.md | 9 +++-- content/support/faq/faq.task.169.md | 9 +++-- content/support/faq/faq.task.170.md | 9 +++-- content/support/faq/faq.task.171.md | 9 +++-- content/support/faq/faq.task.172.md | 9 +++-- content/support/faq/faq.task.173.md | 9 +++-- content/support/faq/faq.task.174.md | 9 +++-- content/support/faq/faq.task.175.md | 9 +++-- content/support/faq/faq.task.176.md | 9 +++-- content/support/faq/faq.task.177.md | 24 +++--------- content/support/faq/faq.task.178.md | 9 +++-- content/support/faq/faq.task.179.md | 9 +++-- content/support/faq/faq.task.180.md | 8 +++- content/support/faq/faq.task.181.md | 9 +++-- content/support/faq/faq.task.182.md | 9 +++-- content/support/faq/faq.task.183.md | 9 +++-- content/support/faq/faq.task.184.md | 9 +++-- content/support/faq/faq.task.185.md | 14 ++++--- content/support/faq/faq.task.186.md | 10 +++-- content/support/faq/faq.task.187.md | 9 +++-- content/support/faq/faq.task.188.md | 9 +++-- content/support/faq/faq.task.189.md | 9 +++-- content/support/faq/faq.task.190.md | 9 +++-- content/support/faq/faq.task.191.md | 9 +++-- content/support/faq/faq.task.192.md | 9 +++-- content/support/faq/faq.task.193.md | 9 +++-- content/support/faq/faq.task.194.md | 10 +++-- content/support/faq/faq.task.195.md | 9 +++-- content/support/faq/faq.task.196.md | 14 ++++--- content/support/faq/faq.task.255.md | 10 +++-- content/support/faq/faq.taskd.001.md | 8 ++-- content/support/faq/faq.taskd.002.md | 7 +++- content/support/faq/faq.taskd.003.md | 11 ++++-- content/support/faq/faq.taskd.004.md | 9 +++-- content/support/faq/faq.taskd.005.md | 15 +++++--- content/support/faq/faq.taskd.006.md | 14 ++++--- content/support/faq/faq.taskd.007.md | 17 ++++++--- content/support/faq/faq.taskd.008.md | 16 +++++--- content/support/faq/faq.taskd.009.md | 15 ++++++-- content/support/faq/faq.taskd.010.md | 12 +++--- content/support/faq/faq.taskd.011.md | 13 ++++--- content/support/faq/faq.taskd.012.md | 10 +++-- content/support/faq/faq.taskd.013.md | 10 +++-- content/support/faq/faq.taskd.014.md | 10 +++-- content/support/faq/faq.taskd.015.md | 17 +++++---- content/support/faq/faq.taskd.016.md | 17 ++++++--- content/support/faq/faq.taskd.017.md | 16 +++++--- content/support/faq/faq.taskd.018.md | 37 ++++++++++--------- content/support/faq/faq.tasksh.001.md | 7 +++- content/support/faq/faq.tasksh.002.md | 9 +++-- content/support/faq/faq.tasksh.003.md | 10 +++-- content/support/faq/faq.timew.001.md | 7 +++- content/support/faq/faq.timew.002.md | 20 +++++++--- content/support/faq/faq.timew.003.md | 30 ++++++++++++--- content/support/faq/faq.timew.004.md | 10 +++-- content/support/faq/faq.timew.005.md | 16 ++++---- content/support/faq/faq.timew.006.md | 19 +++++++--- .../bootstrap/layouts/shortcodes/answer.html | 3 ++ .../layouts/shortcodes/question.html | 3 ++ themes/bootstrap/static/css/theme.css | 6 ++- 230 files changed, 1461 insertions(+), 841 deletions(-) create mode 100644 themes/bootstrap/layouts/shortcodes/answer.html create mode 100644 themes/bootstrap/layouts/shortcodes/question.html diff --git a/content/support/faq/faq.general.001.md b/content/support/faq/faq.general.001.md index ea2247d0..f8efc0e6 100644 --- a/content/support/faq/faq.general.001.md +++ b/content/support/faq/faq.general.001.md @@ -6,12 +6,16 @@ question: "How do I contribute to documentation?" Back to the [FAQ](/support/faq) -### Q: How do I contribute to documentation? - +{{< question>}} +# How do I contribute to documentation? I would like to contribute a small change to the documentation. + In general, how should I go about submitting patches to the documentation? I cannot find a Git repository containing the documentation. +{{< /question >}} -A: All our public repositories are listed here: https://github.com/GothenburgBitFactory +{{< answer >}} +All our public repositories are listed here: https://github.com/GothenburgBitFactory Simply clone, modify, and create a pull-request. +{{< /answer >}} diff --git a/content/support/faq/faq.general.002.md b/content/support/faq/faq.general.002.md index 5292982c..cc807318 100644 --- a/content/support/faq/faq.general.002.md +++ b/content/support/faq/faq.general.002.md @@ -6,8 +6,10 @@ question: "Are there any plans to create a package for ?" Back to the [FAQ](/support/faq) -### Q: Are there any plans to create a package for ? - -A: We don't do packaging, the community generally steps up. +{{< question >}} +### Are there any plans to create a package for \? +{{< /question >}} +{{< answer >}} +We don't do packaging, the community generally steps up. Contact your distro and make a request. - +{{< /answer >}} diff --git a/content/support/faq/faq.general.003.md b/content/support/faq/faq.general.003.md index 40ce6c9c..f057c459 100644 --- a/content/support/faq/faq.general.003.md +++ b/content/support/faq/faq.general.003.md @@ -3,10 +3,13 @@ title: "Taskwarrior - FAQ" topic: "General" question: "What is the project's coding style?" --- +Back to the [FAQ](/support/faq) -Q: Is there somewhere information about the coding style for the different programming languages used? - -A: Make all changes and additions such that they blend in perfectly with the surrounding code, so it looks like only one person worked on the source, and that person is rigidly consistent. +{{< question "What is the project's coding style?" >}} +Is there somewhere information about the coding style for the different programming languages used? +{{< /question >}} +{{< answer >}} +Make all changes and additions such that they blend in perfectly with the surrounding code, so it looks like only one person worked on the source, and that person is rigidly consistent. That's the general guideline, but to be more explicit about it, here are some of the rules: @@ -16,3 +19,4 @@ That's the general guideline, but to be more explicit about it, here are some of * No cuddled braces https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/doc/devel/contrib/coding_style.md +{{< /answer >}} diff --git a/content/support/faq/faq.general.004.md b/content/support/faq/faq.general.004.md index ccff9385..6289a122 100644 --- a/content/support/faq/faq.general.004.md +++ b/content/support/faq/faq.general.004.md @@ -1,16 +1,18 @@ --- title: "Taskwarrior - FAQ" topic: "General" -question: "Which principles build the foundation for task?" +question: "Which principles build the foundation for Taskwarrior?" --- Back to the [FAQ](/support/faq) -Q: Which principles build the foundation for task? - -A: +{{< question >}} +### Which principles build the foundation for Taskwarrior? +{{< /question >}} +{{< answer >}} * Open source is the best way to write software * Open formats like JSON don't restrict users * Flexibility with lots of features yields strange and wonderful real-world use-cases * Scriptability is good * Performance is important +{{< /answer >}} diff --git a/content/support/faq/faq.task.001.md b/content/support/faq/faq.task.001.md index 16ba3a7e..961415b7 100644 --- a/content/support/faq/faq.task.001.md +++ b/content/support/faq/faq.task.001.md @@ -5,10 +5,12 @@ question: "How do I implement Pomodoro?" --- Back to the [FAQ](/support/faq) - -### Q: How do I implement Pomodoro? - +{{< question >}} +### How do I implement Pomodoro? +{{< /question >}} +{{< answer >}} Taskwarrior currently doesn't support the pomodoro technique, not because it doesn't have all the necessary features, but because it has no way to notify the user if a given point in time has arrived. Remember: most of the time, Taskwarrior isn't running. You can however use the pomodoro timer or any other timer software (KTeaTimer, Gnome's Tea Timer, Gnome's pomodoro shell extension, pyStopWatch, or any of the many timers out there), together with Taskwarrior to manage and prioritize your ToDo list. +{{< /answer >}} \ No newline at end of file diff --git a/content/support/faq/faq.task.002.md b/content/support/faq/faq.task.002.md index 1f196826..6c7738c5 100644 --- a/content/support/faq/faq.task.002.md +++ b/content/support/faq/faq.task.002.md @@ -5,9 +5,10 @@ question: "How do I remove an attribute?" --- Back to the [FAQ](/support/faq) - -### Q: How do I remove an attribute? - +{{< question >}} +### How do I remove an attribute? +{{< /question >}} +{{< answer >}} Modify the attribute and give it a blank value: ``` @@ -15,3 +16,4 @@ $ task 16 modify due: ``` Taskwarrior doesn't store blank values, so it deletes the attribute. +{{< /answer >}} diff --git a/content/support/faq/faq.task.003.md b/content/support/faq/faq.task.003.md index 57dfc49e..802d43a9 100644 --- a/content/support/faq/faq.task.003.md +++ b/content/support/faq/faq.task.003.md @@ -6,8 +6,10 @@ question: "How do I list tasks that have no project?" Back to the [FAQ](/support/faq) -### Q: How do I list tasks that have no project? - +{{< question >}} +### How do I list tasks that have no project? +{{< /question >}} +{{< answer >}} There are a few ways: ``` @@ -27,3 +29,4 @@ $ task project.not: list $ task project != '' list $ task +PROJECT list ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.004.md b/content/support/faq/faq.task.004.md index 1cacde46..d599887d 100644 --- a/content/support/faq/faq.task.004.md +++ b/content/support/faq/faq.task.004.md @@ -6,8 +6,10 @@ question: "How do I filter tasks containing words that are also commands?" Back to the [FAQ](/support/faq) -### Q: How do I filter tasks containing words that are also commands? - +{{< question >}} +### How do I filter tasks containing words that are also commands? +{{< /question >}} +{{< answer >}} I have tasks with descriptions such as: ``` @@ -37,3 +39,4 @@ $ task -- info The `--` operator is a directive that tells Taskwarrior to just treat all subsequent arguments as plain words. It is also a good way to add a description that might contain things like `dep:`, `proj:`, tags or modifiers. +{{< /answer >}} diff --git a/content/support/faq/faq.task.005.md b/content/support/faq/faq.task.005.md index ef1f66ec..559ac350 100644 --- a/content/support/faq/faq.task.005.md +++ b/content/support/faq/faq.task.005.md @@ -6,8 +6,10 @@ question: "How do I hide the change history when using the info report?" Back to the [FAQ](/support/faq) -### Q: How do I hide the change history when using the `info` report? - +{{< question >}} +### How do I hide the change history when using the `info` report? +{{< /question >}} +{{< answer >}} You need to turn off journaling, like this: ``` @@ -15,3 +17,4 @@ $ task config journal.info off ``` See `man taskrc` for more details. +{{< /answer >}} diff --git a/content/support/faq/faq.task.006.md b/content/support/faq/faq.task.006.md index 1a73039d..848893c2 100644 --- a/content/support/faq/faq.task.006.md +++ b/content/support/faq/faq.task.006.md @@ -6,8 +6,10 @@ question: "How do I list tasks scheduled today?" Back to the [FAQ](/support/faq) -### Q: How do I list tasks scheduled today? - +{{< question >}} +### How do I list tasks scheduled today? +{{< /question >}} +{{< answer >}} To filter tasks within a date range: ``` @@ -21,3 +23,4 @@ Alternately, do this: $ task scheduled.after:today and scheduled.before:tomorrow list ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.007.md b/content/support/faq/faq.task.007.md index c67625ad..b90aaecc 100644 --- a/content/support/faq/faq.task.007.md +++ b/content/support/faq/faq.task.007.md @@ -6,8 +6,10 @@ question: "How do I bring back a task that I completed or deleted by mistake?" Back to the [FAQ](/support/faq) -### Q: How do I bring back a task that I completed or deleted by mistake? - +{{< question >}} +### How do I bring back a task that I completed or deleted by mistake? +{{< /question >}} +{{< answer >}} Simply changing the `status` of the task to `pending` is enough, Taskwarrior takes care of the rest: ``` @@ -20,3 +22,4 @@ Here is how to see the 10 most recently completed or deleted tasks, with the mos ``` $ task limit:10 \( status:completed or status:deleted \) rc.report.all.sort:end- all ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.008.md b/content/support/faq/faq.task.008.md index 3f33b1a0..df39759a 100644 --- a/content/support/faq/faq.task.008.md +++ b/content/support/faq/faq.task.008.md @@ -6,8 +6,11 @@ question: "How do I improve output readability?" Back to the [FAQ](/support/faq) -### Q: How do I improve output readability? +{{< question >}} +### How do I improve output readability? +{{< /question >}} +{{< answer >}} You can use line breaks which allow blank lines between sort keys. See [Report](/docs/report/#custom-reports) for details. You can also use alternating line colors setting, which helps visually separate the tasks. @@ -20,3 +23,4 @@ $ task color legend ``` Most color themes already support this. +{{< /answer >}} diff --git a/content/support/faq/faq.task.009.md b/content/support/faq/faq.task.009.md index 7ca9f6e1..fa4aed1a 100644 --- a/content/support/faq/faq.task.009.md +++ b/content/support/faq/faq.task.009.md @@ -6,8 +6,11 @@ question: "How do I set the wait date to be 2 days before the due date?" Back to the [FAQ](/support/faq) -### Q: How do I set the wait date to be 2 days before the due date? +{{< question >}} +### How do I set the wait date to be 2 days before the due date? +{{< /question >}} +{{< answer >}} Taskwarrior can do date math, so use this: ``` @@ -22,3 +25,4 @@ You can also verify that date using the `calc` command: $ task calc eom-2days 2018-01-30T00:00:00 ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.010.md b/content/support/faq/faq.task.010.md index 07c2ac7a..3a8713d1 100644 --- a/content/support/faq/faq.task.010.md +++ b/content/support/faq/faq.task.010.md @@ -6,8 +6,10 @@ question: "How do I create a traditional GTD Next Actions list?" Back to the [FAQ](/support/faq) -### Q: How do I create a traditional GTD Next Actions list? - +{{< question >}} +### How do I create a traditional GTD Next Actions list? +{{< /question >}} +{{< answer >}} I am looking to create a custom report that lists all pending tasks without a project and the single most urgent from each project. The report you describe is not possible as a single custom report because it combines multiple independent filters. @@ -19,3 +21,4 @@ Like this: It's a bash script, and easily modifiable. +{{< /answer >}} diff --git a/content/support/faq/faq.task.011.md b/content/support/faq/faq.task.011.md index 56fdf316..6b51ea1d 100644 --- a/content/support/faq/faq.task.011.md +++ b/content/support/faq/faq.task.011.md @@ -6,11 +6,13 @@ question: "How do you run a report listing recurring task templates?" Back to the [FAQ](/support/faq) -Q: List recurring task templates +{{< question >}} +### List recurring task templates How do you run a report listing recurring task templates? - -A: Using the built in reports: +{{< /question >}} +{{< answer >}} +Using the built in reports: task status:recurring all Note that you have to use `all` because the rest of the built in reports impose a status filter like `status:pending` or similar. @@ -26,3 +28,4 @@ report.templates.filter=status:recurring A: As a hack, you can also use `task status:recurring or status:recurring list`, which would translate to the filter `status:pending and status:recurring or status:recurring`. A: 'info' and 'export' also have no filter. +{{< /answer >}} diff --git a/content/support/faq/faq.task.012.md b/content/support/faq/faq.task.012.md index 88e94f1e..a1c00525 100644 --- a/content/support/faq/faq.task.012.md +++ b/content/support/faq/faq.task.012.md @@ -6,8 +6,10 @@ question: "Why have attribute modifiers rather than the more readable and algebr Back to the [FAQ](/support/faq) -### Q: Why have attribute modifiers (`urgency.over:10`) rather than the more readable and algebraic form (`urgency>10`)? - +{{< question >}} +### Why have attribute modifiers (`urgency.over:10`) rather than the more readable and algebraic form (`urgency>10`)? +{{< /question >}} +{{< answer >}} Taskwarrior already supports both forms. The algebraic form requires that you escape any characters that the shell will otherwise interpret. @@ -40,3 +42,4 @@ noword desc.noword:Hello desc !~ '\bHello\b' Boundaried word non-ma ``` See 'man task', for the `ATTRIBUTE MODIFIERS` and `EXPRESSIONS AND OPERATORS` sections. +{{< /answer >}} diff --git a/content/support/faq/faq.task.013.md b/content/support/faq/faq.task.013.md index 8f3ff5ee..a5db2143 100644 --- a/content/support/faq/faq.task.013.md +++ b/content/support/faq/faq.task.013.md @@ -6,11 +6,14 @@ question: "How do I pipe a UUID into another task command?" Back to the [FAQ](/support/faq) -### Q: How do I pipe a UUID into another task command? - +{{< question >}} +### How do I pipe a UUID into another task command? +{{< /question >}} +{{< answer >}} You can use Bash subprocess syntax to achieve this: ``` $ task $(task _uuids +FOO) modify -FOO +BAR ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.014.md b/content/support/faq/faq.task.014.md index 1ffc829b..37dc1cde 100644 --- a/content/support/faq/faq.task.014.md +++ b/content/support/faq/faq.task.014.md @@ -6,11 +6,14 @@ question: "How do I get the UUID of the last task added?" Back to the [FAQ](/support/faq) -### Q: How do I get the UUID of the last task added? - +{{< question >}} +### How do I get the UUID of the last task added? +{{< /question >}} +{{< answer >}} There is a `LATEST` virtual tag for just this. It corresponds to the most recently added task. ``` $ task +LATEST uuids ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.015.md b/content/support/faq/faq.task.015.md index c615f164..66e7a6a6 100644 --- a/content/support/faq/faq.task.015.md +++ b/content/support/faq/faq.task.015.md @@ -6,8 +6,11 @@ question: "How do I change many due dates using one command?" Back to the [FAQ](/support/faq) -### Q: How do I change many due dates using one command? +{{< question >}} +### How do I change many due dates using one command? +{{< /question >}} +{{< answer >}} Something come up yesterday and completely derailed my day. As a result, I have many tasks that need to be rescheduled to today. What command can I use to change the due date of tasks I missed yesterday to be due today? @@ -19,3 +22,4 @@ $ task +OVERDUE mod due:today ``` Depending on whether you want all overdue tasks or not, you'll need to adjust the filter. +{{< /answer >}} diff --git a/content/support/faq/faq.task.016.md b/content/support/faq/faq.task.016.md index b0a4d14b..3d93dfc6 100644 --- a/content/support/faq/faq.task.016.md +++ b/content/support/faq/faq.task.016.md @@ -6,8 +6,11 @@ question: "How do I search for tasks?" Back to the [FAQ](/support/faq) -### Q: How do I search for tasks? +{{< question >}} +### How do I search for tasks? +{{< /question >}} +{{< answer >}} There are several ways to search the description and annotations of your tasks. The first is to simply look for a search term: @@ -27,3 +30,4 @@ Regular expressions support sophisticated search terms: ``` $ task /[A-Z]../ list ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.017.md b/content/support/faq/faq.task.017.md index a286db02..138a2345 100644 --- a/content/support/faq/faq.task.017.md +++ b/content/support/faq/faq.task.017.md @@ -6,11 +6,15 @@ question: "How do I create a task that recurs on more than one day of the week?" Back to the [FAQ](/support/faq) -### Q: How do I create a task that recurs on more than one day of the week? +{{< question >}} +### How do I create a task that recurs on more than one day of the week? +{{< /question >}} +{{< answer >}} This is not supported, but you can simulate this by creating multiple tasks due weekly on different days: ``` $ task add Do the thing due:monday recur:weekly $ task add Do the thing due:friday recur:weekly ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.018.md b/content/support/faq/faq.task.018.md index cd7b5b9a..5d774f65 100644 --- a/content/support/faq/faq.task.018.md +++ b/content/support/faq/faq.task.018.md @@ -6,8 +6,10 @@ question: "How can I include the time spent on a task in a custom report?" Back to the [FAQ](/support/faq) -### Q: How can I include the time spent on a task in a custom report? - +{{< question >}} +### How can I include the time spent on a task in a custom report? +{{< /question >}} +{{< answer >}} Total active time is not a reportable field. It's not even a field, it's simply aggregated from the `undo.data` file. As such it is a faithful account of how long a task was in the active state, but that is not what is needed for time tracking. @@ -21,3 +23,4 @@ You can achieve limited time tracking with hook scripts, and here are two such e The real answer, though, is to [Use Timewarrior!](https://timewarrior.net) +{{< /answer >}} diff --git a/content/support/faq/faq.task.019.md b/content/support/faq/faq.task.019.md index 61378518..5cdc7796 100644 --- a/content/support/faq/faq.task.019.md +++ b/content/support/faq/faq.task.019.md @@ -6,8 +6,11 @@ question: "How do I hide tasks that have unfinished dependencies?" Back to the [FAQ](/support/faq) -### Q: How do I hide tasks that have unfinished dependencies? +{{< question >}} +### How do I hide tasks that have unfinished dependencies? +{{< /question >}} +{{< answer >}} Try ``` @@ -15,3 +18,4 @@ $ task -BLOCKED ``` The virtual tags that are relevant for the present situation are `BLOCKED` and/or `UNBLOCKED`. +{{< /answer >}} diff --git a/content/support/faq/faq.task.020.md b/content/support/faq/faq.task.020.md index 0fd39c5b..c11ff952 100644 --- a/content/support/faq/faq.task.020.md +++ b/content/support/faq/faq.task.020.md @@ -6,8 +6,11 @@ question: "How do I record a task that is already completed?" Back to the [FAQ](/support/faq) -### Q: How do I record a task that is already completed? +{{< question >}} +### How do I record a task that is already completed? +{{< /question >}} +{{< answer >}} There are several ways to do this. The simplest is to use the `log` command, which creates a new task and immediately sets the status to `completed`: @@ -26,3 +29,4 @@ Furthermore, if you wish to record the date the task was completed: ``` $ task log end:2018-01-22 ... ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.021.md b/content/support/faq/faq.task.021.md index 40cf6f8a..62d3cbeb 100644 --- a/content/support/faq/faq.task.021.md +++ b/content/support/faq/faq.task.021.md @@ -6,8 +6,10 @@ question: "How do I include the recurrence frequency in a report?" Back to the [FAQ](/support/faq) -### Q: How do I include the recurrence frequency in a report? - +{{< question >}} +### How do I include the recurrence frequency in a report? +{{< /question >}} +{{< answer >}} Try this command: ``` @@ -16,3 +18,4 @@ $ task columns This will give you a list of all the columns and their formats that you can use in a report. What you are looking for is the `recur` column. +{{< /answer >}} diff --git a/content/support/faq/faq.task.022.md b/content/support/faq/faq.task.022.md index 1c65d214..8826f889 100644 --- a/content/support/faq/faq.task.022.md +++ b/content/support/faq/faq.task.022.md @@ -6,8 +6,11 @@ question: "How do I solve \"Taskwarrior was built without GnuTLS support. Sync i Back to the [FAQ](/support/faq) -### Q: How do I solve "Taskwarrior was built without GnuTLS support. Sync is not available."? +{{< question >}} +### How do I solve "Taskwarrior was built without GnuTLS support. Sync is not available."? +{{< /question >}} +{{< answer >}} Install `libgnutls-dev` and rebuild: ``` @@ -18,3 +21,4 @@ $ make $ sudo make install ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.023.md b/content/support/faq/faq.task.023.md index da631f52..73531e8a 100644 --- a/content/support/faq/faq.task.023.md +++ b/content/support/faq/faq.task.023.md @@ -6,8 +6,11 @@ question: "How do I get color working?" Back to the [FAQ](/support/faq) -### Q: How do I get color working? +{{< question >}} +### How do I get color working? +{{< /question >}} +{{< answer >}} Try the command: ``` @@ -18,3 +21,4 @@ Does it show colors? This can happen because there are no tasks in the output that matches any of the color rules. You will need to provide metadata, such as due dates, to get any color rules to match. +{{< /answer >}} diff --git a/content/support/faq/faq.task.024.md b/content/support/faq/faq.task.024.md index 7005ee8c..e8b55989 100644 --- a/content/support/faq/faq.task.024.md +++ b/content/support/faq/faq.task.024.md @@ -6,7 +6,8 @@ question: "How do I fix this 'libgnutls-deb0.so.28' error?" Back to the [FAQ](/support/faq) -### Q: How do I fix this `libgnutls-deb0.so.28` error? +{{< question >}} +### How do I fix this `libgnutls-deb0.so.28` error? Upon upgrading from Ubuntu 15.10 to 16.04 I am now seeing the following error message when I try to run Taskwarrior: @@ -16,8 +17,10 @@ error while loading shared libraries: libgnutls-deb0.so.28: cannot open shared o Gnutls was already installed and had been working on my 15.10 installation for some time now. I attempted to fix it by uninstalling and reinstalling gnutls, but it still doesn't work. - +{{< /question >}} +{{< answer >}} Your Taskwarrior was built using a version of GnuTLS that is no longer installed. If you built Taskwarrior from source, then rebuild. If you installed Taskwarrior from a binary package, uninstall and reinstall Taskwarrior. +{{< /answer >}} diff --git a/content/support/faq/faq.task.025.md b/content/support/faq/faq.task.025.md index 3e71598f..f2b31acf 100644 --- a/content/support/faq/faq.task.025.md +++ b/content/support/faq/faq.task.025.md @@ -6,14 +6,16 @@ question: "How do you delete a recurring task?" Back to the [FAQ](/support/faq) -Q: Delete a recurring task template +{{< question >}} +### Delete a recurring task template How do you delete a recurring task? task ID delete says task is not deletable. - -A: The easiest way would be +{{< /question >}} +{{< answer >}} +The easiest way would be task ID modify until:-1d It will be deleted the next time you run a report. @@ -32,3 +34,4 @@ Recur: and save. After that you can easily delete the task, because its no longer a recurring one. +{{< /answer >}} diff --git a/content/support/faq/faq.task.026.md b/content/support/faq/faq.task.026.md index d4c76de5..c1bb6daf 100644 --- a/content/support/faq/faq.task.026.md +++ b/content/support/faq/faq.task.026.md @@ -6,12 +6,14 @@ question: "How can I filter only pending tasks?" Back to the [FAQ](/support/faq) -### Q: Filter only pending tasks +{{< question >}} +### Filter only pending tasks I thought about using a virtual tag, but there is nothing like `+PENDING`. I have lots of recurring tasks that I want to delete in batch, but `task ` returns the completed ones, too and I don’t want to delete these. - +{{< /question >}} +{{< answer >}} A: A `+PENDING` virtual tag is a good idea. It would make a nice feature request. A: Please try @@ -21,3 +23,4 @@ task status:pending all ``` A: It is worth noting that most reports already have a filter that already includes `status:pending`, but the `all` report used here as an example has no filter, which makes it useful as an example like this. +{{< /answer >}} diff --git a/content/support/faq/faq.task.027.md b/content/support/faq/faq.task.027.md index 46b3657f..3aa017ce 100644 --- a/content/support/faq/faq.task.027.md +++ b/content/support/faq/faq.task.027.md @@ -6,10 +6,13 @@ question: "How can I filter by project for the timesheet command?" Back to the [FAQ](/support/faq) -### Q: How can I filter by project for the timesheet command? +{{< question >}} +### How can I filter by project for the timesheet command? As far as I can tell, `task timesheet` has no way to filter which projects are reported on. The obvious `task proj: projname timesheet` doesn't work. - -A: Sorry, the timesheet command does not support filters, and I think it should. +{{< /question >}} +{{< answer >}} +Sorry, the timesheet command does not support filters, and I think it should. This would make a good feature request. +{{< /answer >}} diff --git a/content/support/faq/faq.task.028.md b/content/support/faq/faq.task.028.md index 1731b3f6..b11c658d 100644 --- a/content/support/faq/faq.task.028.md +++ b/content/support/faq/faq.task.028.md @@ -6,7 +6,8 @@ question: "Why are virtual tags better than direct attribute comparisons?" Back to the [FAQ](/support/faq) -Q: Why are virtual tags better than direct attribute comparisons? +{{< question >}} +### Why are virtual tags better than direct attribute comparisons? (Great question copied from support email) @@ -17,6 +18,8 @@ Instead of: $ task due.after:sow and due.before:eow list It's shorter, but is it better? - -A: It's better because it is fewer character to type, and therefore less prone to error. +{{< /question >}} +{{< answer >}} +It's better because it is fewer character to type, and therefore less prone to error. But it is identical. +{{< /answer >}} diff --git a/content/support/faq/faq.task.029.md b/content/support/faq/faq.task.029.md index 447ce5eb..20550380 100644 --- a/content/support/faq/faq.task.029.md +++ b/content/support/faq/faq.task.029.md @@ -6,8 +6,11 @@ question: "How does `task log Do something` affect done/delete ratio?" Back to the [FAQ](/support/faq) -Q: How does `task log Do something` affect done/delete ratio? - -A: "task log Did something" would create the task and mark it completed in one step. +{{< question >}} +### How does `task log Do something` affect done/delete ratio? +{{< /question >}} +{{< answer >}} +"task log Did something" would create the task and mark it completed in one step. It would affect your done/deleted ratio by adding one to the "done" (completed) pile. +{{< /answer >}} diff --git a/content/support/faq/faq.task.030.md b/content/support/faq/faq.task.030.md index 4f448df9..f5ce3966 100644 --- a/content/support/faq/faq.task.030.md +++ b/content/support/faq/faq.task.030.md @@ -6,9 +6,11 @@ question: "How can I find the parent of a recurring task if no child is left?" Back to the [FAQ](/support/faq) -Q: How can I find the parent of a recurring task if no child is left? - -A: I think he means to find the recurring task if there are not any children with status pending. +{{< question >}} +### How can I find the parent of a recurring task if no child is left? +{{< /question >}} +{{< answer >}} +I think he means to find the recurring task if there are not any children with status pending. A: You can use the following to list all the parents: @@ -16,3 +18,4 @@ task all status:recurring You can add more search terms as usual. For example, to find the recurring task to change your brita water filter: task all status:recurring brita +{{< /answer >}} diff --git a/content/support/faq/faq.task.031.md b/content/support/faq/faq.task.031.md index 7b85638e..37079d00 100644 --- a/content/support/faq/faq.task.031.md +++ b/content/support/faq/faq.task.031.md @@ -6,7 +6,8 @@ question: "How can I denotate all annotations at once?" Back to the [FAQ](/support/faq) -Q: How can I denotate all annotations at once? +{{< question >}} +### How can I denotate all annotations at once? Neither ``` task denotate "*" 123 @@ -16,8 +17,9 @@ nor task denotate * 123 ``` work for the task with id 123. - -A: There is currently to way to remove annotations in bulk other than using: +{{< /question >}} +{{< answer >}} +There is currently to way to remove annotations in bulk other than using: ``` task edit @@ -26,3 +28,4 @@ and removing all the annotation lines. You could also write a helper script to remove all annotations. Using the export command will make it easier to parse. +{{< /answer >}} diff --git a/content/support/faq/faq.task.032.md b/content/support/faq/faq.task.032.md index 2af2e432..2f21ac64 100644 --- a/content/support/faq/faq.task.032.md +++ b/content/support/faq/faq.task.032.md @@ -6,9 +6,11 @@ question: "How can I track my 'not to be done' list?" Back to the [FAQ](/support/faq) -Q: How can I track my 'not to be done' list? - -A: As far as I know Taskwarrior has no status that represents "not to be done". +{{< question >}} +### How can I track my 'not to be done' list? +{{< /question >}} +{{< answer >}} +As far as I know Taskwarrior has no status that represents "not to be done". In practice most people simply delete tasks that are no longer valid. Still, you can use existing functionality to provide such feature. @@ -59,3 +61,4 @@ Given all these possibilities, choose the one that you find easier to use and be PS: There may be better ways to specify default options. I need to dig into that subject myself. +{{< /answer >}} diff --git a/content/support/faq/faq.task.033.md b/content/support/faq/faq.task.033.md index 95fa4093..ca9a8469 100644 --- a/content/support/faq/faq.task.033.md +++ b/content/support/faq/faq.task.033.md @@ -6,7 +6,8 @@ question: "How can I assign a task to a project while creating the task?" Back to the [FAQ](/support/faq) -Q: How can I assign a task to a project while creating the task? +{{< question >}} +### How can I assign a task to a project while creating the task? For instance I recently did : ``` @@ -14,10 +15,12 @@ $ task project:todaysproject add pick up laundry ``` however when I list all tasks it shows that the task is not assigned to a project. - -A: The "project:todaysproject", when it appears before the "add" command is ignored. +{{< /question >}} +{{< answer >}} +The "project:todaysproject", when it appears before the "add" command is ignored. Try putting the command first: ``` $ task add project:todaysproject pick up laundry ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.034.md b/content/support/faq/faq.task.034.md index 1f1aef7d..d8139479 100644 --- a/content/support/faq/faq.task.034.md +++ b/content/support/faq/faq.task.034.md @@ -6,7 +6,8 @@ question: "How do I remove duplicate UUIDs?" Back to the [FAQ](/support/faq) -Q: How do I remove duplicate UUIDs? +{{< question >}} +### How do I remove duplicate UUIDs? If the command: @@ -16,8 +17,9 @@ $ task diag ``` states that there are duplicate UUIDs, how do I remove them? - -A: As far as I know there is no automated way to deal with duplicate UUIDs. +{{< /question >}} +{{< answer >}} +As far as I know there is no automated way to deal with duplicate UUIDs. What follows is what I would do (did) in this situation. @@ -70,3 +72,4 @@ This information requires confirmation. As far as I know the duplicate UUID problem cannot be solved by manually crafting entries in the backlog.data file. I never had to go this far, but I can only envision a road with a lot of pain! +{{< /answer >}} diff --git a/content/support/faq/faq.task.035.md b/content/support/faq/faq.task.035.md index 6a1ef3ff..100f7011 100644 --- a/content/support/faq/faq.task.035.md +++ b/content/support/faq/faq.task.035.md @@ -6,7 +6,8 @@ question: "How to set 'wait' until one day before 'due'?" Back to the [FAQ](/support/faq) -Q: How to set 'wait' until one day before 'due'? +{{< question >}} +### How to set 'wait' until one day before 'due'? Construction: ``` @@ -14,8 +15,9 @@ task 1 modify wait:due-1days ``` unfortunately doesn't work. - -A: Currently date expressions are not supported. +{{< /question >}} +{{< answer >}} +Currently date expressions are not supported. This means instead of: ``` @@ -32,3 +34,4 @@ Here is an example from the dev branch, using the new 'calc' command: $ task calc 20140430 - 1days 2014-04-29T00:00:00 ``` +{{< /answer >}} diff --git a/content/support/faq/faq.task.036.md b/content/support/faq/faq.task.036.md index c35505ae..c417b4cd 100644 --- a/content/support/faq/faq.task.036.md +++ b/content/support/faq/faq.task.036.md @@ -6,7 +6,8 @@ question: "Sync not working!" Back to the [FAQ](/support/faq) -Q: Sync not working! +{{< question >}} +### Sync not working! Hello! I have installed task from Ubuntu repositories. @@ -36,9 +37,11 @@ Obviously, I am doing something wrong. But I am not able to figure out the error Also, there is no 'Register' link on the Q&A forum. I could not ask this question there. Please let me know if you need any further information to troubleshoot. - -A: The sync command was only introduced in task 2.3.0. +{{< /question >}} +{{< answer >}} +The sync command was only introduced in task 2.3.0. The reason you are getting those errors is because task 2.2.0 didn't have those settings. As for why it didn't complain about the sync command, it's because it was treated as a filter, effectively listing only tasks that have "sync" in the description. +{{< /answer >}} diff --git a/content/support/faq/faq.task.037.md b/content/support/faq/faq.task.037.md index 06ad9611..4411ecf5 100644 --- a/content/support/faq/faq.task.037.md +++ b/content/support/faq/faq.task.037.md @@ -6,15 +6,17 @@ question: "How to show tasks with active \"wait\"-date?" Back to the [FAQ](/support/faq) -Q: How to show tasks with active "wait"-date? +{{< question >}} +### How to show tasks with active "wait"-date? I have various tasks with a wait:-date in the future. Of course, these tasks are not shown in a regular task-list until the wait date matches current date. Now I want to review these waiting tasks, but I could not find a way to show them. I tried "task wait:any" and "task wait.before:eoy", but I was not successful with this in task 2.3.0 Is there a way to do that? - -A: "wait.any:" and "wait.before:eoy" should both work. But there is a chance you also use the "list" report, which has a contradictory filter. +{{< /question >}} +{{< answer >}} +"wait.any:" and "wait.before:eoy" should both work. But there is a chance you also use the "list" report, which has a contradictory filter. A: There is a report for that, try @@ -46,4 +48,4 @@ As you can see, the waiting reports uses the filter status:waiting +WAITING. If you want to see a raw report without any filters use task all. A: Dirk, that's a bug - "status:waiting" and "+WAITING" are redundant. I'll fix that. Thanks. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.038.md b/content/support/faq/faq.task.038.md index 3260f1f7..7c4583de 100644 --- a/content/support/faq/faq.task.038.md +++ b/content/support/faq/faq.task.038.md @@ -6,10 +6,12 @@ question: "How do I set a task to recur monthly but to be due on day 9 of a mont Back to the [FAQ](/support/faq) -Q: How do I set a task to recur monthly but to be due on day 9 of a month? +{{< question >}} +### How do I set a task to recur monthly but to be due on day 9 of a month? How do I set a task to recur monthly but to be due on day 9 of a month? - -A: task add Fill tank of jeep SPECIAL +petrol due:2014-05-09 recur:monthly +{{< /question >}} +{{< answer >}} +task add Fill tank of jeep SPECIAL +petrol due:2014-05-09 recur:monthly A: Or the simpler form: "due:9th" - +{{< /answer >}} diff --git a/content/support/faq/faq.task.039.md b/content/support/faq/faq.task.039.md index a68ee2c2..15377126 100644 --- a/content/support/faq/faq.task.039.md +++ b/content/support/faq/faq.task.039.md @@ -6,9 +6,11 @@ question: "How to sort a report by tasks' due-dates and then their descriptions? Back to the [FAQ](/support/faq) -Q: How to sort a report by tasks' due-dates and then their descriptions? - -A: All reports have sorting defined. +{{< question >}} +### How to sort a report by tasks' due-dates and then their descriptions? +{{< /question >}} +{{< answer >}} +All reports have sorting defined. For example: $ task show report.list.sort @@ -18,4 +20,4 @@ Config Variable Value report.list.sort start-,due+,project+,urgency-,description+ This shows the "list" report being sorted by descending start date, ascending due date, ascending project, descending urgency, and ascending description. You have full control over report sorting, just override this setting. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.041.md b/content/support/faq/faq.task.041.md index c2ef0031..4d0a3614 100644 --- a/content/support/faq/faq.task.041.md +++ b/content/support/faq/faq.task.041.md @@ -6,9 +6,11 @@ question: "How can I filter for a text AND without specific due date (equivalent Back to the [FAQ](/support/faq) -Q: How can I filter for a text AND without specific due date (equivalent to google search -keyword)? - -A: Your question doesn't make much sense, since a task can only have one due date. +{{< question >}} +### How can I filter for a text AND without specific due date (equivalent to google search -keyword)? +{{< /question >}} +{{< answer >}} +Your question doesn't make much sense, since a task can only have one due date. You can do task due.is:date1 due:isnt:date2 list @@ -17,4 +19,4 @@ But again, that's just the same as using only the "due.is" filter. If you meant filtering the task description, you can similarly do task desc.has:foo desc.hasnt:bar list - +{{< /answer >}} diff --git a/content/support/faq/faq.task.042.md b/content/support/faq/faq.task.042.md index f9aead9a..e4468476 100644 --- a/content/support/faq/faq.task.042.md +++ b/content/support/faq/faq.task.042.md @@ -6,10 +6,12 @@ question: "How can I prevent renumbering of tasks' ids?" Back to the [FAQ](/support/faq) -Q: How can I prevent renumbering of tasks' ids? +{{< question >}} +### How can I prevent renumbering of tasks' ids? After I have marked a task as complete or have deleted it, the ids of the remaining change. How can I prevent task of doing so? - -A: You can disable the renumber, but it's there for a reason, a very good reason, which is performance. +{{< /question >}} +{{< answer >}} +You can disable the renumber, but it's there for a reason, a very good reason, which is performance. Without the renumbering, Taskwarrior response time will grow proportional to the total number of pending and completed tasks. See ID Numbers for details. @@ -27,4 +29,4 @@ rc.gc=off e.g. task list rc.gc=off - +{{< /answer >}} diff --git a/content/support/faq/faq.task.043.md b/content/support/faq/faq.task.043.md index 40fb93eb..9bbddf23 100644 --- a/content/support/faq/faq.task.043.md +++ b/content/support/faq/faq.task.043.md @@ -6,9 +6,11 @@ question: "How do I sort a report by tasks' due-dates and then their description Back to the [FAQ](/support/faq) -Q: How do I sort a report by tasks' due-dates and then their descriptions? - -A: Take a report, here the "list" report as example and modify it to meet your own requirements (expecially the variable called report.list.sort): +{{< question >}} +### How do I sort a report by tasks' due-dates and then their descriptions? +{{< /question >}} +{{< answer >}} +Take a report, here the "list" report as example and modify it to meet your own requirements (expecially the variable called report.list.sort): $ task show report.list @@ -56,4 +58,4 @@ report.own.labels ID,Proj,Pri,Due,Active,Age,Description report.own.sort due+,description+ Try it with task own - +{{< /answer >}} diff --git a/content/support/faq/faq.task.044.md b/content/support/faq/faq.task.044.md index 584058b8..826ce3d9 100644 --- a/content/support/faq/faq.task.044.md +++ b/content/support/faq/faq.task.044.md @@ -6,9 +6,11 @@ question: "What should I never, ever do?" Back to the [FAQ](/support/faq) -Q: What should I never, ever do? - -A: Parse the data file yourself +{{< question >}} +### What should I never, ever do? +{{< /question >}} +{{< answer >}} +Parse the data file yourself Use Dropbox and assume that it merges tasks Track time using Taskwarrior, until it actually supports that feature Write a third-party script that ignores $(task --version) @@ -16,4 +18,4 @@ Write a third-party script that ignores $(task --version) A: Never ever manipulate the data files with an editor or self-written scripts and programs. Note: I don't think that deserves a "never ever". I've modified the data files by hand (and by script) with no issues. A better qualification is "make sure you know what you're doing" and "don't complain if something breaks". - +{{< /answer >}} diff --git a/content/support/faq/faq.task.045.md b/content/support/faq/faq.task.045.md index 11d5bf8d..f315a418 100644 --- a/content/support/faq/faq.task.045.md +++ b/content/support/faq/faq.task.045.md @@ -6,7 +6,8 @@ question: "How to show tasks done today?" Back to the [FAQ](/support/faq) -Q: How to show tasks done today? +{{< question >}} +### How to show tasks done today? 'm feeling stupid as it should be trivial. I've completed some tasks with: done @@ -26,8 +27,9 @@ But none of them are showing anything. EDIT: I'm using tasksh UPDATE: See comments on Renato's accepted answer - -A: You can use one of: +{{< /question >}} +{{< answer >}} +You can use one of: task com task completed @@ -43,4 +45,4 @@ The following examples should work: task com end.after:today task completed end.after:today - +{{< /answer >}} diff --git a/content/support/faq/faq.task.046.md b/content/support/faq/faq.task.046.md index 2180cf12..60986158 100644 --- a/content/support/faq/faq.task.046.md +++ b/content/support/faq/faq.task.046.md @@ -5,11 +5,13 @@ topic: "Taskwarrior" Back to the [FAQ](/support/faq) -Q: Which principles build the foundation for task? - -A: Open source is the best way to write software +{{< question >}} +### Which principles build the foundation for task? +{{< /question >}} +{{< answer >}} +Open source is the best way to write software Open formats like JSON don't restrict users Flexibility with lots of features yields strange and wonderful real-world use-cases Scriptability is good Performance is important - +{{< /answer >}} diff --git a/content/support/faq/faq.task.047.md b/content/support/faq/faq.task.047.md index 2af24c12..baca5d31 100644 --- a/content/support/faq/faq.task.047.md +++ b/content/support/faq/faq.task.047.md @@ -6,7 +6,8 @@ question: "combine multiple conditions in filter" Back to the [FAQ](/support/faq) -Q: combine multiple conditions in filter +{{< question >}} +### combine multiple conditions in filter I was trying to combine multiple conditions in the filter with and/ or between them. @@ -21,8 +22,9 @@ I have tried escaping the brackets using " as shown above, single quote ' and a The error is the same. What am I doing wrong and how do I set it right? - -A: You're not doing anything wrong, this looks like a parser bug. Adding a space before the closing ")" can be used as a workaround: +{{< /question >}} +{{< answer >}} +You're not doing anything wrong, this looks like a parser bug. Adding a space before the closing ")" can be used as a workaround: task project:P1 and "(due.before:tomorrow or sch.before:tomorrow )" If you want to see where Taskwarrior goes wrong, try running it like this: @@ -33,4 +35,4 @@ and notice how the closing ")" is assumed to be part of the schedule date. The good news is that this will "magically" be fixed in Taskwarrior 2.4.0, which comes with a new and more powerful parser. Still, you might want to open a bug report so Paul doesn't miss this as a potential test case before releasing 2.4.0 - +{{< /answer >}} diff --git a/content/support/faq/faq.task.048.md b/content/support/faq/faq.task.048.md index f1ef9261..6d7cbf5b 100644 --- a/content/support/faq/faq.task.048.md +++ b/content/support/faq/faq.task.048.md @@ -6,18 +6,20 @@ question: "ERROR: '-2146375696' is not a valid date in the 'm/d/Y' format." Back to the [FAQ](/support/faq) -Q: ERROR: '-2146375696' is not a valid date in the 'm/d/Y' format. +{{< question >}} +### ERROR: '-2146375696' is not a valid date in the 'm/d/Y' format. I receive this error in my taskd.log when syncing with Mirakel but haven't yet figured our what it caused. Apparently there is a task in 2038, at least I guess, because 2146375696 is the timestamp for 2038. Any ideas where/how to identify the faulty task and how to fix it? Thanks! - -A: Well, after investigating more and more, especially grep'ing through both local data and server data (tx.data) I found my faulty data which caused the error. I haven't figured out what caused the faulty data - who should be clear ... me Lächeln :) +{{< /question >}} +{{< answer >}} +Well, after investigating more and more, especially grep'ing through both local data and server data (tx.data) I found my faulty data which caused the error. I haven't figured out what caused the faulty data - who should be clear ... me Lächeln :) There was one task in tx.data (server) which had the following wait "19011226T163144Z" and after being "gentle" [1] to it, my problem seems to be solved. No more error messages and sync works again just fine. [1] "gentle" in terms of deleting everything from tx.data that belongs to the faulty task. A: That 1901 date will do it. I wonder how that got there. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.049.md b/content/support/faq/faq.task.049.md index 22fa8ee7..d2d437d3 100644 --- a/content/support/faq/faq.task.049.md +++ b/content/support/faq/faq.task.049.md @@ -8,7 +8,8 @@ Back to the [FAQ](/support/faq) Back to the [FAQ](/support/faq) -Q: How can I add tasks in batch mode? +{{< question >}} +### How can I add tasks in batch mode? I want to add a text file with a list of tasks in its task's syntax via a single command: Water the plants. pro:garden recur:3days due:tom @@ -17,8 +18,9 @@ Fill out tax declaration. due:20140514 Call Tom re. idea +1 123 45678 sched:tom ... How can I do that? - -A: Another variant which could be done as function as well. +{{< /question >}} +{{< answer >}} +Another variant which could be done as function as well. sed 's/^/task add /' my_task.txt | $SHELL @@ -33,4 +35,4 @@ tbatch my_tasks.txt This does not check against valid syntax. Any invalid line is not being added by task (see the output for details). - +{{< /answer >}} diff --git a/content/support/faq/faq.task.050.md b/content/support/faq/faq.task.050.md index 9ecdb49a..0fc648c0 100644 --- a/content/support/faq/faq.task.050.md +++ b/content/support/faq/faq.task.050.md @@ -6,15 +6,17 @@ question: "Sort on due or scheduled" Back to the [FAQ](/support/faq) -Q: Sort on due or scheduled +{{< question >}} +### Sort on due or scheduled I want tasks sorted in the increasing order of due or scheduled date. So, task due on 2014-05-06 is followed by the task scheduled on 2014-05-07 is followed by a task due on 2014-05-08, etc. Any way to accomplish this? - -A: So you want ascending order, not descending order of due dates. +{{< /question >}} +{{< answer >}} +So you want ascending order, not descending order of due dates. Whichever report you are referring to (you didn't mention) has a sort order defined. Look at the sort order with this: @@ -54,4 +56,4 @@ A: I see. That's not supported. I'm not sure it even makes sense. A: in certain workflows (mine, for instance), it does make sense :) I wish I could use a filter that says (due OR sche)+ A: You can - a filter is a different animal than a sort. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.051.md b/content/support/faq/faq.task.051.md index b8593912..535aeb96 100644 --- a/content/support/faq/faq.task.051.md +++ b/content/support/faq/faq.task.051.md @@ -6,10 +6,12 @@ question: "Can I add due date to blocked task: \"30 days after blocking task is Back to the [FAQ](/support/faq) -Q: Can I add due date to blocked task: "30 days after blocking task is done"? +{{< question >}} +### Can I add due date to blocked task: "30 days after blocking task is done"? I have two tasks. Task A is blocking task B. Task B could be started only after completing task A, and it will take some time to complete. I would like to automatically add due date to task B (30 days for example) after task A is complete. Is this possible? - -A: Short answer: +{{< /question >}} +{{< answer >}} +Short answer: Not at the moment and not automatically. Long answer: @@ -21,4 +23,4 @@ If you know the code versioning tool Git, the "event hooks" that I'm talking abo So as of now Taskwarrior doesn't support triggering events, even less events that affect other tasks. This has been added as a feature request. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.052.md b/content/support/faq/faq.task.052.md index 52075554..4b1f24d2 100644 --- a/content/support/faq/faq.task.052.md +++ b/content/support/faq/faq.task.052.md @@ -6,17 +6,19 @@ question: "How to add 'active' filter in complicated query?" Back to the [FAQ](/support/faq) -Q: How to add 'active' filter in complicated query? +{{< question >}} +### How to add 'active' filter in complicated query? If I do so: task due.before:3d or priority:H or active I have such response: There are not enough operands for the 'or' operator. - -A: "active" is a report and not a filter. +{{< /question >}} +{{< answer >}} +"active" is a report and not a filter. Try task \( due.before:3d or priority:H \) active - +{{< /answer >}} diff --git a/content/support/faq/faq.task.053.md b/content/support/faq/faq.task.053.md index 71ab371c..8bc7b08e 100644 --- a/content/support/faq/faq.task.053.md +++ b/content/support/faq/faq.task.053.md @@ -8,12 +8,14 @@ Back to the [FAQ](/support/faq) Back to the [FAQ](/support/faq) -Q: Is it possible to specify urgency when no project is assigned? +{{< question >}} +### Is it possible to specify urgency when no project is assigned? The idea behind this question is when you quickly add a task (just not to forget it), but don't have the time to classify it precisely (with tags and or projects) This way when task next is launched, the "new and unspecified" task jumps to the top of the list so that I can classify them in priority (once correctly classified, they will drop at their expected urgency level) - -A: Taskwarrior calculates "urgency" based on several values called coefficients. +{{< /question >}} +{{< answer >}} +Taskwarrior calculates "urgency" based on several values called coefficients. These can be listed using task show coeff and by reading the manpage man taskrc. @@ -31,4 +33,4 @@ report.review.filter proj: tags: due: pri: (add more filters here) and customize the report.review.filter line to match what you consider new and unspecified tasks. Then you can simply run task review to list tasks that require further metadata processing. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.054.md b/content/support/faq/faq.task.054.md index e9b2de17..7e2ca4e5 100644 --- a/content/support/faq/faq.task.054.md +++ b/content/support/faq/faq.task.054.md @@ -6,14 +6,16 @@ question: "Why the date \"18 January 2038\" with :later or :someday?" Back to the [FAQ](/support/faq) -Q: Why the date "18 January 2038" with :later or :someday? +{{< question >}} +### Why the date "18 January 2038" with :later or :someday? I would like to know what is the significance of the date "18 of January of 2038" which is issued when :later or :someday is used, in particular with wait. Is there something that the Taskwarrior developers know about the future that we don't? - -A: The simple answer: This date is the most far in the future date that can be represented safely on a computer. +{{< /question >}} +{{< answer >}} +The simple answer: This date is the most far in the future date that can be represented safely on a computer. The technical answer: This is a software limitation of how dates are represented in today's computers, in particular in Unix based systems. If you have heard about the 2000 year bug, well there's another one in 2038. This Wikipedia article explains it really well. A: At some point we'll keep stored dates in ISO form, not 32-bit epoch form, which will allow any date. It is also possible that we use 64-bit time_t. But not yet. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.055.md b/content/support/faq/faq.task.055.md index 4e43147a..837a6579 100644 --- a/content/support/faq/faq.task.055.md +++ b/content/support/faq/faq.task.055.md @@ -6,15 +6,17 @@ question: "Change start time" Back to the [FAQ](/support/faq) -Q: Change start time +{{< question >}} +### Change start time Hello All, I forgot to start some tasks and therefore would like to modify the start time of those. Is it possible? Thanks for the great work! - -A: how is this with version 2.5.1 (unfortunately I cant use Timewarrior with Taskwarrior) +{{< /question >}} +{{< answer >}} +how is this with version 2.5.1 (unfortunately I cant use Timewarrior with Taskwarrior) task 54 mod start:161213_0700 works (with dateformat yMD_HN), regardles if the stask is active or non-active, thats nice. But `task 54 mod stop:161213_0710` does not work. How can that be done? - +{{< /answer >}} diff --git a/content/support/faq/faq.task.056.md b/content/support/faq/faq.task.056.md index 5dbf0894..9ffab94f 100644 --- a/content/support/faq/faq.task.056.md +++ b/content/support/faq/faq.task.056.md @@ -6,9 +6,11 @@ question: "How can I write a test for task?" Back to the [FAQ](/support/faq) -Q: How can I write a test for task? - -A: Copied from TW-1334 (pbeckingham): +{{< question >}} +### How can I write a test for task? +{{< /question >}} +{{< answer >}} +Copied from TW-1334 (pbeckingham): Here is the basic form: @@ -25,4 +27,4 @@ Look at the Python tests specifically, as we are only accepting new test scripts There is documentation on running the tests: https://taskwarrior.org/docs/build.html - +{{< /answer >}} diff --git a/content/support/faq/faq.task.057.md b/content/support/faq/faq.task.057.md index 87d1c87c..e3cc8569 100644 --- a/content/support/faq/faq.task.057.md +++ b/content/support/faq/faq.task.057.md @@ -6,7 +6,8 @@ question: "Can you use whitespace in project names?" Back to the [FAQ](/support/faq) -Q: Can you use whitespace in project names? +{{< question >}} +### Can you use whitespace in project names? When I try to set a project name containing whitespace, task tries to set the project name to the first whitespace-separated token and then replace the existing task description with the rest of the string. Example: @@ -15,8 +16,9 @@ $ task 19 modify proj:"Max Bedroom" - Project will be changed from 'max_bedroom' to 'Max'. Modify task 19 'Bedroom'? (yes/no) I'm assuming at this point that this is by design, but wasn't able to find anything substantiating this in the docs, so I thought I'd throw the question out here. If I can't use whitespace in the project description, is there another way to add some additional descriptive text to a project? - -A: On the project description itself: +{{< /question >}} +{{< answer >}} +On the project description itself: I think it's a bug. Work around it via changing the project text it in an editor: @@ -44,4 +46,4 @@ You may end up with something like the following: Is this a qualified answer to your question? Kindly note if I have misunderstood you in any point. Have I been able to help you solving your problem? - +{{< /answer >}} diff --git a/content/support/faq/faq.task.058.md b/content/support/faq/faq.task.058.md index 78b964ff..d9b017cc 100644 --- a/content/support/faq/faq.task.058.md +++ b/content/support/faq/faq.task.058.md @@ -6,7 +6,8 @@ question: "Are subtasks possible" Back to the [FAQ](/support/faq) -Q: Are subtasks possible +{{< question >}} +### Are subtasks possible I like to divide tasks into smaller subtasks. I normally maintain a normal text file for my todos. An example would be like this: @@ -36,8 +37,9 @@ clean your apartment In Taskwarrior I tried to create projects and subprojects, but only the subprojects have tasks via this system. The Project would be "Clean your apartment" and the tasks "Clean the bathroom" or "Clean the kitchen" would be subprojects. The "task report summary" command shows a good summary, but I think I am overseeing a way to handle my case. - -A: The way Taskwarrior implements subtasks is by creating tasks that depend on other tasks, effectively making one a subtask of the other. +{{< /question >}} +{{< answer >}} +The way Taskwarrior implements subtasks is by creating tasks that depend on other tasks, effectively making one a subtask of the other. You can define a task to be dependent on another by using the depends: filter like so. @@ -65,4 +67,4 @@ ID Description Urg -- ------------ ---- 1 Subtask A 9 2 Subtask B 9 - + {{< /answer >}} diff --git a/content/support/faq/faq.task.059.md b/content/support/faq/faq.task.059.md index fb6db19a..9041601d 100644 --- a/content/support/faq/faq.task.059.md +++ b/content/support/faq/faq.task.059.md @@ -6,13 +6,15 @@ question: "How can I find out where tests are needed?" Back to the [FAQ](/support/faq) -Q: How can I find out where tests are needed? +{{< question >}} +### How can I find out where tests are needed? 'd like to contribute to Taskwarrior by writing tests. Where can I find what to do and what part of the code needs testing? - -A: In addition to unittests (low level), both Taskwarrior and more recently taskd follow a policy of having tests for every valid bug report. These work both as integration (ensure user experience matches expectations) as well as regression tests (ensure that we don't re-introduce bugs that were there before). +{{< /question >}} +{{< answer >}} +In addition to unittests (low level), both Taskwarrior and more recently taskd follow a policy of having tests for every valid bug report. These work both as integration (ensure user experience matches expectations) as well as regression tests (ensure that we don't re-introduce bugs that were there before). With that said, the best way to find out where tests are needed is to search the Issue tracker for reports that either have the needsTest label (you can use this link) or that present a problem/bug with a reproducible scenario that needs to be converted to a testCase (these should also be given the needsTest label). @@ -28,4 +30,4 @@ Coming up with one or two commands to illustrate the problem, and therefore what For example, take a look at the commands Benjamin added to TW-1334 - task mod description:"word1 word2" fails to handle space RESOLVED . Those make it very clear what the problem is, and form a great basis for writing a unit test. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.060.md b/content/support/faq/faq.task.060.md index 0059aa89..1c831b0a 100644 --- a/content/support/faq/faq.task.060.md +++ b/content/support/faq/faq.task.060.md @@ -6,12 +6,14 @@ question: "How to annotate to a project?" Back to the [FAQ](/support/faq) -Q: How to annotate to a project? +{{< question >}} +### How to annotate to a project? Can I add an annotation to an entire project instead of its tasks individually? - -A: You can add the same annotation to each task in a project like this: +{{< /question >}} +{{< answer >}} +You can add the same annotation to each task in a project like this: $ task project:WORK annotate ... But you cannot directly annotate the project, because it does not exist - it's just an attribute of tasks. The project is itself not an entity. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.061.md b/content/support/faq/faq.task.061.md index 83554fde..230a66c8 100644 --- a/content/support/faq/faq.task.061.md +++ b/content/support/faq/faq.task.061.md @@ -6,10 +6,12 @@ question: "How to add an event?" Back to the [FAQ](/support/faq) -Q: How to add an event? +{{< question >}} +### How to add an event? How can I add an event that will occur some day. E.g. I have a test in the day 06, so instead of add it as a task how could I add this event in the Taskwarrior for it appears in the callendar but doesn't appear in the task list? - -A: Find out which dateformat for holidays you are using: +{{< /question >}} +{{< answer >}} +Find out which dateformat for holidays you are using: $ task show dateformat.holiday @@ -19,4 +21,4 @@ and add dates accordingly. $ task config holiday.sysadmin.date 20140725 $ task config holiday.sysadmin.name "System Administrator Appreciation Day" - +{{< /answer >}} diff --git a/content/support/faq/faq.task.062.md b/content/support/faq/faq.task.062.md index 6ec07929..5ca6c304 100644 --- a/content/support/faq/faq.task.062.md +++ b/content/support/faq/faq.task.062.md @@ -6,8 +6,10 @@ question: "how can I make task conform to the XDG Base Directory Specification?" Back to the [FAQ](/support/faq) -Q: how can I make task conform to the XDG Base Directory Specification? +{{< question >}} +### how can I make task conform to the XDG Base Directory Specification? Whether or not Taskwarrior should conform the XDG Base Directory Specification has been debated for years, and while it's possible to make it conform, it's arguable whether the developers should do so, for the general release. That said, if I wanted to follow the conventions for MY install of Taskwarrior, how would I go about it? - -A: Essentially, you're talking about relocating the .taskrc file and .task directory, correct? If so, the task man page mentions the TASKRC and TASKDATA environment variables. Add them to your shell's .profile, .bashrc, or equivalent, and you should be all set. - +{{< /question >}} +{{< answer >}} +Essentially, you're talking about relocating the .taskrc file and .task directory, correct? If so, the task man page mentions the TASKRC and TASKDATA environment variables. Add them to your shell's .profile, .bashrc, or equivalent, and you should be all set. +{{< /answer >}} diff --git a/content/support/faq/faq.task.063.md b/content/support/faq/faq.task.063.md index 01b331b1..0b033675 100644 --- a/content/support/faq/faq.task.063.md +++ b/content/support/faq/faq.task.063.md @@ -6,13 +6,15 @@ question: "Can I add a start date to each recurring task?" Back to the [FAQ](/support/faq) -Q: Can I add a start date to each recurring task? +{{< question >}} +### Can I add a start date to each recurring task? Is it possible to set the start date of a recurring task to the date that the task is due? - -A: You can do this now, but only using shell tricks. +{{< /question >}} +{{< answer >}} +You can do this now, but only using shell tricks. For example: $ task 123 modify start:$(task _get 456.due) This is untested, but serves to illustrate that there are ways to manipulate data in the shell that are not available inside Taskwarrior. The upcoming 2.4.0 release will greatly improve this and will support what you are looking for - stay tuned. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.064.md b/content/support/faq/faq.task.064.md index 60a1464c..f1a7f341 100644 --- a/content/support/faq/faq.task.064.md +++ b/content/support/faq/faq.task.064.md @@ -6,7 +6,8 @@ question: "How to share a task between users?" Back to the [FAQ](/support/faq) -Q: How to share a task between users? +{{< question >}} +### How to share a task between users? Or... is it "Organization" parameter in user creation useful at the moment? Here: https://taskwarrior.org/docs/server_user.html @@ -20,10 +21,11 @@ Is it actually possible to view/edit task of different users? Task can be edited by people in the same organization or in the same project? Cheers and thanks for the nice work - -A: The key phrase there is "Future features will utilize this". +{{< /question >}} +{{< answer >}} +The key phrase there is "Future features will utilize this". Taskserver will gain the ability to create shared lists (groups), and to transfer tasks between users. But not yet. If you wish to share a task list now, you need to put the files in a common location, with read/write access to all, and hope that every client enables file locking. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.065.md b/content/support/faq/faq.task.065.md index 5423c2ac..d5c98505 100644 --- a/content/support/faq/faq.task.065.md +++ b/content/support/faq/faq.task.065.md @@ -6,16 +6,18 @@ question: "How does task id numbering work and how do I keep them below 1000?" Back to the [FAQ](/support/faq) -Q: How does task id numbering work and how do I keep them below 1000? +{{< question >}} +### How does task id numbering work and how do I keep them below 1000? I have quite a few recurring tasks, several daily ones which are responsible for bumping up the task id number each day. I'm hoping you can ELI5 how the task id's increment in light of recurring/completed/deleted tasks. Also how do keep the number relative to the number of actual tasks? ie, at the moment I have 266 tasks but the numbering is over 300/ - -A: Take a look at the online docs: https://taskwarrior.org/docs/ids.html +{{< /question >}} +{{< answer >}} +Take a look at the online docs: https://taskwarrior.org/docs/ids.html Short answer: 'id' is the line number inside the pending.data file. To keep task IDs under 1000, keep the number of pending, recurring and waiting tasks under 1000. The discrepancy between the 266 and 300 are the hidden tasks, which are those with a wait date, and the recurring template tasks. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.066.md b/content/support/faq/faq.task.066.md index b70e7783..58c54749 100644 --- a/content/support/faq/faq.task.066.md +++ b/content/support/faq/faq.task.066.md @@ -6,7 +6,8 @@ question: "Batch delete by tag or description." Back to the [FAQ](/support/faq) -Q: Batch delete by tag or description. +{{< question >}} +### Batch delete by tag or description. The issue I have with recurring tasks is how many of them show up and how they seem to multiply like rabbits. Can I delete all recurring tasks containing a certain description or a tag in one swoop, instead of deleting them by id? @@ -35,8 +36,9 @@ Kind of a drag. What I'm asking is if there's a better way. Say, deleting all recurring instances of a task by tag instead of having to specify each task id, without deleting the parent task? - -A: Maybe you have to understand a basic concept. +{{< /question >}} +{{< answer >}} +Maybe you have to understand a basic concept. In case you want to delete by tag or description, you should take a look, which tasks match your filter: @@ -51,4 +53,4 @@ is more like the resultset you wish to delete. You can find the parent tasks with task +tag status:recurring all - +{{< /answer >}} diff --git a/content/support/faq/faq.task.067.md b/content/support/faq/faq.task.067.md index 9121bf76..6cac2a88 100644 --- a/content/support/faq/faq.task.067.md +++ b/content/support/faq/faq.task.067.md @@ -6,7 +6,8 @@ question: "Task Organization for offroad fabricators" Back to the [FAQ](/support/faq) -Q: Task Organization for offroad fabricators +{{< question >}} +### Task Organization for offroad fabricators Hello fellow Taskwarrior users, @@ -26,8 +27,9 @@ How to improve my reminders and delays? How can I bring online parts into play? Can I add some sort of price so I can budget the parts and my monthly income to best order the ones that i need first? Please any advise is welcome. - -A: Hi there Alfredo, +{{< /question >}} +{{< answer >}} +Hi there Alfredo, It seems to me that you are trying to squeeze too much "methodology" into Taskwarrior going beyond the uses for which Taskwarrior was designed. @@ -46,4 +48,4 @@ With existing tasks you can use: task task_id mod wait:5d to have the task show up 5 days from now. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.068.md b/content/support/faq/faq.task.068.md index 079c26ee..75a19802 100644 --- a/content/support/faq/faq.task.068.md +++ b/content/support/faq/faq.task.068.md @@ -6,7 +6,8 @@ question: "Modifying End Dates" Back to the [FAQ](/support/faq) -Q: Modifying End Dates +{{< question >}} +### Modifying End Dates Some days I forget to log the "extra" tasks that I picked up and completed throughout the day. The next morning, I wish to log these tasks as completed on the previous day. I can't figure out the syntax for these. @@ -21,9 +22,10 @@ mod complete.yesterday How do I make this happen? - -A: Try this: +{{< /question >}} +{{< answer >}} +Try this: $ task log "task desc." end:yesterday Taskwarrior will warn you, but that is just a warning. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.069.md b/content/support/faq/faq.task.069.md index 5b8bc566..e6ea149f 100644 --- a/content/support/faq/faq.task.069.md +++ b/content/support/faq/faq.task.069.md @@ -6,17 +6,19 @@ question: "Is it possible to color all task having a specific tag?" Back to the [FAQ](/support/faq) -Q: Is it possible to color all task having a specific tag? +{{< question >}} +### Is it possible to color all task having a specific tag? Is it possible to color all task have a specific tag? I know I can colorize tasks having tags (e.g. task config color.tagged grey225). In my case it would be nice to have tasks tagged with "foo" colorizied in different color that other tagged tasks. Can this be done in task 2.3.0? - -A: Sure, just create several rules like this: +{{< /question >}} +{{< answer >}} +Sure, just create several rules like this: task config color.tag.foo grey225 task config color.tag.bar red See 'man taskrc' for full details. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.070.md b/content/support/faq/faq.task.070.md index e34f8b71..63ec1306 100644 --- a/content/support/faq/faq.task.070.md +++ b/content/support/faq/faq.task.070.md @@ -6,17 +6,19 @@ question: "What is the best way to manage appointments in Taskwarrior?" Back to the [FAQ](/support/faq) -Q: What is the best way to manage appointments in Taskwarrior? +{{< question >}} +### What is the best way to manage appointments in Taskwarrior? An appointment shall be characterized by a start date and time, and an optional duration. The appointment should appear in some reports and/or calendars. Appointments should be ordered by start date/time. - -A: Even if it is pretty close: Taskwarrior is not a calendar it is a "ToDo List on Steroids". +{{< /question >}} +{{< answer >}} +Even if it is pretty close: Taskwarrior is not a calendar it is a "ToDo List on Steroids". Nevertheless it is possible to give tasks an due timestamp consisting of date and time. To separate it from "normal" ToDo-items I recommend setting a tag like (say) +appointment, which makes filtering pretty easy. Tasks with due dates are shown in reports and calendars and are ordered by date and time. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.071.md b/content/support/faq/faq.task.071.md index 579ee732..a8d79eb0 100644 --- a/content/support/faq/faq.task.071.md +++ b/content/support/faq/faq.task.071.md @@ -6,15 +6,17 @@ question: "There is Taskjuggler integration?" Back to the [FAQ](/support/faq) -Q: There is Taskjuggler integration? +{{< question >}} +### There is Taskjuggler integration? Taskjuggler is a project manager that can manage resources, milestones, costs and tasks, and can also show reports in several formats (like gantt charts) Well... Taskwarrior is good for manage task, but its project management is poor (projects works like simple tags in some tasks). But Taskjuggler has an awesome project management. So, there is a way to integrate taskjuggler and Taskwarrior to, for example, have the tasks from a project in taskjuggler being listed in Taskwarrior? There is a plugin or something? - -A: If it's not listed on the Tools official page it's either not known to Taskwarrior developers or it doesn't exist yet. +{{< /question >}} +{{< answer >}} +If it's not listed on the Tools official page it's either not known to Taskwarrior developers or it doesn't exist yet. With that said, if you are after integration with Taskjuggler or any other tool, I suggest you start by reading the 3rd-party integration guidelines. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.072.md b/content/support/faq/faq.task.072.md index bbd8450a..43c3ebf8 100644 --- a/content/support/faq/faq.task.072.md +++ b/content/support/faq/faq.task.072.md @@ -6,7 +6,8 @@ question: "information about coding style" Back to the [FAQ](/support/faq) -Q: information about coding style +{{< question >}} +### information about coding style Hi. @@ -30,8 +31,9 @@ Or is there some formatting only done by eye or smell? Any tips are highly appreciated, not only for Perl. Thanks - -A: You're absolutely right - there is nothing written down, and it's done partly by smell. +{{< /question >}} +{{< answer >}} +You're absolutely right - there is nothing written down, and it's done partly by smell. I was hoping to avoid the need to write down coding conventions by language, by making the coding standard this: Make all changes and additions such that they blend in perfectly with the surrounding code, so it looks like only one person worked on the source, and that person is rigidly consistent. @@ -47,4 +49,4 @@ I will add a page to the site, containing the above, and we can develop it furth Edit: https://taskwarrior.org/docs/coding_style.html - +{{< /answer >}} diff --git a/content/support/faq/faq.task.073.md b/content/support/faq/faq.task.073.md index 7c5a95e7..7c7d6f77 100644 --- a/content/support/faq/faq.task.073.md +++ b/content/support/faq/faq.task.073.md @@ -6,7 +6,8 @@ question: "Prevent modify all tasks" Back to the [FAQ](/support/faq) -Q: Prevent modify all tasks +{{< question >}} +### Prevent modify all tasks When "mod" is typed before a task it asks "This command has no filter, and will modify all tasks. Are you sure?" @@ -15,8 +16,9 @@ Seeing as I can't forsee a situation where I'd want to modify ALL tasks and it's $ task mod 456 blah blah blah Nope, try again. - -A: You could use a simple shell function to check the first parameter. +{{< /question >}} +{{< answer >}} +You could use a simple shell function to check the first parameter. task () { if [[ $1 == "mod"* ]]; then @@ -33,4 +35,4 @@ You'll be able to specify: allow.empty.filter=no which will cause Taskwarrior to simply fail when a write command with no filter is run. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.074.md b/content/support/faq/faq.task.074.md index 2528179c..8e510d5c 100644 --- a/content/support/faq/faq.task.074.md +++ b/content/support/faq/faq.task.074.md @@ -6,11 +6,13 @@ question: "Sort by date modified" Back to the [FAQ](/support/faq) -Q: Sort by date modified +{{< question >}} +### Sort by date modified How can I sort the tasks by date modified? - -A: You could define a report. +{{< /question >}} +{{< answer >}} +You could define a report. Btw. if you name the report mod as in this example, you have also a solution for your other question. Instead of Nope, try again. you will get (most likely) No matches. @@ -27,4 +29,4 @@ task sortMod A: You can also use a one-time override for this, although creating/modifying a report is the correct answer: $ task rc.report.list.sort=modified- list - +{{< /answer >}} diff --git a/content/support/faq/faq.task.075.md b/content/support/faq/faq.task.075.md index 5957361a..a1609234 100644 --- a/content/support/faq/faq.task.075.md +++ b/content/support/faq/faq.task.075.md @@ -6,7 +6,8 @@ question: "Custom report by tag, project and dependency" Back to the [FAQ](/support/faq) -Q: Custom report by tag, project and dependency +{{< question >}} +### Custom report by tag, project and dependency I'm pretty ignorant when it comes to making custom reports so bear with me. @@ -41,7 +42,8 @@ Then my tasks are sorted by the people involved and the project dependencies (as How do I set this up as one command? - -A: The simplest way is to put the above commands in a shell script. +{{< /question >}} +{{< answer >}} +The simplest way is to put the above commands in a shell script. Insert an 'echo' command between task commands to create titles. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.076.md b/content/support/faq/faq.task.076.md index fe4af73b..ac33a2e2 100644 --- a/content/support/faq/faq.task.076.md +++ b/content/support/faq/faq.task.076.md @@ -6,11 +6,13 @@ question: "Can I create a recurring task which repeats based on the date of comp Back to the [FAQ](/support/faq) -Q: Can I create a recurring task which repeats based on the date of completion, rather than the due date? +{{< question >}} +### Can I create a recurring task which repeats based on the date of completion, rather than the due date? Example: Have a task to clean your pet's cage weekly; if you do it a few days early, then the new task should be generated 7 days from the date of completion. - -A: This is not supported. +{{< /question >}} +{{< answer >}} +This is not supported. But there is hope. Since adding recurrence to Taskwarrior we have learned over the years that there are different types of recurrence. @@ -26,4 +28,4 @@ A: I was really missing this feature, so I at least put together a hook simulati It is available on GitHub: https://github.com/JensErat/task-relative-recur - +{{< /answer >}} diff --git a/content/support/faq/faq.task.077.md b/content/support/faq/faq.task.077.md index 02730121..b739aa20 100644 --- a/content/support/faq/faq.task.077.md +++ b/content/support/faq/faq.task.077.md @@ -6,7 +6,8 @@ question: "How to show tasks done over given period of time?" Back to the [FAQ](/support/faq) -Q: How to show tasks done over given period of time? +{{< question >}} +### How to show tasks done over given period of time? I'd like a report that shows all tasks completed over a given period of time. @@ -17,9 +18,10 @@ Beginning of week Since last week (7 days ago, even better excluding weekends) Only show tasks completed with certain project names Etc... - -A: You need something like this: +{{< /question >}} +{{< answer >}} +You need something like this: $ task end.after:2014-09-01 completed You could of course define your own reports, each with suitable filters like this. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.078.md b/content/support/faq/faq.task.078.md index 9b82882f..8a730d9b 100644 --- a/content/support/faq/faq.task.078.md +++ b/content/support/faq/faq.task.078.md @@ -6,7 +6,8 @@ question: "Excluding tasks from a report?" Back to the [FAQ](/support/faq) -Q: Excluding tasks from a report? +{{< question >}} +### Excluding tasks from a report? I mainly rely on tags for making reports @@ -19,8 +20,9 @@ Is there a way to exclude tasks that contain a certain tag, or that are low prio task +somebody -dothislater >> myreport.txt task +someoneelse -waitingonsomething >> myreport.txt task +someoneelse -pri:L>> myreport.txt - -A: Actually, you are providing your answer. +{{< /question >}} +{{< answer >}} +Actually, you are providing your answer. task +somebody -dothislater >> myreport.txt Is exactly how you should do it. @@ -34,4 +36,4 @@ You should also check man task man taskrc as these provide most of the information - +{{< /answer >}} diff --git a/content/support/faq/faq.task.079.md b/content/support/faq/faq.task.079.md index c018d314..9316cd99 100644 --- a/content/support/faq/faq.task.079.md +++ b/content/support/faq/faq.task.079.md @@ -6,7 +6,8 @@ question: "Annotations vs dependencies" Back to the [FAQ](/support/faq) -Q: Annotations vs dependencies +{{< question >}} +### Annotations vs dependencies Annotating vs dependencies @@ -36,8 +37,9 @@ task add foobar pro:projectfoo task 99 mod dep:100,101 Mainly though it's just easier to read annotations below the projects. What am I doing wrong or what do you usually do? - -A: The issue you are referring to is one that has been asked many times before in different forms. +{{< /question >}} +{{< answer >}} +The issue you are referring to is one that has been asked many times before in different forms. People end up "misusing" annotations to add things that should instead be "subtasks". Much like the last example you provide. This is currently an open issue pending design and implementation. @@ -63,4 +65,4 @@ ID Project Description 9/7/2014 Arrived. Everything ok. (set task to done) the part in parenthesis reflects my actions and is not part of the annotation. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.080.md b/content/support/faq/faq.task.080.md index 39b2792c..53904842 100644 --- a/content/support/faq/faq.task.080.md +++ b/content/support/faq/faq.task.080.md @@ -6,7 +6,8 @@ question: "How can I suppress the \"TASKDATA override\"message" Back to the [FAQ](/support/faq) -Q: How can I suppress the "TASKDATA override" message +{{< question >}} +### How can I suppress the "TASKDATA override" message Hi @@ -19,6 +20,7 @@ Thanks Fred P.S. The same goes for the "TASKRC override" message. - -A: Change your verbosity settings - "man taskrc", and look for "verbose". - +{{< /question >}} +{{< answer >}} +Change your verbosity settings - "man taskrc", and look for "verbose". +{{< /answer >}} diff --git a/content/support/faq/faq.task.081.md b/content/support/faq/faq.task.081.md index abcebe01..9dd321d2 100644 --- a/content/support/faq/faq.task.081.md +++ b/content/support/faq/faq.task.081.md @@ -6,7 +6,8 @@ question: "How to preserve tags when task is completed?" Back to the [FAQ](/support/faq) -Q: How to preserve tags when task is completed? +{{< question >}} +### How to preserve tags when task is completed? I'm running v2.3, compiled on Ubuntu 14.04 (packaged only had v2.2). When tasks are added, I usually include tags. @@ -48,8 +49,9 @@ Complete Proj Age Description UUID Thanks! - -A: Don't worry - your data is intact. +{{< /question >}} +{{< answer >}} +Don't worry - your data is intact. What you're seeing is that your default 'long' report and the 'completed' report show different task metadata. You can modify these reports if you wish them to show the same columns. @@ -57,4 +59,4 @@ Meanwhile, you can see that your tags are intact, with the 'info' report, which Try this: task ad3b5c51-8148-438c-9309-96080012f79a info - +{{< /answer >}} diff --git a/content/support/faq/faq.task.082.md b/content/support/faq/faq.task.082.md index 75109c16..23c202ed 100644 --- a/content/support/faq/faq.task.082.md +++ b/content/support/faq/faq.task.082.md @@ -6,7 +6,8 @@ question: "Modifying a completed task" Back to the [FAQ](/support/faq) -Q: Modifying a completed task +{{< question >}} +### Modifying a completed task Hi, I'm trying to uncomplete a task. @@ -31,8 +32,9 @@ What am I missing? Thanks Ed - -A: When you don't provide a command, the rc.default.command is assumed, in this case 'next'. +{{< /question >}} +{{< answer >}} +When you don't provide a command, the rc.default.command is assumed, in this case 'next'. In your second example you are combining the 'all' command, which is a read-only report, with the 'modify' command, and you can only specify one, so Taskwarrior assumes 'all' is the command, and 'modify' is part of the filter. You want this: @@ -40,4 +42,4 @@ You want this: task 4d1e6695-3f5b-4ed0-a719-c23ed7d71d7d modify status:pending This is the general form of write-commands - to the left of the command you see a filter which identifies tasks, and on the right of the command you see modifications. So the above means: find the task with uuid 4d1e6695-3f5b-4ed0-a719-c23ed7d71d7d, and modify it by setting the status attribute to pending. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.083.md b/content/support/faq/faq.task.083.md index dbef2601..e1c3dfe1 100644 --- a/content/support/faq/faq.task.083.md +++ b/content/support/faq/faq.task.083.md @@ -6,7 +6,8 @@ question: "Deleting recurring task" Back to the [FAQ](/support/faq) -Q: Deleting recurring task +{{< question >}} +### Deleting recurring task I have a parent recurring task that has been deleted but it is still present in my ~/.task/pending.data file with the following mask: @@ -26,10 +27,11 @@ I have tried to run this command (on Taskwarrior 2.3.0): $task 23c826a7-c936-49ed-9d44-1af8ee829142 delete Task 24 'pay rent' is not deletable. - -A: Yes, it is safe to delete that line from pending.data. +{{< /question >}} +{{< answer >}} +Yes, it is safe to delete that line from pending.data. But you should be able to delete it using this: task 23c826a7-c936-49ed-9d44-1af8ee829142 delete I should add that if you are syncing using Taskserver, manually deleting lines bypasses the mechanism that keeps things in sync. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.084.md b/content/support/faq/faq.task.084.md index 0a6db0bf..5c59ba82 100644 --- a/content/support/faq/faq.task.084.md +++ b/content/support/faq/faq.task.084.md @@ -6,10 +6,8 @@ question: "How to avoid side effects in Taskwarrior query?" Back to the [FAQ](/support/faq) -Q: How to avoid sideeffects in taskwarrior querry? -I use some Python script to include informations from takswarrior into other places of my Desktop Environment. I hook a function before presenting the prompt of my zsh, for example, that warns me with a custom message, if there are no tasks active. - -Q: How to avoid side effects in Taskwarrior query? +{{< question >}} +### How to avoid side effects in Taskwarrior query? I use some Python script to include information from Taskwarrior into other places of my Desktop Environment. I hook a function before presenting the prompt of my zsh, for example, that warns me with a custom message, if there are no tasks active. The way I try to get the necessary information from Taskwarrior in Python is to use subprocess.check_output or subprocess.Popen. @@ -25,8 +23,9 @@ message or in case the querry has a result, only "There are local changes. Sync required.". This output does not seem to be a result that is directly delivered by the query otherwise it would be part of the result object in the Python Script. Instead it appears wherever the script was called (For this example it is the zsh Prompt) while the resulting list of tasks is delived to the resulting oject in the python script. How is it possible to avoid this sideeffect? - -A: if you don't want to have the value set in your taskrc, you can override it at runtime with do something like `task +ACTIVE status:pending count rc.verbose=off`. +{{< /question >}} +{{< answer >}} +if you don't want to have the value set in your taskrc, you can override it at runtime with do something like `task +ACTIVE status:pending count rc.verbose=off`. A: I would recommend you to use tasklib python library for the job: @@ -45,4 +44,4 @@ $ task 1 start More documentation may be found here: https://tasklib.readthedocs.org/en/latest/ - + {{< /answer >}} diff --git a/content/support/faq/faq.task.085.md b/content/support/faq/faq.task.085.md index 9e2d23b7..82aa9b57 100644 --- a/content/support/faq/faq.task.085.md +++ b/content/support/faq/faq.task.085.md @@ -6,7 +6,8 @@ question: "Filter by end/entry/modified date" Back to the [FAQ](/support/faq) -Q: Filter by end/entry/modified date +{{< question >}} +### Filter by end/entry/modified date Filtering tasks by due date seems to work pretty well: @@ -15,8 +16,10 @@ But similar queries for `end`, `entry` or `modified` date fields don't work, e.g task status:completed end:2014-09-30 Any ideas how to do this? or is filtering by these date fields not supported? - -A: To answer my own question: +{{< /question >}} +{{< answer >}} +To answer my own question: task status:completed end:2014-09-30 all Otherwise, we're just looking at pending tasks by default. +{{< /answer >}} diff --git a/content/support/faq/faq.task.086.md b/content/support/faq/faq.task.086.md index 000111f1..cf92fc91 100644 --- a/content/support/faq/faq.task.086.md +++ b/content/support/faq/faq.task.086.md @@ -6,7 +6,8 @@ question: "Is it possible to use multiple task commands in one line?" Back to the [FAQ](/support/faq) -Q: Is it possible to use multiple task commands in one line? +{{< question >}} +### Is it possible to use multiple task commands in one line? I feel always a little bit frustrated when I finish an actie task and have to write seperately: @@ -16,8 +17,9 @@ Is there a possibility to do this in one line, like for example: $ task xx stop & done One could also imagine other scenarios. For example to add two task in one line or something similar. But my current problem is the one mentioned before. - -A: Hi Niels-Oliver, +{{< /question >}} +{{< answer >}} +Hi Niels-Oliver, In practice @@ -27,8 +29,9 @@ should be enough and should stop the clock automatically. There is/was a bug causing the clock not to stop but has been fixed in 2.4.0 which is currently in beta stage and should be out in a few weeks. There are also a couple of new features included in 2.4.0 (hooks) which will make time-tracking hopefully easier to handle. - -A: As Renato said, this particular problem is fixed in 2.4.0 +{{< /question >}} +{{< answer >}} +As Renato said, this particular problem is fixed in 2.4.0 Seeing how Taskwarrior is a commandline application though, it should be mentioned that "chaining" commands can be quite easily done by making use of your shell. For example: @@ -42,4 +45,4 @@ bf@surfbox:~$ How you can make your shell of choice load this function at startup is left as an exercise to the reader. (Putting it in ~/.bashrc works for bash.) - +{{< /answer >}} diff --git a/content/support/faq/faq.task.087.md b/content/support/faq/faq.task.087.md index d38794e9..293afcc8 100644 --- a/content/support/faq/faq.task.087.md +++ b/content/support/faq/faq.task.087.md @@ -6,12 +6,11 @@ question: "How do i manually block and unblock a task?" Back to the [FAQ](/support/faq) -Q: How do i manually block and unblock a task? +{{< question >}} +### How do i manually block and unblock a task? I would like to manually [un]block a task as if it were blocked by a adding a dependancy to another task. - - Here's my simple use case: I have a task that a can't start before my boss give me some documents (in other words: before an external event occurs). @@ -21,8 +20,9 @@ I will unblock it when i'll get theses documents. I don't know when i will get theses documents so that's why i would like to manually lock/unlock the task. - -A: At the moment the only way to block a task is to have it depend on another task. +{{< /question >}} +{{< answer >}} +At the moment the only way to block a task is to have it depend on another task. You can do this by doing: @@ -34,4 +34,4 @@ This way if you include -BLOCKED in your report filters you will only see the ta Alternatively you can use the wait: attribute to have a task "disappear" from your task list until a given point in time. Have a look at this and other answers for examples of how to use these attributes or use man task for full documentation. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.088.md b/content/support/faq/faq.task.088.md index 34654c86..f509179a 100644 --- a/content/support/faq/faq.task.088.md +++ b/content/support/faq/faq.task.088.md @@ -6,13 +6,15 @@ question: "How to change the value for sow (Start of Week)" Back to the [FAQ](/support/faq) -Q: How to change the value for sow (Start of Week) +{{< question >}} +### How to change the value for sow (Start of Week) I'm using 2.4.0 and specifying due:sow results in a weekday of Sunday but I need Monday for sow specifying weekstart in taskrc only has influence on task calendar. - -A: Not supported. +{{< /question >}} +{{< answer >}} +Not supported. It should be tied to the weekstart value. That would make a good feature request. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.089.md b/content/support/faq/faq.task.089.md index 67d1adfc..87fce878 100644 --- a/content/support/faq/faq.task.089.md +++ b/content/support/faq/faq.task.089.md @@ -6,10 +6,11 @@ question: "Task calendar not dislaying holidays" Back to the [FAQ](/support/faq) -Q: Task calendar not dislaying holidays +{{< question >}} +### Task calendar not dislaying holidays I don't know why the calendar is not displaying the holidays. This is the my taskrc : - +``` # [Created by task 2.3.0 7/23/2014 14:29:17] # Taskwarrior program configuration file. # For more documentation, see https://taskwarrior.org or try 'man task', 'man task-faq', @@ -67,8 +68,10 @@ calendar.details=full calendar.holidays=full calendar.details.report=list - -A: Take a look inside this file that you are including, and verify that you have holidays extending at least until the end of 2014: +``` +{{< /question >}} +{{< answer >}} +Take a look inside this file that you are including, and verify that you have holidays extending at least until the end of 2014: /usr/local/Cellar/task/2.3.0/share/doc/task/rc/holidays.en-US.rc - +{{< /answer >}} diff --git a/content/support/faq/faq.task.090.md b/content/support/faq/faq.task.090.md index 2246f642..3edfc527 100644 --- a/content/support/faq/faq.task.090.md +++ b/content/support/faq/faq.task.090.md @@ -6,15 +6,17 @@ question: "What is the best way to move Taskwarrior with personal files and conf Back to the [FAQ](/support/faq) -Q: What is the best way to move Taskwarrior with personal files and configs, to a new machine? +{{< question >}} +### What is the best way to move Taskwarrior with personal files and configs, to a new machine? Sometimes I want to install task, and sync it up, on a "new" machine; either a replacement for my primary machine, or just another task install on a secondary box. I've had to do this a few times, and had to collect up all *.data files, and .taskrc, and certs, etc, and I find the process picky and error-prone, is there a better way? - -A: Since you are using a taskserver, you don't need to copy the *.data files, you can let sync handle that. +{{< /question >}} +{{< answer >}} +Since you are using a taskserver, you don't need to copy the *.data files, you can let sync handle that. Here are the steps I would follow on a new machine: Install Taskwarrior @@ -28,4 +30,4 @@ $ scp -r old-machine:.task/hooks .task/ On new machine: $ task sync - +{{< /answer >}} diff --git a/content/support/faq/faq.task.091.md b/content/support/faq/faq.task.091.md index c7711507..cdac6bfd 100644 --- a/content/support/faq/faq.task.091.md +++ b/content/support/faq/faq.task.091.md @@ -6,7 +6,8 @@ question: "Can Taskwarrior be used as a work log?" Back to the [FAQ](/support/faq) -Q: Can Taskwarrior be used as a work log? Does anyone else use it this way? +{{< question >}} +### Can Taskwarrior be used as a work log? Does anyone else use it this way? First time post here. I've been using TW on and off for about a year. @@ -23,6 +24,7 @@ So in my use case, I'm using it equally as much as a log book as I am a task man Was curious if that is a common use for others, if it's an 'appropriate' use of TW, and what others are doing in that regard. PS - Please keep up the good work!! And ty for the s/w! - -A: You need Timewarrior! - +{{< /question >}} +{{< answer >}} +You need Timewarrior! +{{< /answer >}} diff --git a/content/support/faq/faq.task.092.md b/content/support/faq/faq.task.092.md index 0a85382e..8bf56fb6 100644 --- a/content/support/faq/faq.task.092.md +++ b/content/support/faq/faq.task.092.md @@ -6,7 +6,8 @@ question: "Why is a task with due date today overdue and how would I change that Back to the [FAQ](/support/faq) -Q: Why is a task with due date today overdue and how would I change that? +{{< question >}} +### Why is a task with due date today overdue and how would I change that? Tasks which have a due date of today are considered overdue in my task installation. This surprises me since for me a task would be overdue after today. I was thinking that this is also Taskwarrior's point of view since there is something like color.due.today for example which in my case is consequently overwritten by overdue of cause. @@ -19,7 +20,8 @@ dateformat.info=A, d. B Y nothing which would relate the hour of the day which I might have passed. How can I make overdue apply only to tasks that have a due date from yesterday? - -A: If you have a dateformat that does not include time, then a default time of 0:00:00 is assumed, which in almost every case is in the past, hence overdue. +{{< /question >}} +{{< answer >}} +If you have a dateformat that does not include time, then a default time of 0:00:00 is assumed, which in almost every case is in the past, hence overdue. You can change your dataformat to include time, then you'll specify the date and time for due dates, and that makes the 'overdue' status more obvious. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.093.md b/content/support/faq/faq.task.093.md index 9070db2a..394baa35 100644 --- a/content/support/faq/faq.task.093.md +++ b/content/support/faq/faq.task.093.md @@ -6,7 +6,8 @@ question: "Can I add custom statuses, like \"Cancelled\" or \"Waiting on others\ Back to the [FAQ](/support/faq) -Q: Can I add custom statuses, like "Cancelled" or "Waiting on others"? +{{< question >}} +### Can I add custom statuses, like "Cancelled" or "Waiting on others"? I'd like to be able to have more task statuses than are available by default. Is that possible to do? If so, how? @@ -18,10 +19,11 @@ I don't like deleting items, because then there's no record of it having been th "Waiting on others", for an item that cannot be completed until someone else does something. (The wording is difficult here, because "waiting" means something else in TaskWarrior already.) How can I accomplish this? - -A: No, custom status values are not accepted. +{{< /question >}} +{{< answer >}} +No, custom status values are not accepted. After all, Taskwarrior wouldn't know what you mean, and some functionality depends on known states. Instead, you can add a UDA field, for example named 'detail', and you can store your extended status there. See https://taskwarrior.org/docs/udas.html. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.094.md b/content/support/faq/faq.task.094.md index cca5017f..4425825a 100644 --- a/content/support/faq/faq.task.094.md +++ b/content/support/faq/faq.task.094.md @@ -6,11 +6,13 @@ question: "What is the search syntax to exclude tasks from a certain project?" Back to the [FAQ](/support/faq) -Q: What is the search syntax to exclude tasks from a certain project? +{{< question >}} +### What is the search syntax to exclude tasks from a certain project? Or is currently not possible? - -A: With 2.4.0 (soon) you will have several options: +{{< /question >}} +{{< answer >}} +With 2.4.0 (soon) you will have several options: task project.not:... task project '!=' ... @@ -19,11 +21,12 @@ Or using patterns: task project.nocontain:... task project '!~' ... task not /.../ - -A: Try: +{{< /question >}} +{{< answer >}} +Try: task proj.not:myproject you can also exclude multiple projects: task proj.not:myproject proj.not:myotherproject - +{{< /answer >}} diff --git a/content/support/faq/faq.task.095.md b/content/support/faq/faq.task.095.md index 01e4393f..58509f7b 100644 --- a/content/support/faq/faq.task.095.md +++ b/content/support/faq/faq.task.095.md @@ -6,11 +6,13 @@ question: "How do I import holidays from holidata?" Back to the [FAQ](/support/faq) -Q: How do I import holidays from holidata? +{{< question >}} +### How do I import holidays from holidata? I was able to wget the 2015.json file from holidata. I tried doing task import 2015.json, but it added the holidays as tasks. Is there special syntax to do this automatically, or do we need to hand-edit the holiday file and/or add the dates to .taskrc? - -A: There is a script to automatically update your holiday files, called update-holidays.pl, and it's part of the distribution. - +{{< /question >}} +{{< answer >}} +There is a script to automatically update your holiday files, called update-holidays.pl, and it's part of the distribution. +{{< /answer >}} diff --git a/content/support/faq/faq.task.096.md b/content/support/faq/faq.task.096.md index 5cf06c33..52df9a42 100644 --- a/content/support/faq/faq.task.096.md +++ b/content/support/faq/faq.task.096.md @@ -6,18 +6,20 @@ question: "How do I use a Windows text editor for \"task edit ...\" on Cygwin?" Back to the [FAQ](/support/faq) -Q: How do I use a Windows text editor for "task edit ..." on Cygwin? +{{< question >}} +### How do I use a Windows text editor for "task edit ..." on Cygwin? Running notepad++ with the commandline switch -multiInst works - a new instance of np++ doesn't "trick" task into thinking the edit is done. In .taskrc: editor=notepad++ -multiInst - -A: In case you want to use a console editor everything works perfectly fine, just how you would do it in unix. +{{< /question >}} +{{< answer >}} +In case you want to use a console editor everything works perfectly fine, just how you would do it in unix. Windows editors have problems resolving Cygwin paths, so you have to convert Cygwin paths to Windows with cygpath -w Please check https://cygwin-lite.sourceforge.net/html/cygpath.html - +{{< /answer >}} diff --git a/content/support/faq/faq.task.097.md b/content/support/faq/faq.task.097.md index 6f2fe31c..dd43d725 100644 --- a/content/support/faq/faq.task.097.md +++ b/content/support/faq/faq.task.097.md @@ -6,7 +6,8 @@ question: "\"Taskwarrior no longer supports file format 1....\" error while deve Back to the [FAQ](/support/faq) -Q: "Taskwarrior no longer supports file format 1...." error while developing hook +{{< question >}} +### "Taskwarrior no longer supports file format 1...." error while developing hook Hi, I am trying to develop a hook for Taskwarrior, but am running into a problem. I am using Taskwarrior 2.4.0.beta3 and I have placed the symlink to my hook into the /.task/hooks/ folder. It is a on-modify hook, and I am simply testing it out and trying to print something to the console. It correctly calls my hook and even prints to the console, but then it displays this error: @@ -14,6 +15,7 @@ Hi, I am trying to develop a hook for Taskwarrior, but am running into a problem Once I get rid of my hook, I never see this error. I am giving an exit code of 0 after my script is run. I wondered if maybe I had to return some data back as it should be passed to my script, but as far as I can tell I am not receiving any data. I put "rc.debug.hooks=2" into my .taskrc but I see no trace of any input or output being given to me. "task diagnostics" tells me that it sees my hook and that it is executable. Thanks for any help! - -A: I got the answer to this in the IRC channel. The problem was that I was not returning JSON, and apparently on-modify hooks need to have JSON returned. - +{{< /question >}} +{{< answer >}} +I got the answer to this in the IRC channel. The problem was that I was not returning JSON, and apparently on-modify hooks need to have JSON returned. +{{< /answer >}} diff --git a/content/support/faq/faq.task.098.md b/content/support/faq/faq.task.098.md index ac1e0731..71254441 100644 --- a/content/support/faq/faq.task.098.md +++ b/content/support/faq/faq.task.098.md @@ -6,14 +6,16 @@ question: "How can I get list of all used tags?" Back to the [FAQ](/support/faq) -Q: How can I get list of all used tags? +{{< question >}} +### How can I get list of all used tags? task tags seems to only return list of all used tags in pending tasks. How can I get a list that includes tags used in completed tasks ? - -A: You can enable this setting to see all tags used, not just the pending ones: +{{< /question >}} +{{< answer >}} +You can enable this setting to see all tags used, not just the pending ones: $ task rc.list.all.tags:yes tags A: Is task _tags the command you are looking for? - +{{< /answer >}} diff --git a/content/support/faq/faq.task.099.md b/content/support/faq/faq.task.099.md index 38b78c56..14d3d107 100644 --- a/content/support/faq/faq.task.099.md +++ b/content/support/faq/faq.task.099.md @@ -6,15 +6,17 @@ question: "Does Taskwarrior support a higher time resolution than \"on that day\ Back to the [FAQ](/support/faq) -Q: Does Taskwarrior support a higher time resolution than "on that day"? +{{< question >}} +### Does Taskwarrior support a higher time resolution than "on that day"? For example, I have projects that are due at specific hours of the day. How can I use due: to mark this? - -A: Read "man taskrc" regarding the "dateformat" setting. +{{< /question >}} +{{< answer >}} +Read "man taskrc" regarding the "dateformat" setting. If you include time in your dateformat, then you can specify time. A: Another ways to specify a time is to use the "+" operator. For example monday+15hours means monday at 15:00. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.100.md b/content/support/faq/faq.task.100.md index c0ad0cdf..4d008e4d 100644 --- a/content/support/faq/faq.task.100.md +++ b/content/support/faq/faq.task.100.md @@ -6,7 +6,8 @@ question: "recurring tasks with a wait?" Back to the [FAQ](/support/faq) -Q: recurring tasks with a wait? +{{< question >}} +### recurring tasks with a wait? There are some tasks that I want to do daily, or weekly. And I only want to see them when they need to be done. I have a 'daily checklist' for my GTD-workflow. And I would like to see the item only on the day it self. @@ -16,6 +17,7 @@ task add Daily Checklist recur:1day wait:today due:tomorrow I expect that when I mark the 'Daily Checklist' of today as done, that no other items show up. But after some time, they tend to end up multiply times on my list. How should I add this functionality? Or am I just forgetting to check it off sometimes and does that cause the duplicates. I just want to set the wait date relative to the due date. - -A: This is possible now with https://github.com/tbabej/taskwarrior-shift-all-recurrence-hook . - +{{< /question >}} +{{< answer >}} +This is possible now with https://github.com/tbabej/taskwarrior-shift-all-recurrence-hook . +{{< /answer >}} diff --git a/content/support/faq/faq.task.101.md b/content/support/faq/faq.task.101.md index bafe1c70..e0f00a7f 100644 --- a/content/support/faq/faq.task.101.md +++ b/content/support/faq/faq.task.101.md @@ -6,11 +6,13 @@ question: "task list output customization" Back to the [FAQ](/support/faq) -Q: task list output customization +{{< question >}} +### task list output customization In Taskwarrior 2.4.0 the output of task list has more columns than in the previous stable version and the listing is wider than the 80 columns that my default terminal has. I have searched in the taskrc manual page but could not find a way to remove some of the columns from the "task list" command. - -A: Please use +{{< /question >}} +{{< answer >}} +Please use task show list to see every config item related to list. @@ -28,4 +30,4 @@ After that you can do a task config report.list.columns id,start,... and add all columns you want to see. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.102.md b/content/support/faq/faq.task.102.md index a32a5746..f1f186a1 100644 --- a/content/support/faq/faq.task.102.md +++ b/content/support/faq/faq.task.102.md @@ -6,11 +6,13 @@ question: "How to modify task list spacing?" Back to the [FAQ](/support/faq) -Q: How to modify task list spacing? +{{< question >}} +### How to modify task list spacing? In the default task list output in v2.4.0 some tasks that correspond to the same project are listed together surrounded by blank lines. Is it possible to modify the output of task list so that these blank lines are removed? - -A: Yes. +{{< /question >}} +{{< answer >}} +Yes. What you're seeing there is a demonstration of listing breaks, that group together tasks, when they are sorted. See the definition for the list report: @@ -18,4 +20,4 @@ $ task show report.list.sort report.list.sort start-,due+,project+/,urgency- See the "/" at the end of "project+/"? That means break on project. Remove that, and the gap goes away. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.103.md b/content/support/faq/faq.task.103.md index 60c1c43a..962bb47f 100644 --- a/content/support/faq/faq.task.103.md +++ b/content/support/faq/faq.task.103.md @@ -6,14 +6,16 @@ question: "How can I sort by most recently added tasks?" Back to the [FAQ](/support/faq) -Q: How can I sort by most recently added tasks? +{{< question >}} +### How can I sort by most recently added tasks? I would like to sort the output of `task list` with the most recently added tasks appearing at the bottom. Is this possible? - -A: Yes, try this asa one-off: +{{< /question >}} +{{< answer >}} +Yes, try this asa one-off: $ task rc.report.list.sort=entry+ list To make this permanent: $ task config report.list.sort entry+ - +{{< /answer >}} diff --git a/content/support/faq/faq.task.104.md b/content/support/faq/faq.task.104.md index a5e692d4..0837d980 100644 --- a/content/support/faq/faq.task.104.md +++ b/content/support/faq/faq.task.104.md @@ -6,12 +6,14 @@ question: "How do I stop a recurrence?" Back to the [FAQ](/support/faq) -Q: How do I stop a recurrence? +{{< question >}} +### How do I stop a recurrence? If I have a recurring task, how do I stop it from recurring? I know about the `until` keyword, but that presumes that I know ahead of time that the recurrence will stop. How do I stop a recurring task retroactively, as it were? Is it just a matter of setting an `until` in the past? - -A: Try this: +{{< /question >}} +{{< answer >}} +Try this: $ task status:recurring all Then delete the task that shows. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.105.md b/content/support/faq/faq.task.105.md index a926f7f3..3254f476 100644 --- a/content/support/faq/faq.task.105.md +++ b/content/support/faq/faq.task.105.md @@ -6,15 +6,17 @@ question: "What is the difference between tags and projects?" Back to the [FAQ](/support/faq) -Q: What is the difference between tags and projects? +{{< question >}} +### What is the difference between tags and projects? Dear all, I am struggling to understand the difference between tags and projects. What is the difference between the two and when to use one or the other? Many thanks for your clarifying answers. - -A: Tags are meant to be generic. You can use any textual expression as a tag. +{{< /question >}} +{{< answer >}} +Tags are meant to be generic. You can use any textual expression as a tag. A project is more like a category. It is treated specially in some situations as you can see by running the commands: @@ -22,4 +24,4 @@ task project task summary There's nothing that prevents you from not using projects. You could as you pointed out, use tags for projects (project-tags). Though you'd lose some of the specific behavior of project:. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.106.md b/content/support/faq/faq.task.106.md index 1970d79c..90dde21b 100644 --- a/content/support/faq/faq.task.106.md +++ b/content/support/faq/faq.task.106.md @@ -6,7 +6,8 @@ question: "Setting multiple urgency coefficients for one uda" Back to the [FAQ](/support/faq) -Q: Setting multiple urgency coefficients for one uda +{{< question >}} +### Setting multiple urgency coefficients for one uda Hi all @@ -21,8 +22,9 @@ Is this possible? Regards Ed - -A: Yes, this is supported, depending on the version you have (2.4.3 or later). +{{< /question >}} +{{< answer >}} +Yes, this is supported, depending on the version you have (2.4.3 or later). What you are describing matches the setup for the priority UDA. In your case, you need this: @@ -30,4 +32,4 @@ urgency.uda.size.1.coefficient=... urgency.uda.size.2.coefficient=... urgency.uda.size.3.coefficient=... If you run man taskrc and search for 'URGENCY' you'll see all the settings discussed. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.107.md b/content/support/faq/faq.task.107.md index 31cbee74..19dfbdcf 100644 --- a/content/support/faq/faq.task.107.md +++ b/content/support/faq/faq.task.107.md @@ -6,7 +6,8 @@ question: "How can I show more detail at a time for the \"due\" column?" Back to the [FAQ](/support/faq) -Q: How can I show more detail at a time for the "due" column? +{{< question >}} +### How can I show more detail at a time for the "due" column? Very sorry if this has been asked before; looked just about everywhere: documentation, asked questions, Internet, even poked at source (though my knowledge of C++ is limited). @@ -17,8 +18,9 @@ For example, showing both hours and minutes remaining at the same time: 2 hours Without looking at each task individually, it can be ambiguous to know if 1 hour remaining means 1 hour 5 minutes, or 1 hour 55 minutes. If this something that can be done, is it best done directly through task, via code, utilizing UDA, or something else? - -A: You have options - you can change the format of data in the reports. +{{< /question >}} +{{< answer >}} +You have options - you can change the format of data in the reports. Take a look at the options: $ task columns @@ -28,4 +30,4 @@ $ task show report.long ... The column configurations can use any of the available variations. See this for more details: https://taskwarrior.org/docs/report.html - +{{< /answer >}} diff --git a/content/support/faq/faq.task.108.md b/content/support/faq/faq.task.108.md index 1cf855e4..9bed1be3 100644 --- a/content/support/faq/faq.task.108.md +++ b/content/support/faq/faq.task.108.md @@ -6,7 +6,8 @@ question: "Printing report output" Back to the [FAQ](/support/faq) -Q: Printing report output +{{< question >}} +### Printing report output I've got a pretty small laptop monitor and an awful lot of tasks, so I can't see more than a sixth of them at once for some projects. Sometimes its useful to have print outs of the whole list, with the colouration and arrangement of the 'next' or 'long' reports. @@ -21,8 +22,9 @@ The way I've been doing it is to screenshot it, append the images to each other, Thanks Ed - -A: There are a couple of solutions. +{{< /question >}} +{{< answer >}} +There are a couple of solutions. The easiest is this: $ task long rc.detection:off rc.defaultwidth:184 > tasklist.txt @@ -30,4 +32,4 @@ The other solution is more creative. Take a look at this:/ https://threebean.org/blog/2011/10/28/python-ansi2html-makes-taskwarrior-fantasktic/ - +{{< /answer >}} diff --git a/content/support/faq/faq.task.109.md b/content/support/faq/faq.task.109.md index 4fcac680..e2f6c564 100644 --- a/content/support/faq/faq.task.109.md +++ b/content/support/faq/faq.task.109.md @@ -6,12 +6,14 @@ question: "How to stop numeric UDAs from being stored as a decimal (even when th Back to the [FAQ](/support/faq) -Q: How to stop numeric UDAs from being stored as a decimal (even when the input is an integer)? +{{< question >}} +### How to stop numeric UDAs from being stored as a decimal (even when the input is an integer)? Sometimes when storing a value for a numeric UDA when adding a task, the resulting value is stored as a decimal even when the input is an integer. This always happens when modifying the value using the modify command. Is there a way to force the value to either a decimal or an integer? - -A: No, numeric is the only type - there is no integer UDA. +{{< /question >}} +{{< answer >}} +No, numeric is the only type - there is no integer UDA. Edit: Storing the value as a string should keep it intact, but will eliminate the possibility of arithmetic. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.110.md b/content/support/faq/faq.task.110.md index b3fe3e6a..40a1494c 100644 --- a/content/support/faq/faq.task.110.md +++ b/content/support/faq/faq.task.110.md @@ -6,9 +6,11 @@ question: "How do I hide the change log in the task details?" Back to the [FAQ](/support/faq) -Q: How do I hide the change log in the task details? +{{< question >}} +### How do I hide the change log in the task details? Is there a way to hide / filter the change log when viewing task details? I really don't need to see when and what was modified for each task - it clutters up the display. - -A: This is controlled by the journal.info setting, documented in man taskrc. - +{{< /question >}} +{{< answer >}} +This is controlled by the journal.info setting, documented in man taskrc. +{{< /answer >}} diff --git a/content/support/faq/faq.task.111.md b/content/support/faq/faq.task.111.md index b2d5a9b7..fbd426e8 100644 --- a/content/support/faq/faq.task.111.md +++ b/content/support/faq/faq.task.111.md @@ -6,7 +6,8 @@ question: "reanimating tasks" Back to the [FAQ](/support/faq) -Q: reanimating tasks +{{< question >}} +### reanimating tasks Still new and making n00b mistakes, so I have tasks that I've incorrectly completed and deleted. @@ -15,9 +16,10 @@ Since I can still see those tasks, I assume there's a way to reverse those state Note that I discovered my error later on, so the 'undo' command wouldn't do the trick. I'm amazed to not find this as an FAQ, which makes me think I missed something very obvious. - -A: Does +{{< /question >}} +{{< answer >}} +Does task ID mod status:pending do the trick for you? - +{{< /answer >}} diff --git a/content/support/faq/faq.task.112.md b/content/support/faq/faq.task.112.md index 2b5b69c2..05820b91 100644 --- a/content/support/faq/faq.task.112.md +++ b/content/support/faq/faq.task.112.md @@ -6,15 +6,17 @@ question: "Activity report for a time period." Back to the [FAQ](/support/faq) -Q: Activity report for a time period. +{{< question >}} +### Activity report for a time period. This seems so simple - I would like a report of all of my activity for the last week (or other range). That includes any activity - e.g. adding an annotation should be shown. It seems like this should be simple, but I'm just not seeing how. The "last modified" field appears to have the data needed, but I don't see how to use that field in a filter. - -A: Found it! By examining the output of "task show", I spotted some reports using the "modified" field for sorting. Some experimentation showed that field is updated on every event I cared about, such as adding an annotation. +{{< /question >}} +{{< answer >}} +Found it! By examining the output of "task show", I spotted some reports using the "modified" field for sorting. Some experimentation showed that field is updated on every event I cared about, such as adding an annotation. My filter looks similar to: task modified.before:today+1w modified.after:today-1w all - +{{< /answer >}} diff --git a/content/support/faq/faq.task.113.md b/content/support/faq/faq.task.113.md index 9219edd1..6f4f5167 100644 --- a/content/support/faq/faq.task.113.md +++ b/content/support/faq/faq.task.113.md @@ -6,7 +6,8 @@ question: "How to specify default project properties?" Back to the [FAQ](/support/faq) -Q: How to specify default project properties? +{{< question >}} +### How to specify default project properties? I'd like to set default properties (tags, priority and so on) for a project, so that, each new task in the project will have some attributes set, e.g. @@ -16,8 +17,9 @@ will add tag +home and priority:M for this task (and each task in the project ga Right now It should be possible to do this using hook, but this will require some coding and user will need to store project settings in a separate file (not in ~/.taskrc). - -A: There is default.project, default.due. +{{< /question >}} +{{< answer >}} +There is default.project, default.due. If you need more, then yes, and on-add hook would be needed. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.114.md b/content/support/faq/faq.task.114.md index ac1cfdf7..ab389740 100644 --- a/content/support/faq/faq.task.114.md +++ b/content/support/faq/faq.task.114.md @@ -6,14 +6,16 @@ question: "How to copy group of tasks?" Back to the [FAQ](/support/faq) -Q: How to copy group of tasks? +{{< question >}} +### How to copy group of tasks? I have a rather large set of tasks (~30) grouped in a tasklist, e.g. project:server1 (or tag +server1). Now I want to copy this taskset into another project (or tag), e.g. project:server2. How this can be done aside from manually adding each task using `task add` command? Use case is quite simple: I have a tasklist to setup one server, I'd like to copy it, edit a bit and use to setup another system and so on. Each host can be processed independently, so single taskset can't be reused here. - -A: You can duplicate the tasks, and using a feature (en-passant) that modifies tasks, you can achieve what you want: +{{< /question >}} +{{< answer >}} +You can duplicate the tasks, and using a feature (en-passant) that modifies tasks, you can achieve what you want: $ task project:server1 duplicate project:server2 The project:server1 is the filter used to drive the duplicate command, then the project:server2 is a set of modifications to apply. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.115.md b/content/support/faq/faq.task.115.md index ca506454..b1aac3b0 100644 --- a/content/support/faq/faq.task.115.md +++ b/content/support/faq/faq.task.115.md @@ -6,11 +6,13 @@ question: "Filter for cases where wait date was accidentally set after due date. Back to the [FAQ](/support/faq) -Q: Filter for cases where wait date was accidentally set after due date. +{{< question >}} +### Filter for cases where wait date was accidentally set after due date. I keep getting the warning that the wait date is after due date. How can I search for those cases? task '( due < wait)' list doesn't work (says expression cannot be evaluated). - -A: That doesn't work because the list report has a filter that conflicts with your filter. +{{< /question >}} +{{< answer >}} +That doesn't work because the list report has a filter that conflicts with your filter. The wait date implies status:waiting which conflicts with the list report's filter which include status:pending. Can't have both. @@ -21,4 +23,4 @@ The all report has no filter. You must escape the < so your shell doesn't intercept it as a redirect. You can also do this: $ task due.before:wait all - +{{< /answer >}} diff --git a/content/support/faq/faq.task.116.md b/content/support/faq/faq.task.116.md index 109ad2b8..f9028df0 100644 --- a/content/support/faq/faq.task.116.md +++ b/content/support/faq/faq.task.116.md @@ -6,21 +6,24 @@ question: "Android notifier" Back to the [FAQ](/support/faq) -Q: Android notifier +{{< question >}} +### Android notifier Any chance an android application could ever be developed? I know there are many todo list apps for android but one that would sync with task would be pretty sweet. Also to receive push notifications when certain tasks become urgent for example. Managing tasks on my phone when I'm away and on the other hand having full control while in the command line would be pretty powerful. I'm certainly willing to do my part if you welcome help developing. Although it's way more fun to develop for the command line than for android! - -A: There is a Taskwarrior package for Termux. +{{< /question >}} +{{< answer >}} +There is a Taskwarrior package for Termux. It's also possible to send notifications using the Termux-API extension, so I guess you could write a script & a cron job to get the notifications you want (I did something similar in order to always have the most urgent task as a notification). Termux is pretty awesome IMHO. Definitely worth checking it out. Hope that helps. - -A: This is a common question, and deserves a detailed answer, although not the one you want. +{{< /question >}} +{{< answer >}} +This is a common question, and deserves a detailed answer, although not the one you want. Is there a chance that there will be an Android client? Yes there is a chance, but I'm not an Android developer, so I won't be writing it. There are tens of thousands of Android developers out there and as this question comes up a lot, combined with the number of Taskwarrior users out there, I had hoped that a solution would have appeared by now. @@ -35,4 +38,4 @@ Trivial apps are trivial to create, but secure syncing and notifications (both h Your offer to help is important though - we need more people like you to get this done. Join us on IRC, there are folks there that also want this. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.117.md b/content/support/faq/faq.task.117.md index c0ae2feb..986b6f5e 100644 --- a/content/support/faq/faq.task.117.md +++ b/content/support/faq/faq.task.117.md @@ -6,7 +6,8 @@ question: "recurring tasks with flexible wait/due dates?" Back to the [FAQ](/support/faq) -Q: recurring tasks with flexible wait/due dates? +{{< question >}} +### recurring tasks with flexible wait/due dates? Let's say I have a recurring task like "give medicine to cat" that recurs every 30 days, with wait set to "due-1days". @@ -21,8 +22,9 @@ These kinds of tasks come up a lot. You should do them every X days, but if you The other thing is that new instances shouldn't be created automatically even when the user is inactive, but should be one new instance per one completed instance. Like if I have a task "take medicine" which recurs daily, if I forget a few days I should not have 4 instances of the same task, which is obviously wrong. There should just be one instance, notifying the user to take the medicine 1 time, not 4 times at once. Is there any way to do any of this? - -A: You're describing a style of recurrence that we don't really have a name for, and have not yet implemented. Here is a detailed description of how recurrence works today: +{{< /question >}} +{{< answer >}} +You're describing a style of recurrence that we don't really have a name for, and have not yet implemented. Here is a detailed description of how recurrence works today: https://taskwarrior.org/docs/recurrence.html @@ -37,4 +39,4 @@ https://github.com/GothenburgBitFactory/taskwarrior/issues/203 https://github.com/GothenburgBitFactory/taskwarrior/issues/97 https://github.com/GothenburgBitFactory/taskwarrior/issues/146 You have ideas - please make sure they are represented in the above list, and so can be considered when the work begins. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.118.md b/content/support/faq/faq.task.118.md index 648a17b4..9d1c25a8 100644 --- a/content/support/faq/faq.task.118.md +++ b/content/support/faq/faq.task.118.md @@ -6,7 +6,8 @@ question: "Taskwarrior as a .so library?" Back to the [FAQ](/support/faq) -Q: Taskwarrior as a .so library? +{{< question >}} +### Taskwarrior as a .so library? I'm newly trying out Taskwarrior and can see a lot of benefits in its CLI-based design. @@ -21,8 +22,9 @@ IMO it would be really nice to be able to separate task into two pieces - the CL That would make it easier to embed Taskwarrior securely into "web" back-end languages (for example) and also hopefully encourage development of a standard API, even standard RESTful API, for tasks, annotations, tags, etc. Is this something that has been discussed at all? Has it been considered? - -A: This has been discussed, and isn't likely to happen. +{{< /question >}} +{{< answer >}} +This has been discussed, and isn't likely to happen. You may not be aware of the lack of C++ binary interface standards or the difficulty of shoe-horning C++ objects into a well-designed C API for exposure via .so. No one wants to do this, and neither do you, which is why you ask about the possibility. @@ -40,4 +42,4 @@ Pay/motivate someone to attempt option 4. As you pointed out, direct I/O on the *.data files is a very bad idea, because it means you would need to support the four current file formats, and respond to the fifth format, which may happen soon, not to mention implement recurrence, waiting and other features. https://taskwarrior.org/docs/3rd-party.html - +{{< /answer >}} diff --git a/content/support/faq/faq.task.119.md b/content/support/faq/faq.task.119.md index da938350..7967b75a 100644 --- a/content/support/faq/faq.task.119.md +++ b/content/support/faq/faq.task.119.md @@ -6,7 +6,8 @@ question: "Shortcut: verify latest modification?" Back to the [FAQ](/support/faq) -Q: Shortcut: verify latest modification? +{{< question >}} +### Shortcut: verify latest modification? Let's say I do: @@ -17,9 +18,10 @@ Modified 1 task. Now I'd like to verify my latest changes if everything is correct. Which command would show me the task that was last one to be modified? - -A: This will show you the last task added in version 2.5.0+: +{{< /question >}} +{{< answer >}} +This will show you the last task added in version 2.5.0+: $ task +LATEST But there is no record made of the last task modified. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.120.md b/content/support/faq/faq.task.120.md index ba485c92..fc3da29d 100644 --- a/content/support/faq/faq.task.120.md +++ b/content/support/faq/faq.task.120.md @@ -6,7 +6,8 @@ question: "Import multiple tasks with dependencies" Back to the [FAQ](/support/faq) -Q: Import multiple tasks with dependencies +{{< question >}} +### Import multiple tasks with dependencies When I plan a project I usually write down all my tasks and subtasks into a simple file. Something like this @@ -31,6 +32,7 @@ I know I can represent subprojects with task1.bar but many of these task have co What would be a good way to import the list above into task including all its dependencies without doing `task add project:SuperMegaProject.task1.bar bar1` for each item? - -A: You could use tags. They're very general in purpose. I use some common tags like +bug or +feature but they are a great way to tie projects together too. I might have projects foo and bar independently but I may also want a baz sub-project to both foo and bar yet not want to have baz as a project in and of itself, so I would just tag certain tasks belonging to foo or bar with +baz. - +{{< /question >}} +{{< answer >}} +You could use tags. They're very general in purpose. I use some common tags like +bug or +feature but they are a great way to tie projects together too. I might have projects foo and bar independently but I may also want a baz sub-project to both foo and bar yet not want to have baz as a project in and of itself, so I would just tag certain tasks belonging to foo or bar with +baz. +{{< /answer >}} diff --git a/content/support/faq/faq.task.121.md b/content/support/faq/faq.task.121.md index f2db8195..6136ae31 100644 --- a/content/support/faq/faq.task.121.md +++ b/content/support/faq/faq.task.121.md @@ -6,15 +6,17 @@ question: "Is it possible to sync per-context?" Back to the [FAQ](/support/faq) -Q: Is it possible to sync per-context? +{{< question >}} +### Is it possible to sync per-context? Hi, I want to use Taskwarrior at home and at work, but I don't want to store personal tasks in the work computer. Is it possible to sync a subset of the database, for example, only a context 'work'? Thanks, - -A: Sync is not a filtered operation, so no, this is not supported. +{{< /question >}} +{{< answer >}} +Sync is not a filtered operation, so no, this is not supported. @@ -45,4 +47,4 @@ $ taskp sync Error The idea is that the .taskrc_work file configures the Taskserver, but the .taskrc_pers file does not. Each of the configuration files must use a separate database, ie the data.location setting in each file needs to be different. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.122.md b/content/support/faq/faq.task.122.md index 98cffc2d..be46ed8b 100644 --- a/content/support/faq/faq.task.122.md +++ b/content/support/faq/faq.task.122.md @@ -6,16 +6,18 @@ question: "Non-cumulative burndown report" Back to the [FAQ](/support/faq) -Q: Non-cumulative burndown report +{{< question >}} +### Non-cumulative burndown report Hi, I have been using Taskwarrior for almost a month now and I am really enjoying it! It is the only task program I have managed to stick with recently, and I don't see any reason for me to stop anytime soon (apart from me just jinxing it). So thanks for a great program! To the actual question; is it possible to create a non-cumulative burndown report? I mostly use `burndown.daily` and while the current report is already very useful, it would be well complemented by a non-cumulative report, which would facilitate identifying peaks and trends in the amount of tasks created and completed each day or week. With the cumulative report it gets a little difficult to notice just a few additions/completions since they are contrasted with all the tasks ever added/completed. E.g. with around 50 tasks done and pending, it is difficult to see the impact I get from completing 1 extra task today, but that extra task would seem more important if I was only comparing it with what I did yesterday. - -A: There isn't a non-cumulative variation of the burndown chart. +{{< /question >}} +{{< answer >}} +There isn't a non-cumulative variation of the burndown chart. To create the chart you want, you would need to change the burndown report in C++. You could alternatively export the data and load it into something that can draw the chart you want, or script it. It would be a good idea though to write up a feature request. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.123.md b/content/support/faq/faq.task.123.md index ff55306f..54362757 100644 --- a/content/support/faq/faq.task.123.md +++ b/content/support/faq/faq.task.123.md @@ -6,13 +6,15 @@ question: "Recur without until:" Back to the [FAQ](/support/faq) -Q: Recur without until: +{{< question >}} +### Recur without until: Hello - thank you for Taskwarrior. If I set a task to recur and set an "until:", I understand that the task will keep recurring on the assigned periodicity until that date, after which no more copies are auto-created. What do I do if I don't want it to ever get deleted, i.e., remembering to renew some yearly license. Do I just not set the until: ? - -A: Yes, that's correct. Recurrence templates (or any tasks for that matter) will not get auto-deleted if the 'until' attribute is not set. - +{{< /question >}} +{{< answer >}} +Yes, that's correct. Recurrence templates (or any tasks for that matter) will not get auto-deleted if the 'until' attribute is not set. +{{< /answer >}} diff --git a/content/support/faq/faq.task.124.md b/content/support/faq/faq.task.124.md index a8c6f447..2e337709 100644 --- a/content/support/faq/faq.task.124.md +++ b/content/support/faq/faq.task.124.md @@ -6,7 +6,8 @@ question: "PeriodSymbols not working" Back to the [FAQ](/support/faq) -Q: PeriodSymbols not working +{{< question >}} +### PeriodSymbols not working Hi. @@ -14,10 +15,11 @@ I am trying to display the completed tasks over the last 7 days. I have tried task completed end.after:-7days but this just lists all completed tasks. Today is monday and I would like to list all completed tasks for the previous week. What am I doing wrong? I am using version 2.5.1 Thank you - -A: Just try +{{< /question >}} +{{< answer >}} +Just try task completed end.after:today-7days - +{{< /answer >}} diff --git a/content/support/faq/faq.task.125.md b/content/support/faq/faq.task.125.md index 3f4e1cc3..bb64bd46 100644 --- a/content/support/faq/faq.task.125.md +++ b/content/support/faq/faq.task.125.md @@ -6,11 +6,13 @@ question: "Less verbose info report" Back to the [FAQ](/support/faq) -Q: Less verbose info report +{{< question >}} +### Less verbose info report Is there any way not to include the history in the info report? Sometimes it can get pretty long. - -A: There are two ways of reducing this: +{{< /question >}} +{{< answer >}} +There are two ways of reducing this: 1. Set journaling off: @@ -19,4 +21,4 @@ $ task config journal.info off 2. Deleting your undo.data file. This file grows and grows, but if you don't mind losing the ability to undo changes, you can just regularly delete this, and the info report will be smaller and run faster. Comment - +{{< /answer >}} diff --git a/content/support/faq/faq.task.126.md b/content/support/faq/faq.task.126.md index f23cbc45..95a80bbb 100644 --- a/content/support/faq/faq.task.126.md +++ b/content/support/faq/faq.task.126.md @@ -6,11 +6,10 @@ question: "Is there an updated command reference" Back to the [FAQ](/support/faq) -Q: Is there an updated command reference - -Previously somewhere I saw an old command reference cheat-sheet for Taskwarrior. - +{{< question >}} +### Is there an updated command reference +{{< /question >}} +{{< answer >}} Is there an updated version of this somewhere? -A: Yep: https://taskwarrior.org/download/ - +{{< /answer >}} \ No newline at end of file diff --git a/content/support/faq/faq.task.127.md b/content/support/faq/faq.task.127.md index 882e393a..13d92bb8 100644 --- a/content/support/faq/faq.task.127.md +++ b/content/support/faq/faq.task.127.md @@ -6,7 +6,8 @@ question: "Tags with numbers in them" Back to the [FAQ](/support/faq) -Q: Tags with numbers in them +{{< question >}} +### Tags with numbers in them I'm using TaskWarrior for my GTD and I'm extremely happy with it. However, after temporarily moving to my old laptop I have lost the ability to use my tags. I have set up a group of tags 1.now, 2.next, 3.soon, 4.later, ... and I would use them instead of fixed deadlines with the due: command. @@ -22,7 +23,8 @@ ID Age Tags Description Urg I cannot use any tags that have numbers in them, they get added to the description of the task. Has anyone coped with this problem and knows how to fix it? I was able to use these tags on a previous laptop, they both run Ubuntu 15.10, the same bash, the same .bashrc... - -A: It's a limitation: tags cannot begin with a number, or contain a space. +{{< /question >}} +{{< answer >}} +It's a limitation: tags cannot begin with a number, or contain a space. In your example, it's worse because "+1.now" looks like math, or a malformed DOM reference. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.128.md b/content/support/faq/faq.task.128.md index 42dbceb7..40ea49b7 100644 --- a/content/support/faq/faq.task.128.md +++ b/content/support/faq/faq.task.128.md @@ -6,7 +6,8 @@ question: "Calendar and holiday questions" Back to the [FAQ](/support/faq) -Q: Calendar and holiday questions +{{< question >}} +### Calendar and holiday questions Hello - in the man file for taskrc it explains how to add holidata holidays to .taskrc, so it was no problem getting them to appear. I do consulting with people in various countries, and I like to know when they are on holiday so I can give them a greeting or know they won't be available. If I add more holidays than what I have, US and JP, it's a little confusing. @@ -15,8 +16,9 @@ So, first: Can I customize the little list that shows up, so that it prepends th 2016-04-18 US Patriots' Day 2016-04-29 JP ???? And second, the holiday files are hard coded to a specific version. Do you happen to know if there's a skillful way to tell it to variable-ize the version? - -A: ncluding multiple holiday files works, and the data does not collide. +{{< /question >}} +{{< answer >}} +ncluding multiple holiday files works, and the data does not collide. But they are not distinguished with the country code in the description. You could manually edit the files and add a "US" or "JP" prefix to the description. @@ -33,4 +35,4 @@ include ~/.task/holidays.en-US Then make that symlink yourself with this: $ ln -s /path/to/real/holidays.en-US ~/.tsak/holidays.en-US - +{{< /answer >}} diff --git a/content/support/faq/faq.task.129.md b/content/support/faq/faq.task.129.md index 6408ad22..2a861820 100644 --- a/content/support/faq/faq.task.129.md +++ b/content/support/faq/faq.task.129.md @@ -6,7 +6,8 @@ question: "Find what tasks are associated with a mis-named project" Back to the [FAQ](/support/faq) -Q: Find what tasks are associated with a mis-named project +{{< question >}} +### Find what tasks are associated with a mis-named project Hello - I'm finding that Taskwarrior is like vim, you learn something new every day, and it's wonderfully deep. But alas, my taskwarrior-fu is still green like a grasshopper, so I need to rely on the good support of the TW team. @@ -18,8 +19,9 @@ Sys 69 sipxecs 2 ... I want to find those two tasks that seem to be still linked to the old name. How do I suss this out? - -A: You can find these using a filter. +{{< /question >}} +{{< answer >}} +You can find these using a filter. Try one of these: $ task pro:Sys.sipxecs all @@ -29,4 +31,4 @@ The last example puts the all command before the attribute pro because projects The all report is important here, because it has no filter, and therefore the results are exactly what you enter on the command line. For example, if the two tasks are already completed, using list will not find them. The info report also has no filter. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.130.md b/content/support/faq/faq.task.130.md index 3eab33f5..7f5de233 100644 --- a/content/support/faq/faq.task.130.md +++ b/content/support/faq/faq.task.130.md @@ -6,7 +6,8 @@ question: "Is it possible to change the color of annotations different from rest Back to the [FAQ](/support/faq) -Q: Is it possible to change the color of annotations different from rest of task? +{{< question >}} +### Is it possible to change the color of annotations different from rest of task? I was wondering if it is possible at all to change the color of annotations so that they are different from the rest of the task? @@ -15,6 +16,7 @@ For example by using something like: color.annotation=white Would color all the annotations white. I like being able to view annotations but I find even with the indentation they make it hard to visually parse tasks. - -A: Not supported. - +{{< /question >}} +{{< answer >}} +Not supported. +{{< /answer >}} diff --git a/content/support/faq/faq.task.131.md b/content/support/faq/faq.task.131.md index 89fad1e9..b0b604bc 100644 --- a/content/support/faq/faq.task.131.md +++ b/content/support/faq/faq.task.131.md @@ -6,7 +6,8 @@ question: "Tip: TW status one-liner" Back to the [FAQ](/support/faq) -Q: Tip: TW status one-liner +{{< question >}} +### Tip: TW status one-liner This is not a question but rather a tip. I made a TW status one-liner in my .zshrc, which is convenient so I thought I'd share it. @@ -18,8 +19,9 @@ alias tws=tw_get_status_line I alias the function and now just type tws to get a couple of stats I like to see. Season to your liking. I use this in zsh, but this should also work in bash .bashrc. - -A: This reminds me of liquidprompt which I enjoy because of its git integration, and the way it piles on so much stuff, so I would want to extend your prompt to include: +{{< /question >}} +{{< answer >}} +This reminds me of liquidprompt which I enjoy because of its git integration, and the way it piles on so much stuff, so I would want to extend your prompt to include: Number of active tasks: @@ -32,4 +34,4 @@ If it exceeds 1, a sync is needed. Name of any active context: $ task _get rc.context - +{{< /answer >}} diff --git a/content/support/faq/faq.task.132.md b/content/support/faq/faq.task.132.md index 1a818c89..b2a4afaa 100644 --- a/content/support/faq/faq.task.132.md +++ b/content/support/faq/faq.task.132.md @@ -6,7 +6,8 @@ question: "Can you show the days of the week in the due column?" Back to the [FAQ](/support/faq) -Q: Can you show the days of the week in the due column? +{{< question >}} +### Can you show the days of the week in the due column? Something like... @@ -19,10 +20,11 @@ Rather than... Due: 2016-04-26 - -A: Yes. +{{< /question >}} +{{< answer >}} +Yes. Take a look at: $ man taskrc Look for report.x.dateformat. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.133.md b/content/support/faq/faq.task.133.md index 237e783b..93eefdf2 100644 --- a/content/support/faq/faq.task.133.md +++ b/content/support/faq/faq.task.133.md @@ -6,16 +6,18 @@ question: "How do I change due, scheduled and wait all at once?" Back to the [FAQ](/support/faq) -Q: How do I change due, scheduled and wait all at once? +{{< question >}} +### How do I change due, scheduled and wait all at once? When I set dates in a task I am usually setting them relatively with "wait:due-5d scheduled:due-3d" or the like. Is there an easy way to slide all the dates relatively, say if the task slips 3 days, via a script or some native command that I am missing? Another related question is, is the relativeness of the dates remembered, as first entered. Or, is that only when entering. - -A: All dates are realized on entry, so the relativeness is immediately lost. +{{< /question >}} +{{< answer >}} +All dates are realized on entry, so the relativeness is immediately lost. But they can be modified relative to themselves: $ task modify due:due+1wk scheduled:scheduled+1wk wait:wait+1wk - +{{< /answer >}} diff --git a/content/support/faq/faq.task.134.md b/content/support/faq/faq.task.134.md index 4074ca62..362a5523 100644 --- a/content/support/faq/faq.task.134.md +++ b/content/support/faq/faq.task.134.md @@ -6,12 +6,14 @@ question: "Is there a way to set searches to be case insensitive by default?" Back to the [FAQ](/support/faq) -Q: Is there a way to set searches to be case insensitive by default? +{{< question >}} +### Is there a way to set searches to be case insensitive by default? task /search/ all by default is case sensitive - so it would match "search" but not "Search". I realize I could use regex to search for s or S, but can I make search case insensitive by default? - -A: Yes! If you read the man page: +{{< /question >}} +{{< answer >}} +Yes! If you read the man page: $ man taskrc Then searching for either search, case or insensitive will take you right there. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.135.md b/content/support/faq/faq.task.135.md index d857192e..003e88f8 100644 --- a/content/support/faq/faq.task.135.md +++ b/content/support/faq/faq.task.135.md @@ -6,7 +6,8 @@ question: "Task with no ID" Back to the [FAQ](/support/faq) -Q: Task with no ID +{{< question >}} +### Task with no ID When I set in ~/.taskrc: @@ -16,10 +17,12 @@ suddenly a task with no ID ('-') named 'Test' appears. If I comment previous line this task does not appear in 'task list'. And it does not appear in 'task list -home'. Is this a bug? I don't remember if it was me who created such task. - -A: As answered via IRC, I should append 'status:pending' to my filter, which is the default behaviour. 'Test' must be and old task. +{{< /question >}} +{{< answer >}} +As answered via IRC, I should append 'status:pending' to my filter, which is the default behaviour. 'Test' must be and old task. Use 'task show' to see default filters. A: Right. Only pending tasks have IDs. +{{< /answer >}} diff --git a/content/support/faq/faq.task.136.md b/content/support/faq/faq.task.136.md index 5353761e..8773ceb1 100644 --- a/content/support/faq/faq.task.136.md +++ b/content/support/faq/faq.task.136.md @@ -6,7 +6,8 @@ question: "Problem accessing tasks from code..." Back to the [FAQ](/support/faq) -Q: Problem accessing tasks from code... +{{< question >}} +### Problem accessing tasks from code... I'm new to TW (2.5.1) and after using it from the command line for a while, am trying to interact with it from Scala code. @@ -17,8 +18,9 @@ Immediately after that (ie. the next line of code) I'm using "task export nn" so I see from the docs that IDs can change, which I guess is what's happening, and so my question is how I retrieve my newly added task, given that I don't know the UUID, the ID has changed, and the description may not be unique. Or is this not the way I should be approaching this? - -A: If you are using Taskwarrior as a back end to your app, then communicating via the command line interface using IDs is not the right way to do that. +{{< /question >}} +{{< answer >}} +If you are using Taskwarrior as a back end to your app, then communicating via the command line interface using IDs is not the right way to do that. IDs are transient conveniences for users, not for programs. Using the import and export commands is how you should be getting data in and out. @@ -28,3 +30,4 @@ See this, and various other online resources written specifically for this: https://taskwarrior.org/docs/3rd-party.html +{{< /answer >}} diff --git a/content/support/faq/faq.task.137.md b/content/support/faq/faq.task.137.md index 9922fb2a..9510e726 100644 --- a/content/support/faq/faq.task.137.md +++ b/content/support/faq/faq.task.137.md @@ -6,7 +6,8 @@ question: "Can I create shorter aliases for keywords?" Back to the [FAQ](/support/faq) -Q: Can I create shorter aliases for keywords? +{{< question >}} +### Can I create shorter aliases for keywords? Is there a simple way to set my own shorthand for Taskwarrior commands and keywords? @@ -19,8 +20,9 @@ I thought there might be built-in aliases akin to what I was looking for, but I Thanks in advance! Edit: I found documentation for adding command aliases, but that method does not seem to work with the project: keyword. - -A: Taskwarrior already supports abbreviated commands and attributes. +{{< /question >}} +{{< answer >}} +Taskwarrior already supports abbreviated commands and attributes. Look in the task.1 man page, under "ABBREVIATION". - +{{< /answer >}} diff --git a/content/support/faq/faq.task.138.md b/content/support/faq/faq.task.138.md index 9477bdba..98caec6a 100644 --- a/content/support/faq/faq.task.138.md +++ b/content/support/faq/faq.task.138.md @@ -6,7 +6,8 @@ question: "ways to handle follow-up" Back to the [FAQ](/support/faq) -Q: ways to handle follow-up +{{< question >}} +### ways to handle follow-up I was wondering how Taskwarrior users were handling followup of their tasks. @@ -17,8 +18,9 @@ Is it better to update wait: and due: dates and eventually add an annotation to Or actually flag the task as done and create a new task? (eventually with a specific tag such as +followup). One looses the relationship with the main task I think with this solution. Or any other solution? - -A: I'm not sure there's a good answer for you. +{{< /question >}} +{{< answer >}} +I'm not sure there's a good answer for you. It seems there is a need to record the expectation of a response. That could be an annotation with a date in it, or perhaps a new task representing the response, with the original task depending on the response. @@ -30,3 +32,4 @@ task 111 done "Sari did the purchase; cost was 9,999." What would help me is en passant annotation when I'm updating due and wait but I have not figured it out. +{{< /answer >}} diff --git a/content/support/faq/faq.task.139.md b/content/support/faq/faq.task.139.md index 5056ea5a..f911dc05 100644 --- a/content/support/faq/faq.task.139.md +++ b/content/support/faq/faq.task.139.md @@ -6,11 +6,14 @@ question: "How to display completed time in report?" Back to the [FAQ](/support/faq) -Q: How to display completed time in report? +{{< question >}} +### How to display completed time in report? In the 'end' column of a report, it just shows the date it was done. Can this be expanded to show the actual time as well? - -A: If you do "task columns end" you can see there's other formats to use in a custom version of whatever report, so, I think it is possible. I'm afraid I have not experimented with this much yet, but, this gives some more info: +{{< /question >}} +{{< answer >}} +If you do "task columns end" you can see there's other formats to use in a custom version of whatever report, so, I think it is possible. I'm afraid I have not experimented with this much yet, but, this gives some more info: https://taskwarrior.org/docs/report.html +{{< /answer >}} diff --git a/content/support/faq/faq.task.140.md b/content/support/faq/faq.task.140.md index 11cef139..f85109b6 100644 --- a/content/support/faq/faq.task.140.md +++ b/content/support/faq/faq.task.140.md @@ -6,7 +6,8 @@ question: "Which task generated the error?" Back to the [FAQ](/support/faq) -Q: Which task generated the error? +{{< question >}} +### Which task generated the error? I woke up this morning and ran task, and it gave me this warning: @@ -16,8 +17,9 @@ Warning: You have specified that the 'wait' date is after the 'scheduled' date. How can I figure out which task it is referring to, without editing each individual task to see? - -A: Use a filter: +{{< /question >}} +{{< answer >}} +Use a filter: $ task wait.after:scheduled all - +{{< /answer >}} diff --git a/content/support/faq/faq.task.141.md b/content/support/faq/faq.task.141.md index 3ba0335e..6e91b890 100644 --- a/content/support/faq/faq.task.141.md +++ b/content/support/faq/faq.task.141.md @@ -6,7 +6,8 @@ question: "filter based on count?" Back to the [FAQ](/support/faq) -Q: filter based on count? +{{< question >}} +### filter based on count? I have a custom report with this filter: @@ -16,10 +17,12 @@ report.soon.filter=(status:pending or status:waiting) due.before:30d Is there a filter option that says "show me 15 tasks" ? I know I can use head, but piping the output means I lose colors and such. - -A: https://taskwarrior.org/docs/examples.html +{{< /question >}} +{{< answer >}} +https://taskwarrior.org/docs/examples.html Use this: task ... limit:15 +{{< /answer >}} diff --git a/content/support/faq/faq.task.142.md b/content/support/faq/faq.task.142.md index 7540a345..2b0e0ae7 100644 --- a/content/support/faq/faq.task.142.md +++ b/content/support/faq/faq.task.142.md @@ -6,7 +6,8 @@ question: "urgency.scheduled not being applied" Back to the [FAQ](/support/faq) -Q: urgency.scheduled not being applied +{{< question >}} +### urgency.scheduled not being applied I don't know if this is a bug or just my misunderstanding. @@ -39,11 +40,13 @@ Priority H This task has a "scheduled" date and a SCHEDULED virtual tag, but the urgency.scheduled coefficient is not being applied. Should it be? - -A: This is expected. +{{< /question >}} +{{< answer >}} +This is expected. The scheduled coefficient only comes into play when the task is ready. In other words when scheduled < now. Your task has a scheduled date in the future, which means the task is not ready to start working on, and the urgency from the scheduled coefficient is zero. You'll see the urgency jump up on 2016-11-18, by the amount of the scheduled coefficient. +{{< /answer >}} diff --git a/content/support/faq/faq.task.143.md b/content/support/faq/faq.task.143.md index e1ff2ac8..64b6254d 100644 --- a/content/support/faq/faq.task.143.md +++ b/content/support/faq/faq.task.143.md @@ -6,12 +6,15 @@ question: "Can I add an indicator for the UDA value?" Back to the [FAQ](/support/faq) -Q: Can I add an indicator for the UDA value? +{{< question >}} +### Can I add an indicator for the UDA value? Something like this uda...indicator=U uda.priority.H.indicator=?? +{{< /question >}} +{{< answer >}} +An indicator format shows the presence or absence of data, not the presence of absence of a specific value, so to answer the question title, yes, see "{{man taskrc}}". To the specific example in the question, no. -A: An indicator format shows the presence or absence of data, not the presence of absence of a specific value, so to answer the question title, yes, see "{{man taskrc}}". To the specific example in the question, no. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.144.md b/content/support/faq/faq.task.144.md index 1f23a64b..69a50ef0 100644 --- a/content/support/faq/faq.task.144.md +++ b/content/support/faq/faq.task.144.md @@ -6,15 +6,17 @@ question: "How to import todo.txt" Back to the [FAQ](/support/faq) -Q: How to import todo.txt +{{< question >}} +### How to import todo.txt I have been using todo.txt task managers for a while (including the original shell, topydo, various apps, etc.) but now I would like to try out Taskwarrior too. In order to do that, however, I would like to import my existing todo.txt with more than a hundred tasks. I looked into the Taskwarrior JSON documentation, but unfortunately I am not familiar with text manipulation enough to convert my txt into the appropriate format. I might do it manually/regular expressions, but I was wondering if there is already out there a way to do that relatively easily? Or, if there is no a worked out way, how should I approach the problem? - -A: https://taskwarrior.org/download/import-todo.sh.pl +{{< /question >}} +{{< answer >}} +https://taskwarrior.org/download/import-todo.sh.pl This is a Perl script that can convert todo.txt data format to JSON. Then you just import the JSON into Taskwarrior. @@ -26,3 +28,4 @@ $ task import taskwarrior.json You'll need the Perl JSON module installed. Note that any extensions to the todotxt format that you are using wil not likely be recognized, but this script should provide a good starting point. +{{< /answer >}} diff --git a/content/support/faq/faq.task.145.md b/content/support/faq/faq.task.145.md index 22ffd3d4..c0d1f782 100644 --- a/content/support/faq/faq.task.145.md +++ b/content/support/faq/faq.task.145.md @@ -6,15 +6,18 @@ question: "How to create a task and start it directly" Back to the [FAQ](/support/faq) -Q: How to create a task and start it directly +{{< question >}} +### How to create a task and start it directly Is it possible to create a task and start it directly? Is there something like a return-value to use? something like: task $(task add some thing) start - -A: You can do this: +{{< /question >}} +{{< answer >}} +You can do this: $ task add ... start:now +{{< /answer >}} diff --git a/content/support/faq/faq.task.146.md b/content/support/faq/faq.task.146.md index 5f68ae1e..e3d34252 100644 --- a/content/support/faq/faq.task.146.md +++ b/content/support/faq/faq.task.146.md @@ -6,15 +6,18 @@ question: "Duplication of recurring tasks in syncing" Back to the [FAQ](/support/faq) -Q: Duplication of recurring tasks in syncing +{{< question >}} +### Duplication of recurring tasks in syncing I'm having troubles since I added a recurring task (red pills, daily). I compiled myself TaskWarrior 2.5.1 from the source on linux and in cygwin. Taskserver is freecinc.com. The issue is that every time I sync between the two machines, the task gets duplicated. I noticed that the win machine assigns the mask index as a float, while the linux machine does it as an integer. Could this be the source of the issue? Any pointer? - -A: This is a known problem (https://github.com/GothenburgBitFactory/taskserver/issues/46). +{{< /question >}} +{{< answer >}} +This is a known problem (https://github.com/GothenburgBitFactory/taskserver/issues/46). The workaround is to enable recurrence on only one of the clients, in your case this should be the Linux client. So disable recurrence on the Cygwin client with: cygwin> task config recurrence off +{{< /answer >}} diff --git a/content/support/faq/faq.task.147.md b/content/support/faq/faq.task.147.md index fb9bd422..9d363809 100644 --- a/content/support/faq/faq.task.147.md +++ b/content/support/faq/faq.task.147.md @@ -6,10 +6,13 @@ question: "Is it possible to sync .taskrc content?" Back to the [FAQ](/support/faq) -Q: Is it possible to sync .taskrc content? +{{< question >}} +### Is it possible to sync .taskrc content? I am especially interested whether I can sync reports and contexts between clients, because at the moment I do not see how I could do it. - -A: You can sync your configuration using DropBox or similar shared drive services. +{{< /question >}} +{{< answer >}} +You can sync your configuration using DropBox or similar shared drive services. Taskserver syncs tasks only. +{{< /answer >}} diff --git a/content/support/faq/faq.task.148.md b/content/support/faq/faq.task.148.md index 77ed4836..d4f0a03c 100644 --- a/content/support/faq/faq.task.148.md +++ b/content/support/faq/faq.task.148.md @@ -6,17 +6,20 @@ question: "Is there a reason the 'next' report doesn't use +READY?" Back to the [FAQ](/support/faq) -Q: Is there a reason the 'next' report doesn't use +READY? +{{< question >}} +### Is there a reason the 'next' report doesn't use +READY? I've noticed the next report to show me tasks with dependencies (which are in the pending state, as per the filter). Though these tasks are not actionable, so should not be shown at all (they're distracting me). I've for now changed the next report and replaced status:pending with +READY instead. Is that what I'm supposed to do? (hint: I'm trying to do GTD here) - -A: I think because the next report predates the READY virtual tag and scheduled attribute. +{{< /question >}} +{{< answer >}} +I think because the next report predates the READY virtual tag and scheduled attribute. But there's no reason why your next report shouldn't use it. +{{< /answer >}} diff --git a/content/support/faq/faq.task.149.md b/content/support/faq/faq.task.149.md index ca2eedaf..bc7e3cb7 100644 --- a/content/support/faq/faq.task.149.md +++ b/content/support/faq/faq.task.149.md @@ -6,11 +6,14 @@ question: "Change color theme at command line?" Back to the [FAQ](/support/faq) -Q: Change color theme at command line? +{{< question >}} +### Change color theme at command line? My .taskrc specifies the color theme I use about 95% of the time. But a couple of specific places, I need to use a different color theme. Can that be done at the command line? Or only in the .taskrc ? +{{< /question >}} +{{< answer >}} +Only in the .taskrc, however you can change .taskrc at the command line, or via environment variables. -A: Only in the .taskrc, however you can change .taskrc at the command line, or via environment variables. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.150.md b/content/support/faq/faq.task.150.md index 3588c66c..cf2c1e4c 100644 --- a/content/support/faq/faq.task.150.md +++ b/content/support/faq/faq.task.150.md @@ -6,7 +6,8 @@ question: "Task is deleted, but keeps showing up" Back to the [FAQ](/support/faq) -Q: Task is deleted, but keeps showing up +{{< question >}} +### Task is deleted, but keeps showing up Recently I batch deleted the tasks of a given tag : @@ -18,10 +19,12 @@ Similar problem happens with task +groceries delete How to prevent those task to crawl back into my terminal? - -A: The filter you are using needs to be more specific, because as-is you are attempting to delete already deleted tasks. +{{< /question >}} +{{< answer >}} +The filter you are using needs to be more specific, because as-is you are attempting to delete already deleted tasks. You need to restrict it to only the pending tasks. Use this: $ task +groceries +PENDING delete +{{< /answer >}} diff --git a/content/support/faq/faq.task.151.md b/content/support/faq/faq.task.151.md index 92d137bc..86ba942c 100644 --- a/content/support/faq/faq.task.151.md +++ b/content/support/faq/faq.task.151.md @@ -6,7 +6,8 @@ question: "Highlight task in calendar for its whole duration" Back to the [FAQ](/support/faq) -Q: Highlight task in calendar for its whole duration +{{< question >}} +### Highlight task in calendar for its whole duration I would like to highlight the whole length of a task in the calendar and not only the first day, for example the duration of a vacation: @@ -16,9 +17,11 @@ Entering 'task calendar' highlights only the first date of the task as due but n How can i highlight the whole duration from due to until of a task in the calendar? - -A: Taskwarrior is not a calendar. +{{< /question >}} +{{< answer >}} +Taskwarrior is not a calendar. It does not recognize concepts like "duration". I would recommend https://www.roaringpenguin.com/products/remind . +{{< /answer >}} diff --git a/content/support/faq/faq.task.152.md b/content/support/faq/faq.task.152.md index bd8f71ff..bbbacb45 100644 --- a/content/support/faq/faq.task.152.md +++ b/content/support/faq/faq.task.152.md @@ -6,11 +6,13 @@ question: "Timewarrior & Taskwarrior: How to represent never-ending tasks?" Back to the [FAQ](/support/faq) -Q: Timewarrior & Taskwarrior: How to represent never-ending tasks? +{{< question >}} +### Timewarrior & Taskwarrior: How to represent never-ending tasks? What's a reasonable way to represent never-ending tasks for the purposes of tracking time when using the Taskwarrior hook? Take, for instance, email, which is not really a task you can cross off, but still something you'd prefer to log time against. - -A: Good question. +{{< /question >}} +{{< answer >}} +Good question. Here are two suggestions: Create a "Process Email" task, with an email tag, but do not assign a due date. @@ -25,3 +27,4 @@ $ timew start 'Process Email' email ... $ timew stop +{{< /answer >}} diff --git a/content/support/faq/faq.task.153.md b/content/support/faq/faq.task.153.md index 8323d481..ff336c9d 100644 --- a/content/support/faq/faq.task.153.md +++ b/content/support/faq/faq.task.153.md @@ -6,12 +6,15 @@ question: "How do I clear age of a task?" Back to the [FAQ](/support/faq) -Q: How do I clear age of a task? +{{< question >}} +### How do I clear age of a task? For some tasks, instead of recurrence (because they don't have a regular time period), I like to just move them to a next day (due and wait), so I don't have to create them again. What's the best way to reset the age of the tasks for these? - -A: Modifying the entry date is what you want: +{{< /question >}} +{{< answer >}} +Modifying the entry date is what you want: $ task modify entry:now +{{< /answer >}} diff --git a/content/support/faq/faq.task.154.md b/content/support/faq/faq.task.154.md index f011d730..bdedff45 100644 --- a/content/support/faq/faq.task.154.md +++ b/content/support/faq/faq.task.154.md @@ -6,7 +6,8 @@ question: "How do you handle these two situations?" Back to the [FAQ](/support/faq) -Q: How do you handle these two situations? +{{< question >}} +### How do you handle these two situations? Hi, I'm wondering you have any best practices for these two situations: @@ -19,8 +20,9 @@ I don't have a good solution for #2, but for #1, I have a separate Taskwarrior i How do you handle these two situations? Since I don't have any answer to #2, I'm really curious what others do there. - -A: I think the solution to item #2 is just one of perspective. +{{< /question >}} +{{< answer >}} +I think the solution to item #2 is just one of perspective. All of the items are things you need to do, so they belong in Taskwarrior. The problem, I think, is that you are looking at the whole set all the time. @@ -29,3 +31,4 @@ Then you just need to make sure that the right tasks have the right tag, and use Your report is likely cluttered because you are looking at the set of all tasks as one list, and not as a collection of lists, which you pull out using tags. +{{< /answer >}} diff --git a/content/support/faq/faq.task.155.md b/content/support/faq/faq.task.155.md index 4fd46d59..103507f2 100644 --- a/content/support/faq/faq.task.155.md +++ b/content/support/faq/faq.task.155.md @@ -6,13 +6,15 @@ question: "What are subprojects?" Back to the [FAQ](/support/faq) -Q: What are subprojects? +{{< question >}} +### What are subprojects? I see subprojects (e.g project:Mainproject.Subproject) mentioned twice in the example workflow page, but they do not seem to be documented anywhere. They also don’t appear to be associated with the main project in any of the reports in my tests. Are subprojects simply a naming convention? And they are really just a completely separate project with a . in the filename which makes it looks like there is a hierarchical structure? Edit: Also mentioned here https://taskwarrior.org/download/tw-ubcde11.pdf - -A: A project is a string. +{{< /question >}} +{{< answer >}} +A project is a string. If you use the ''.'' notation in the string, then it affects filtering. For example, you could have these tasks: @@ -24,11 +26,13 @@ Then when you issue this filter: $ task project:Home.Garden list ... you will see two tasks, because the project filter performs a leftmost match. - -A: In addition to xxx's answer, subtasks will also show up as indented under their Main task when running a command like `task summary`: +{{< /question >}} +{{< answer >}} +In addition to xxx's answer, subtasks will also show up as indented under their Main task when running a command like `task summary`: Home Garden Vegetables Completing tasks in subprojects will increase the progress in the main project, so Taskwarrior indeed tracks them as part of that main project. +{{< /answer >}} diff --git a/content/support/faq/faq.task.156.md b/content/support/faq/faq.task.156.md index 9277bf7f..423eccb5 100644 --- a/content/support/faq/faq.task.156.md +++ b/content/support/faq/faq.task.156.md @@ -6,9 +6,12 @@ question: "Can I command without writing \"task\" each time?" Back to the [FAQ](/support/faq) -Q: Can I command without writing "task" each time? +{{< question >}} +### Can I command without writing "task" each time? Hi, I just discovered Taskwarrior. If I start using this, I will likely keep a terminal window open all the time designated for it. Can I make it so that terminal window is always assumed to be in this app, so I can skip writing 'task" each time I enter a command? +{{< /question >}} +{{< answer >}} +Just discovered the answer to my own question: tasksh -A: Just discovered the answer to my own question: tasksh - +{{< /answer >}} diff --git a/content/support/faq/faq.task.157.md b/content/support/faq/faq.task.157.md index 0d6f898a..18f6492e 100644 --- a/content/support/faq/faq.task.157.md +++ b/content/support/faq/faq.task.157.md @@ -6,12 +6,15 @@ question: "Report sorting on the fly" Back to the [FAQ](/support/faq) -Q: Report sorting on the fly +{{< question >}} +### Report sorting on the fly Is it possible to change the sorting of a report on the fly on the commandline? - -A: Yes. +{{< /question >}} +{{< answer >}} +Yes. Here is an example for the next report: $ task rc.report.next.sort=due-,urgency- next +{{< /answer >}} diff --git a/content/support/faq/faq.task.158.md b/content/support/faq/faq.task.158.md index c82cb5cf..eb858c0a 100644 --- a/content/support/faq/faq.task.158.md +++ b/content/support/faq/faq.task.158.md @@ -6,14 +6,17 @@ question: "Increase a task's due date relative the previous due date instead of Back to the [FAQ](/support/faq) -Q: Increase a task's due date relative the previous due date instead of the current date? +{{< question >}} +### Increase a task's due date relative the previous due date instead of the current date? I guess I am basically looking for a “postpone” function that I can bind to an alias. So if a task is due in 2 days, but I realize I will not finish it on time. I would like to increase the due date with 1 day. Currently what I would do is to set due:3d, but I am using vit and it would be nice just to hit one key on the currently highlighted task and have its due date increased in one-day increments. I tried due:+1d and due:-1d, but those set the due date relative the current day (just like due:1d) instead of relative the previous due date. - -A: While this is not a vit answer, this is how the command line tool delays a task by a week: +{{< /question >}} +{{< answer >}} +While this is not a vit answer, this is how the command line tool delays a task by a week: $ task modify due:due+1wk A: make a .vitrc shortcut. Note also that there are prompt history. So if you type, e.g., "mdue:due+1wk", if you want to do the same thing on a different task, you can just do "m". Let me know if you have trouble making a .vitrc shortcut to do what you want. +{{< /answer >}} diff --git a/content/support/faq/faq.task.159.md b/content/support/faq/faq.task.159.md index bffd7973..0281eda4 100644 --- a/content/support/faq/faq.task.159.md +++ b/content/support/faq/faq.task.159.md @@ -6,11 +6,13 @@ question: "How do I modify an existing annotation?" Back to the [FAQ](/support/faq) -Q: How do I modify an existing annotation? +{{< question >}} +### How do I modify an existing annotation? I have an annotation I want to modify. I can find no docs or previous questions relating to that. Is it even possible? - -A: There are several ways to change an annotation. +{{< /question >}} +{{< answer >}} +There are several ways to change an annotation. To make a small modification, such as a spelling correction, the modify command will update annotations also: $ task modify /teh/the/ @@ -22,3 +24,4 @@ Last (and by all means least) you can simply remove an annotation and add it bac $ task denotate teh $ task annotate Investigate the problem +{{< /answer >}} diff --git a/content/support/faq/faq.task.160.md b/content/support/faq/faq.task.160.md index 8a0b18f5..cf9b7b10 100644 --- a/content/support/faq/faq.task.160.md +++ b/content/support/faq/faq.task.160.md @@ -6,7 +6,8 @@ question: "Quickly finding a task by description" Back to the [FAQ](/support/faq) -Q: Quickly finding a task by description +{{< question >}} +### Quickly finding a task by description I find myself fairly frequently piping task list into grep (task list | grep "someregex") to find the ID of a particular task. Does Taskwarrior have a built-in flow for this? @@ -19,8 +20,9 @@ If not, I often find that piping the list report into grep produces this rather Is there any way to avoid this? - -A: Here's a document you might find useful - there are many features you might want to know about: +{{< /question >}} +{{< answer >}} +Here's a document you might find useful - there are many features you might want to know about: https://taskwarrior.org/docs/examples.html @@ -40,3 +42,4 @@ When you force the output of Taskwarrior into a pipe, it no longer has ability t You can override this, and the fact that color is disabled for the same reason. See 'man taskrc' for full details. +{{< /answer >}} diff --git a/content/support/faq/faq.task.161.md b/content/support/faq/faq.task.161.md index ea052750..7b71680e 100644 --- a/content/support/faq/faq.task.161.md +++ b/content/support/faq/faq.task.161.md @@ -6,15 +6,18 @@ question: "How can I get completion for completed projects ?" Back to the [FAQ](/support/faq) -Q: How can I get completion for completed projects ? +{{< question >}} +### How can I get completion for completed projects ? think that's a feature, but it actually annoys me. When I type `task add project:xxx`, xxx gets completed if there's an uncompleted task; however, it doesn't happen if there's no active task in the project even though it exists. - -A: Read 'man taskrc' and look for the 'list.all.projects' setting. +{{< /question >}} +{{< answer >}} +Read 'man taskrc' and look for the 'list.all.projects' setting. Taskwarrior is highly configurable, I recommend reading the documentation whenever you have a question like this. +{{< /answer >}} diff --git a/content/support/faq/faq.task.162.md b/content/support/faq/faq.task.162.md index fc8dfc64..ddf24dc3 100644 --- a/content/support/faq/faq.task.162.md +++ b/content/support/faq/faq.task.162.md @@ -6,15 +6,18 @@ question: "automatically tag new tasks" Back to the [FAQ](/support/faq) -Q: automatically tag new tasks +{{< question >}} +### automatically tag new tasks Can I automatically give all new tasks a specific tag via a config option or similar? Or do I need to implement a hook? - -A: Currently, a hook would be needed. - -A: I wrote the following hook (in php) +{{< /question >}} +{{< answer >}} +Currently, a hook would be needed. +{{< /question >}} +{{< answer >}} +I wrote the following hook (in php) #!/usr/bin/php tags[] = 'review'; fwrite(STDOUT, json_encode($input)); +{{< /answer >}} diff --git a/content/support/faq/faq.task.163.md b/content/support/faq/faq.task.163.md index db90342f..21bdb80c 100644 --- a/content/support/faq/faq.task.163.md +++ b/content/support/faq/faq.task.163.md @@ -6,7 +6,8 @@ question: "Why can't I export all tasks?" Back to the [FAQ](/support/faq) -Q: Why can't I export all tasks? +{{< question >}} +### Why can't I export all tasks? When I try the below command to backup my tasks, nothing happens. @@ -17,8 +18,9 @@ user@host:~$ task export test.json No file outputted Must I specify the exact tasks I want to export? Is export used for backing up? Or is it better that I backup the .task folder? - -A: Try +{{< /question >}} +{{< answer >}} +Try task export alone without a filter like "test.json". @@ -28,3 +30,4 @@ If you want to have the results in a file do a task export > test.json +{{< /answer >}} diff --git a/content/support/faq/faq.task.164.md b/content/support/faq/faq.task.164.md index e584559f..ae452881 100644 --- a/content/support/faq/faq.task.164.md +++ b/content/support/faq/faq.task.164.md @@ -6,7 +6,8 @@ question: "Editing failed with exit code 256" Back to the [FAQ](/support/faq) -Q: Editing failed with exit code 256 +{{< question >}} +### Editing failed with exit code 256 When I run @@ -19,7 +20,9 @@ Subsequent attempts to edit the task are then met with Task is already being edited. Any thoughts on what is going on here? - -A: You said vim, but I get the impression you really meant gvim. +{{< /question >}} +{{< answer >}} +You said vim, but I get the impression you really meant gvim. If so, it's probably the forking nature of gvim and you'll need to use 'gvim -f'. +{{< /answer >}} diff --git a/content/support/faq/faq.task.165.md b/content/support/faq/faq.task.165.md index d179ea1e..f2c5fd10 100644 --- a/content/support/faq/faq.task.165.md +++ b/content/support/faq/faq.task.165.md @@ -6,11 +6,14 @@ question: "Trigger task creation when a particular task is completed" Back to the [FAQ](/support/faq) -Q: Trigger task creation when a particular task is completed +{{< question >}} +### Trigger task creation when a particular task is completed Any suggestions how to implement this in Taskwarrior? I'm guessing a hook script that on-modify inspects the modified task and executes task add if needed? - -A: I found exactly what I needed: +{{< /question >}} +{{< answer >}} +I found exactly what I needed: https://github.com/JensErat/task-relative-recur +{{< /answer >}} diff --git a/content/support/faq/faq.task.166.md b/content/support/faq/faq.task.166.md index 4536796e..b9ead41e 100644 --- a/content/support/faq/faq.task.166.md +++ b/content/support/faq/faq.task.166.md @@ -6,7 +6,8 @@ question: "Create recurring task with due date the date instance was created" Back to the [FAQ](/support/faq) -Q: Taskwarrior: create recurring task with due date the date instance was created +{{< question >}} +### Taskwarrior: create recurring task with due date the date instance was created I would like to create a recurring task to remind me to process my GTD intray (it can be used also to implement any other habit), that has the due date of the instance equal the day the instance was created, and it expires (gets deleted) after 24 hours after the instance was created. @@ -20,6 +21,8 @@ But this doesn't work as expected: The due date of 'today' is in relation to the Having the instance task have the due date set to current day would be useful because I could see the task with the +DUETODAY virtual tag, and it makes sense because it's something that must be accomplished that day Thank you for any suggestions +{{< /question >}} +{{< answer >}} +I think you need due:23:45 (or some specific time of day) to accomplish this. -A: I think you need due:23:45 (or some specific time of day) to accomplish this. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.167.md b/content/support/faq/faq.task.167.md index fa21fd8a..37fea4c9 100644 --- a/content/support/faq/faq.task.167.md +++ b/content/support/faq/faq.task.167.md @@ -6,7 +6,8 @@ question: "Reporting/column formats for duration type UDAs" Back to the [FAQ](/support/faq) -Q: Reporting/column formats for duration type UDAs +{{< question >}} +### Reporting/column formats for duration type UDAs I am experimenting with a duration type UDA, which I try to use to record tasks' time estimates (and, later, perhaps, to use them for day planning). @@ -14,9 +15,11 @@ I have a number of questions whichmight be related to column formats: Can I alter duration presentation mode? By default it gives me the ISO format (e.g. PT1H), but it is less intuitive for me as e.g. 1h, 30m etc. In the sorting settings of the report, can I refer to an "indicator" format of a duration type UDA? That is, it would only look at it whether it has or has not a duration attribute (and, therefore, I could include a break between tasks which have estimates and those which do not)? - -A: There is no support for UDA rendering formats. +{{< /question >}} +{{< answer >}} +There is no support for UDA rendering formats. I suggest you submit a feature request. Report breaks are triggered by the underlying value, not the display format, so that won't have the effect you want. +{{< /answer >}} diff --git a/content/support/faq/faq.task.168.md b/content/support/faq/faq.task.168.md index fd0b5384..67e20b0f 100644 --- a/content/support/faq/faq.task.168.md +++ b/content/support/faq/faq.task.168.md @@ -6,8 +6,11 @@ question: "The second row in my task list does not show up, only black box is di Back to the [FAQ](/support/faq) -Q: The second row in my task list does not show up, only black box is displayed, why? - -A: Try removing the color theme. +{{< question >}} +### The second row in my task list does not show up, only black box is displayed, why? +{{< /question >}} +{{< answer >}} +Try removing the color theme. If that shows the data, then it means the color theme conflicts with your terminal colors. +{{< /answer >}} diff --git a/content/support/faq/faq.task.169.md b/content/support/faq/faq.task.169.md index a1c0fb17..93ebd36e 100644 --- a/content/support/faq/faq.task.169.md +++ b/content/support/faq/faq.task.169.md @@ -6,9 +6,12 @@ question: "Tasks that will not be done but should be remembered" Back to the [FAQ](/support/faq) -Q: Tasks that will not be done but should be remembered +{{< question >}} +### Tasks that will not be done but should be remembered In using Taskwarrior recently, I added several tasks and later decided against doing them. Normally I would just delete such a task but it would be good to remember them for future reference. I've been struggling with how to treat such tasks. I'm wondering what suggestions people might have for dealing with these tasks given I want to remember them, but don't want them to show up in the next report any more? For example, would you mark them as complete and give them a special tag? Would you, (can you), give them a special status? And so on. I am especially interested in a method that is faithful to the semantics of the Taskwarrior constructs, if that is possible of course. +{{< /question >}} +{{< answer >}} +I think you nailed it with "give them a special tag" and delete them. There's no "canceled" status, or anything like that, and you can still query them with the "all" report or the +DELETED special-tag. -A: I think you nailed it with "give them a special tag" and delete them. There's no "canceled" status, or anything like that, and you can still query them with the "all" report or the +DELETED special-tag. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.170.md b/content/support/faq/faq.task.170.md index 954dba5d..317aa2a1 100644 --- a/content/support/faq/faq.task.170.md +++ b/content/support/faq/faq.task.170.md @@ -6,15 +6,17 @@ question: "Life without attachments" Back to the [FAQ](/support/faq) -Q: Life without attachments +{{< question >}} +### Life without attachments I'm currently trying to migrate to TW from proprietary task manager but I can't figure how to live essentially without attachments to tasks. According to GTD and other effectiveness techniques you should unload your brain as much as possible. One of the implications is that you have to put the information related to the task in easily reachable location. The most obvious location is task attachment. Currently I have web UI which allows me to attach arbitrary files as well as text notes to the task and it's one click away from tasklist. But with TW the only solution I could come up with is to have some kind of separate wiki or evernote-like app which will have articles with the same title as the task. Not only this is much harder to maintain than direct task attachments but it's also harder to reach: open the app, open the wiki, manually find the needed article etc. I understand that this is somehow an implication of CLI app and I'm aware of taskattach, but wanted to ask you guys how you deal with it? - -A: There are a few answers to your longing for attachments, the first of which would be annotations. A task can be enhanced with any number of annotations, including multi-line, freeform notes. For a couple of annotation options see: https://github.com/linuxcaffe/tw-ann-hook +{{< /question >}} +{{< answer >}} +There are a few answers to your longing for attachments, the first of which would be annotations. A task can be enhanced with any number of annotations, including multi-line, freeform notes. For a couple of annotation options see: https://github.com/linuxcaffe/tw-ann-hook Then there's tasknotes, which are text files related to a specific task by uuid. Tasknotes are implemented in several places; the original implementation is https://github.com/mikebobroski/tasknote (getting old) and taskopen (link above) has an updated implementation, as does https://github.com/blakesweeney/unite-taskwarrior. @@ -29,3 +31,4 @@ This allows the opening of URLs that are added as annotations. It's not really an attachment solution, but it does let you link your tasks to attachments. +{{< /answer >}} diff --git a/content/support/faq/faq.task.171.md b/content/support/faq/faq.task.171.md index c2353148..b58df3e8 100644 --- a/content/support/faq/faq.task.171.md +++ b/content/support/faq/faq.task.171.md @@ -6,9 +6,12 @@ question: "formatted output" Back to the [FAQ](/support/faq) -Q: formatted output +{{< question >}} +### formatted output I need to get the list of the pending task with defined columns and separators for my own script. And it should create new tasks from the recur templates if needs. How can i do this? My version: 2.5.1. Thank you. +{{< /question >}} +{{< answer >}} +Using the export command is the right way to get data out of Taskwarrior. -A: Using the export command is the right way to get data out of Taskwarrior. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.172.md b/content/support/faq/faq.task.172.md index 7a409507..43154b6d 100644 --- a/content/support/faq/faq.task.172.md +++ b/content/support/faq/faq.task.172.md @@ -4,7 +4,8 @@ topic: "Taskwarrior" question: "color a specific task" --- -Q: color a specific task +{{< question >}} +### color a specific task I see the task-color man page talking about coloring every task in a certain project, or with a certain priority, and stuff like that. @@ -12,8 +13,9 @@ Can I just say "task 2 color red" ? As far as I can tell, the answer is "I have to assign some sort of condition – a tag, or a project, or a UDA – and color everything with that condition, and then never accidentally use that condition again. But maybe I missed something? - -A: That's not supported, the color rules apply to group of tasks, not individual ones. +{{< /question >}} +{{< answer >}} +That's not supported, the color rules apply to group of tasks, not individual ones. It was once true, but the feature wasn't implemented well, and it was removed. But it will be back... @@ -25,3 +27,4 @@ This doesn't really scale though. $ task config color.tag.special_color 'white on red' $ task 2 modify +special_color +{{< /answer >}} diff --git a/content/support/faq/faq.task.173.md b/content/support/faq/faq.task.173.md index f77e9c58..7ee28767 100644 --- a/content/support/faq/faq.task.173.md +++ b/content/support/faq/faq.task.173.md @@ -6,7 +6,8 @@ question: "Why recurring tasks not in today list?" Back to the [FAQ](/support/faq) -Q: Why recurring tasks not in today list? +{{< question >}} +### Why recurring tasks not in today list? I added task: @@ -14,6 +15,8 @@ task add «task1» due:We recur:weekly Today is Wednesday why this task not in that report? task due:today list +{{< /question >}} +{{< answer >}} +Because if today is Wednesday, the due:We means next Wednesday. -A: Because if today is Wednesday, the due:We means next Wednesday. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.174.md b/content/support/faq/faq.task.174.md index beeae85b..68f48184 100644 --- a/content/support/faq/faq.task.174.md +++ b/content/support/faq/faq.task.174.md @@ -6,13 +6,15 @@ question: "Date or datetime on which a task must be performed" Back to the [FAQ](/support/faq) -Q: Date or datetime on which a task must be performed +{{< question >}} +### Date or datetime on which a task must be performed My question is how do I "encode" in Taskwarrior a task that must be performed on a certain date or date-time? For example, if I have a meeting at work on the 2016-28-09 12:00, how do I input this in Taskwarrior? I am aware that there is "due date" but the definition of due data is something that must be completed by a certain date, for example paying my taxes (can be done on any day before a certain day). I am thinking of creating a new UDA to store such information, but considering Taskwarrior was designed to support GTD, and GTD supports using of calendar (and on calendar you put day or time specific tasks) I am wondering whether or not I missed something in the documentation. Thank you. - -A: Have you read about the Scheduled Date? +{{< /question >}} +{{< answer >}} +Have you read about the Scheduled Date? From the documentation: @@ -22,3 +24,4 @@ A scheduled date is different from a due date, and represents the earliest oppor Tasks that have no scheduled date are considered always ready. Again, metadata drives the sophistication of your task list. +{{< /answer >}} diff --git a/content/support/faq/faq.task.175.md b/content/support/faq/faq.task.175.md index 81aaeba9..b1209e42 100644 --- a/content/support/faq/faq.task.175.md +++ b/content/support/faq/faq.task.175.md @@ -6,11 +6,13 @@ question: "Urgency coefficient to 0 for a specific tag" Back to the [FAQ](/support/faq) -Q: Urgency coefficient to 0 for a specific tag +{{< question >}} +### Urgency coefficient to 0 for a specific tag I would like to create the tag +contact, and use Taskwarrior (also as) as a contact manager to save info on people (phone numbers, emails, etc). However, I don't want these to increase the urgency as time goes by. I would like to know if it's possible to set urgency=0 for all tasks that have "contact" tag. Thank you - -A: Urgency is a polynomial value, and while you can set the coefficient for a specific tag to zero, and therefore eliminate one term, this does not affect other terms. +{{< /question >}} +{{< answer >}} +Urgency is a polynomial value, and while you can set the coefficient for a specific tag to zero, and therefore eliminate one term, this does not affect other terms. Urgency is not intended to be something you can manipulate and set to zero. It is instead the aggregate of subtle influences that are deliberately based on metadata. @@ -19,3 +21,4 @@ It is an emergent value, and not directly under your control. Instead, you might wish to set a negative coefficient for a specific tag, which will have the effect of reducing the urgency, scaled by the coefficient. This will lower urgency, not zero it. +{{< /answer >}} diff --git a/content/support/faq/faq.task.176.md b/content/support/faq/faq.task.176.md index 109dfdf3..7033f7e1 100644 --- a/content/support/faq/faq.task.176.md +++ b/content/support/faq/faq.task.176.md @@ -6,7 +6,8 @@ question: "multi-line report" Back to the [FAQ](/support/faq) -Q: multi-line report +{{< question >}} +### multi-line report My reports are getting a little wide for an 80-column screen, for example, @@ -33,8 +34,10 @@ ID Tags R Wait Scheduled 6 remind sdo 2016-09-01 09:00 6d 2016-09-06 09:00 2016-09-06 09:00 install the backup disk - -A: No. +{{< /question >}} +{{< answer >}} +No. But you can make a custom report that includes fewer columns, or add a report-specific dateformat to shrink the timestamp, etc. +{{< /answer >}} diff --git a/content/support/faq/faq.task.177.md b/content/support/faq/faq.task.177.md index ec7d443a..9a2ab2ec 100644 --- a/content/support/faq/faq.task.177.md +++ b/content/support/faq/faq.task.177.md @@ -6,23 +6,11 @@ question: "dependencies and recurrence?" Back to the [FAQ](/support/faq) -Q: dependencies and recurrence? - -task 2.5.1 built for linux - -I have two recurring tasks, one due every Monday, and one due every Tuesday. -I would like to make each individual Tuesday task "depend" on the related Monday task. -I can't figure out how to do that. - -I tried - -task add Monday Task due 2016-08-08T09:00 wait:due-3d recur:weekly - -task add Tuesday Task due:2016-08-09T09:00 wait:due-3d recur:weekly depends:1 -but the created tasks are all blocked by the recurrence template itself, not by the tasks created by template. - -Is this possible? (That is, without manually associating the tasks every week.) - -A: Not supported automatically. +{{< question >}} +### Is this possible? (That is, without manually associating the tasks every week.) +{{< /question >}} +{{< answer >}} +Not supported automatically. You'd have to manually adjust the dependencies every time. +{{< /answer >}} diff --git a/content/support/faq/faq.task.178.md b/content/support/faq/faq.task.178.md index 0cb3a44f..72c320f9 100644 --- a/content/support/faq/faq.task.178.md +++ b/content/support/faq/faq.task.178.md @@ -6,14 +6,17 @@ question: "How can I test Taskwarrior's actions in the future?" Back to the [FAQ](/support/faq) -Q: How can I test Taskwarrior's actions in the future? +{{< question >}} +### How can I test Taskwarrior's actions in the future? Worthless backstory – I'm trying to determine which is a better workflow for me – using Taskwarrior's built-in recurrence (which has some issues for me but nothing insurmountable) or using an external calendar program to generate commands to add tasks (which resolves my recurrence oddities but loses some of Taskwarrior's advanced features). Is there a way that I can set up (let's say) 2 recurring tasks, that is "due" on Mondays with a "wait" for the preceding Saturday, and one that is "due" on Tuesdays with a "wait" for the preceding Sunday; and then have Taskwarrior "Pretend it's Thursday, what happens? Pretend it's Friday, what happens? Pretend it's Saturday, what happens? Pretend it's Sunday, what happens? Pretend it's Monday, what happens? Pretend it's Tuesday, what happens?" I know I can do that by resetting my system clock and other machine-altering ways. I'd just rather not. - -A: If this is a one-off kind of test, then use faketime. +{{< /question >}} +{{< answer >}} +If this is a one-off kind of test, then use faketime. That's what we use in the test suite. +{{< /answer >}} diff --git a/content/support/faq/faq.task.179.md b/content/support/faq/faq.task.179.md index 44839567..a8fa00bb 100644 --- a/content/support/faq/faq.task.179.md +++ b/content/support/faq/faq.task.179.md @@ -6,7 +6,8 @@ question: "scheduled but still urgent?" Back to the [FAQ](/support/faq) -Q: scheduled but still urgent? +{{< question >}} +### scheduled but still urgent? Greetings. I'm confused about "scheduled" tasks. @@ -46,8 +47,9 @@ I thought that the "scheduled" tag means "cannot be completed before this." So I want to see that it's upcoming, but clearly I have more urgent tasks than this one. Am I missing something? - -A: You are using scheduled correctly. +{{< /question >}} +{{< answer >}} +You are using scheduled correctly. If you intend to spend all day thursday and friday on a lengthy task, then the scheduled date is early thursday, and the due date is late friday. Schedule and due therefore bracket the time range. @@ -64,3 +66,4 @@ It is also sorted by urgency, but will not include future scheduled tasks. And of course, you can change any of the above through configuration, so for example you can use the ready report filter and add it to the next report filter, or set ready as your default command, and you can adjust the urgency coefficients to suit your notion of urgency. All documented online. +{{< /answer >}} diff --git a/content/support/faq/faq.task.180.md b/content/support/faq/faq.task.180.md index 7db85fb1..9dd3237d 100644 --- a/content/support/faq/faq.task.180.md +++ b/content/support/faq/faq.task.180.md @@ -6,7 +6,11 @@ question: "Is there a way to alert when active task time ends?" Back to the [FAQ](/support/faq) -Q: Is there a way to alert when active task time ends? +{{< question >}} +### Is there a way to alert when active task time ends? +{{< /question >}} +{{< answer >}} +No, but there is a hook system that can used to detect the event, and then do ... whatever you want. -A: No, but there is a hook system that can used to detect the event, and then do ... whatever you want. +{{< /answer >}} \ No newline at end of file diff --git a/content/support/faq/faq.task.181.md b/content/support/faq/faq.task.181.md index e1aa267c..341f016d 100644 --- a/content/support/faq/faq.task.181.md +++ b/content/support/faq/faq.task.181.md @@ -6,7 +6,8 @@ question: "some commands modify complete tasks" Back to the [FAQ](/support/faq) -Q: some commands modify complete tasks +{{< question >}} +### some commands modify complete tasks Some commands modify completed tasks despite: @@ -25,8 +26,9 @@ In fact: $task better Only returns the status:pending task, but any modification like done or modify due:today changes completed and current tasks. - -A: You're doing two different things: +{{< /question >}} +{{< answer >}} +You're doing two different things: 'task better done' is modifying any task with the 'better' substring. 'task better' is adding 'better' to the filter of the default command. @@ -35,3 +37,4 @@ Typically you would specify an ID/UUID for a task to modify. But in your case your are specifying a text pattern, which could apply to many tasks. This is functioning as designed. +{{< /answer >}} diff --git a/content/support/faq/faq.task.182.md b/content/support/faq/faq.task.182.md index b24ca74e..0bcab819 100644 --- a/content/support/faq/faq.task.182.md +++ b/content/support/faq/faq.task.182.md @@ -6,7 +6,8 @@ question: "define report based on other report?" Back to the [FAQ](/support/faq) -Q: define report based on other report? +{{< question >}} +### define report based on other report? Is there, by chance, a shortcut to defining a report based on another report? @@ -21,10 +22,12 @@ report.soon.description="just one change" so that I don't have to redefine an entire report just to make one little change, and then maybe later if I change one, the other will change along with it? - -A: No, this doesn't exist. +{{< /question >}} +{{< answer >}} +No, this doesn't exist. Creating a report like this would involve copying and editing: task show report.waiting >> ~/.taskrc edit ~/.taskrc +{{< /answer >}} diff --git a/content/support/faq/faq.task.183.md b/content/support/faq/faq.task.183.md index 4543ef89..3ced006d 100644 --- a/content/support/faq/faq.task.183.md +++ b/content/support/faq/faq.task.183.md @@ -6,7 +6,8 @@ question: "How to express precedence, or the reciprocal of dependency?" Back to the [FAQ](/support/faq) -Q: How to express precedence, or the reciprocal of dependency? +{{< question >}} +### How to express precedence, or the reciprocal of dependency? Taskwarrior allow me to specify that a given task (task 1) depends upon another task (task 2). The command for this is specific to task 1: @@ -15,8 +16,9 @@ But what if I am working on task 2, and I want to modify task 2 to show that it task 2 add precedes:1 (*An antecedent is something that logically precedes another thing, so these two words are closely linked. These are probably not the best terms here; they're just the ones I could think of.) - -A: There is a hook script that implements this: +{{< /question >}} +{{< answer >}} +There is a hook script that implements this: https://gist.github.com/wbsch/a2f7264c6302918dfb30 @@ -24,3 +26,4 @@ https://gist.github.com/wbsch/a2f7264c6302918dfb30 The reason this isn't implemented is that it's not just funky syntax - the depends:xxx directly references the attribute depends. The precedes is not an attribute. +{{< /answer >}} diff --git a/content/support/faq/faq.task.184.md b/content/support/faq/faq.task.184.md index 9e5452b8..1bd9288a 100644 --- a/content/support/faq/faq.task.184.md +++ b/content/support/faq/faq.task.184.md @@ -6,9 +6,12 @@ question: "Annotation sorting - is there a possibility and how?" Back to the [FAQ](/support/faq) -Q: Annotation sorting - is there a possibility and how? +{{< question >}} +### Annotation sorting - is there a possibility and how? Is there a way to sort annotations? I would love to have the latest entry first down to the oldest entry last. +{{< /question >}} +{{< answer >}} +No, sorting is fixed and increasing, the opposite direction. -A: No, sorting is fixed and increasing, the opposite direction. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.185.md b/content/support/faq/faq.task.185.md index 56ae1e18..1cabad44 100644 --- a/content/support/faq/faq.task.185.md +++ b/content/support/faq/faq.task.185.md @@ -6,18 +6,22 @@ question: "Setting the deadline for the whole project in Taskwarrior" Back to the [FAQ](/support/faq) -Q: Setting the deadline for the whole project in Taskwarrior +{{< question >}} +### Setting the deadline for the whole project in Taskwarrior I know that I can easily set a deadline for a single task task ID modify due:31st But is there any built-in way to set the deadline for the whole project? I know I could use some scripting/grepping/cutting/etc., but maybe there's no need to do it? - -A: A project is simply an attribute of a task, and doesn't have its own metadata. This means there is no due date for a project, just for the tasks. - -A: You can use something like this: +{{< /question >}} +{{< answer >}} +A project is simply an attribute of a task, and doesn't have its own metadata. This means there is no due date for a project, just for the tasks. +{{< /question >}} +{{< answer >}} +You can use something like this: task project:MyProject modify due:2weeks This command sets due date to all tasks in selected project. +{{< /answer >}} diff --git a/content/support/faq/faq.task.186.md b/content/support/faq/faq.task.186.md index 81109c18..e319dea9 100644 --- a/content/support/faq/faq.task.186.md +++ b/content/support/faq/faq.task.186.md @@ -6,15 +6,17 @@ question: "Archiving Tasks" Back to the [FAQ](/support/faq) -Q: Archiving Tasks +{{< question >}} +### Archiving Tasks What is the best practice for "archiving" ( ? ) a task – that is, removing it from the task list, but not marking it done or deleting it? Use Case The meeting I was scheduled to attend today (in my task list) has been postponed to next week, when I am unable to attend. I can't mark today's meeting done, but if I delete it, I have no record of when the meeting took place (next week). This record is useful to check later that I received the minutes, or just to check in future when that meeting actually took place. - -A: There is only the completed and deleted states for a task, but you do have the option of storing the reason in another attribute. +{{< /question >}} +{{< answer >}} +There is only the completed and deleted states for a task, but you do have the option of storing the reason in another attribute. Deleting a task really only marks it as deleted. This means it doesn't go away, and remains available for reference. I would suggest deleting the task, and adding an annotation at the same time, like this: @@ -24,4 +26,4 @@ Or instead, complete the task with an annotation: $ task done 'Meeting rescheduled' There are many ways to think of completed and deleted tasks. If you think of deleted as simply meaning 'Removed from my list', perhaps that now fits your model. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.187.md b/content/support/faq/faq.task.187.md index b0908a9d..eb0f7a84 100644 --- a/content/support/faq/faq.task.187.md +++ b/content/support/faq/faq.task.187.md @@ -6,11 +6,14 @@ question: "Append to UDA field" Back to the [FAQ](/support/faq) -Q: Append to UDA field +{{< question >}} +### Append to UDA field I have a UDA field and I would like to append to it - similar to how annotate works. Is this possible? - -A: No, you'll have to do this, assuming it's a string: +{{< /question >}} +{{< answer >}} +No, you'll have to do this, assuming it's a string: $ task modify uda_field:uda_field+' more text' +{{< /answer >}} diff --git a/content/support/faq/faq.task.188.md b/content/support/faq/faq.task.188.md index eef7a4fe..fedf1849 100644 --- a/content/support/faq/faq.task.188.md +++ b/content/support/faq/faq.task.188.md @@ -6,7 +6,8 @@ question: "Create task with a context does not apply the filter to the task" Back to the [FAQ](/support/faq) -Q: Create task with a context does not apply the filter to the task +{{< question >}} +### Create task with a context does not apply the filter to the task HI guys, @@ -43,6 +44,8 @@ Last modified 19.06.2016 18:04 (1s) I would expect that setting up a context would imply to new create task to be in the same context as well. Is this intended or not? +{{< /question >}} +{{< answer >}} +Context was designed to be a persistent, meta-filter reducing the task list to a given context (like work, home, shopping etc) following the GTD(tm) idea that you con only perform tasks that are in the context you are in right now. It was a conscious decision for the context feature to affect only reporting actions. Let's say you were at home, using the home context to show only tasks relevant to that context, but you suddenly have ideas for tasks to perform in other contexts, it is important to allow the user to quickly input any task, any time, without having to disable the context filters first. -A: Context was designed to be a persistent, meta-filter reducing the task list to a given context (like work, home, shopping etc) following the GTD(tm) idea that you con only perform tasks that are in the context you are in right now. It was a conscious decision for the context feature to affect only reporting actions. Let's say you were at home, using the home context to show only tasks relevant to that context, but you suddenly have ideas for tasks to perform in other contexts, it is important to allow the user to quickly input any task, any time, without having to disable the context filters first. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.189.md b/content/support/faq/faq.task.189.md index b491ee23..1e523f3b 100644 --- a/content/support/faq/faq.task.189.md +++ b/content/support/faq/faq.task.189.md @@ -6,7 +6,8 @@ question: "Understanding reports" Back to the [FAQ](/support/faq) -Q: Understanding reports +{{< question >}} +### Understanding reports How can I find out which reports I should modify if I want to change the report format for @@ -15,8 +16,9 @@ $ task next and $ task due:... - -A: In the first example, you want to modify the next report, which means modifying one or more of these settings: +{{< /question >}} +{{< answer >}} +In the first example, you want to modify the next report, which means modifying one or more of these settings: $ task show report.next Config Variable Value @@ -37,3 +39,4 @@ Take a look here, to learn about customizing reports: https://taskwarrior.org/docs/report.html +{{< /answer >}} diff --git a/content/support/faq/faq.task.190.md b/content/support/faq/faq.task.190.md index e9060e5f..723875f0 100644 --- a/content/support/faq/faq.task.190.md +++ b/content/support/faq/faq.task.190.md @@ -6,17 +6,20 @@ question: "Recurring weekly task at specific time" Back to the [FAQ](/support/faq) -Q: Recurring weekly task at specific time +{{< question >}} +### Recurring weekly task at specific time How can I add a recurring task at 08:00 every Tuesday? This adds the task: task add project:Home Washing due:tue recur:weekly but I'd like to specify a time as well. - -A: Simply put the time in the due date, and the weekly recurrence will match it: +{{< /question >}} +{{< answer >}} +Simply put the time in the due date, and the weekly recurrence will match it: $ task add ... due:2016-06-14T08:00 recur:weekly This is already answered here: https://taskwarrior.org/docs/examples.html#recur +{{< /answer >}} diff --git a/content/support/faq/faq.task.191.md b/content/support/faq/faq.task.191.md index 2bff9ffa..9428af21 100644 --- a/content/support/faq/faq.task.191.md +++ b/content/support/faq/faq.task.191.md @@ -6,11 +6,14 @@ question: "subtasks with projects or dependencies" Back to the [FAQ](/support/faq) -Q: subtasks with projects or dependencies +{{< question >}} +### subtasks with projects or dependencies Can someone explain to me the nature of projects and dependencies? It seems that sub-tasks are implemented with "dependencies", but what, then, is the purpose of "projects"? - -A: Dependencies are not full-fledged subtasks, they just make tasks 'depend' on each other, meaning that one task should not be worked on until the other has been completed. Subtasks support is planned in one of the future releases. +{{< /question >}} +{{< answer >}} +Dependencies are not full-fledged subtasks, they just make tasks 'depend' on each other, meaning that one task should not be worked on until the other has been completed. Subtasks support is planned in one of the future releases. Projects have a simple purpose of grouping tasks into one namespace. I.e. I like to use project:Work and project:Home to separate your work and home tasks. +{{< /answer >}} diff --git a/content/support/faq/faq.task.192.md b/content/support/faq/faq.task.192.md index f78aaa27..46aa637d 100644 --- a/content/support/faq/faq.task.192.md +++ b/content/support/faq/faq.task.192.md @@ -6,11 +6,14 @@ question: "Is it possible to have a task recur on the last working day before th Back to the [FAQ](/support/faq) -Q: Is it possible to have a task recur on the last working day before the 15th every month? +{{< question >}} +### Is it possible to have a task recur on the last working day before the 15th every month? I see there are named dates for due dates (such as eom for end of month, and eoww for end of work week) but is there such a thing for recurrence? Would it be possible to set up a recurring task for a paycheck on the 15th, for example. This happens the same day every month unless the 15th happens to be on a Saturday or Sunday and then it will be a day or two earlier. If I scheduled it for the 15th every month and waited until due-1d it would show up late. If there isn't a way of doing this, is there some sort of conditional logic which might work in the config or something to build this feature in? +{{< /question >}} +{{< answer >}} +This is not currently possible, but should be added as a feature request. -A: This is not currently possible, but should be added as a feature request. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.193.md b/content/support/faq/faq.task.193.md index cf91ef2f..450ab8b5 100644 --- a/content/support/faq/faq.task.193.md +++ b/content/support/faq/faq.task.193.md @@ -6,10 +6,12 @@ question: "How do recurring tasks work?" Back to the [FAQ](/support/faq) -Q: How do recurring tasks work? +{{< question >}} +### How do recurring tasks work? How do recurring tasks work? (A guide to recurring tasks) - -A: This guide is written for task version 2.3.0. +{{< /question >}} +{{< answer >}} +This guide is written for task version 2.3.0. Due to inconsistencies and general lack of documentation, I thought it would be useful to write this, both as a personal reference and for others who need it. @@ -68,3 +70,4 @@ Ideas to try: write a script to delete the lines from ~/.task/pending.data, or d Make sure you delete from the bottom up so the line numbers don't shift as you are working.) You can use this script to clean up expired task templates: https://gist.github.com/darkfeline/7d138198b68271a9f6fe Read the code to see what it does, and modify it if needed. +{{< /answer >}} diff --git a/content/support/faq/faq.task.194.md b/content/support/faq/faq.task.194.md index 09e0c486..7441d0d9 100644 --- a/content/support/faq/faq.task.194.md +++ b/content/support/faq/faq.task.194.md @@ -6,9 +6,11 @@ question: "How can I remove all colors from output?" Back to the [FAQ](/support/faq) -Q: How can I remove all colors from output? - -A: Use the color=off override, like this, to disable all color: +{{< question >}} +### How can I remove all colors from output? +{{< /question >}} +{{< answer >}} +Use the color=off override, like this, to disable all color: $ task rc.color=off ... @@ -16,4 +18,4 @@ A: You can try do so: task | cat For me, it clears all color. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.195.md b/content/support/faq/faq.task.195.md index e12bcdbc..5bed03fd 100644 --- a/content/support/faq/faq.task.195.md +++ b/content/support/faq/faq.task.195.md @@ -6,10 +6,13 @@ question: "Is there a way to set a duration of task?" Back to the [FAQ](/support/faq) -Q: Is there a way to set a duration of task? +{{< question >}} +### Is there a way to set a duration of task? like: task add schedule:today duration:4day +{{< /question >}} +{{< answer >}} +See User Defined Attributes. -A: See User Defined Attributes. - +{{< /answer >}} diff --git a/content/support/faq/faq.task.196.md b/content/support/faq/faq.task.196.md index bfdf14e0..4b05adb5 100644 --- a/content/support/faq/faq.task.196.md +++ b/content/support/faq/faq.task.196.md @@ -6,7 +6,8 @@ question: "Possible to have scheduled/wait values persist?" Back to the [FAQ](/support/faq) -Q: Possible to have scheduled/wait values persist? +{{< question >}} +### Possible to have scheduled/wait values persist? Perhaps if I explain my workflow using another task system my question will make more sense. My primary task view that I work from, my $(task next) as it were, is to group by priority, sort by priority descending, sort by start date with overdue fading off the bottom, and I filter out start dates in the future. Mentally, the start date for me is the soonest date that I'd consider working the task. I work primarily from the priority and my start date fields, with due being used minimally and only for externally imposed hard deadlines. @@ -18,8 +19,9 @@ report.foo.filter=scheduled}} +{{< answer >}} +This might just be a terminology problem. Have you applied a 'scheduled' date to your tasks? Take a look at this page, and verify that the meanings of scheduled, start, due and wait match your expectations: @@ -27,8 +29,10 @@ Take a look at this page, and verify that the meanings of scheduled, start, due Glossary of Terms The glossary is not (yet) complete, but it does contain definitions for all the dates associated with a task. - -A: I think the real problem was incomplete testing and a messed up filter on my part. I've got my first report roughed out now. % cat .taskrc | grep mySchedule report.mySchedule.description=My Task Report report.mySchedule.columns=id,priority,scheduled,description report.mySchedule.labels=ID,PRI,Schedule,Description report.mySchedule.sort=priority-,scheduled-,description+ report.mySchedule.filter=end:none and (scheduled.before:now or scheduled:none) I'll just have to clean up the formatting and coloring a bit and rewrite most of the built-in reports to be scheduled-centric instead of due-centric, then I'll be able to cut the tether with my old task system. I'm really hoping that $(task next) weighting system will work well using a scheduled-centric paradigm. Are the built-in reports (the exact filters, columns, sorting, etc used for each) documented anywhere? +{{< /question >}} +{{< answer >}} +I think the real problem was incomplete testing and a messed up filter on my part. I've got my first report roughed out now. % cat .taskrc | grep mySchedule report.mySchedule.description=My Task Report report.mySchedule.columns=id,priority,scheduled,description report.mySchedule.labels=ID,PRI,Schedule,Description report.mySchedule.sort=priority-,scheduled-,description+ report.mySchedule.filter=end:none and (scheduled.before:now or scheduled:none) I'll just have to clean up the formatting and coloring a bit and rewrite most of the built-in reports to be scheduled-centric instead of due-centric, then I'll be able to cut the tether with my old task system. I'm really hoping that $(task next) weighting system will work well using a scheduled-centric paradigm. Are the built-in reports (the exact filters, columns, sorting, etc used for each) documented anywhere? A: the builtins are not documented as such, but you can see all the details with, for example: {noformat} $ task show report.list ... {noformat} +{{< /answer >}} diff --git a/content/support/faq/faq.task.255.md b/content/support/faq/faq.task.255.md index f72412dd..557a2564 100644 --- a/content/support/faq/faq.task.255.md +++ b/content/support/faq/faq.task.255.md @@ -5,15 +5,17 @@ topic: "Taskwarrior" Back to the [FAQ](/support/faq) -Q: How do you import existing tasks into taskd? +{{< question >}} +### How do you import existing tasks into taskd? Hello, I'd like to give a try to taskd and Mirakel and I already have a bunch of task created using the regular Taskwarrior program. How can I import those tasks into taskd? I skimmed through the documentation shipped with taskd but didn't find anything about that. - -A: This is documented, run "man task-sync". +{{< /question >}} +{{< answer >}} +This is documented, run "man task-sync". A: I don't think the answer is clear in the documentation, actually. But what you want, Louis, is handled automatically when you run task sync initialize. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.001.md b/content/support/faq/faq.taskd.001.md index 35752bd0..4c24cec5 100644 --- a/content/support/faq/faq.taskd.001.md +++ b/content/support/faq/faq.taskd.001.md @@ -6,8 +6,10 @@ question: "How do I set up Taskserver to use LetsEncrypt certs?" Back to the [FAQ](/support/faq) -### Q: How do I set up Taskserver to use LetsEncrypt certs? - +{{< question >}} +### How do I set up Taskserver to use LetsEncrypt certs? +{{< /question >}} +{{< answer >}} On the Taskserver server: Generate a self-signed CA (use `taskd/pki/generate.ca`) @@ -43,4 +45,4 @@ Client certificates and user credentials are created per the docs, as normal. Client certificates can be revoked by generating a CRL file and pointing `server.crl` to it in the Taskserver config. See the bottom of `taskd/pki/generate.crl` for invocations. For personal installations, it is easier just to regenerate the self-signed CA and distribute new client certs. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.002.md b/content/support/faq/faq.taskd.002.md index 1d66cfa5..0d13fd2e 100644 --- a/content/support/faq/faq.taskd.002.md +++ b/content/support/faq/faq.taskd.002.md @@ -6,6 +6,9 @@ question: "Which version of GnuTLS should I use?" Back to the [FAQ](/support/faq) -### Q: Which version of GnuTLS should I use? - +{{< question >}} +### Which version of GnuTLS should I use? +{{< /question >}} +{{< answer >}} As a security component, it is best for you to use the latest available version. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.003.md b/content/support/faq/faq.taskd.003.md index c1f63e4d..b5abdf6f 100644 --- a/content/support/faq/faq.taskd.003.md +++ b/content/support/faq/faq.taskd.003.md @@ -6,10 +6,12 @@ question: "Building taskd, cmake cannot find gnutls" Back to the [FAQ](/support/faq) -Q: Building taskd, cmake cannot find gnutls +{{< question >}} +### Building taskd, cmake cannot find gnutls Cmake (v2.8.4) is not finding GnuTLS, despite both being installed. +``` $ cmake . - - Looking for SHA1 references - - Looking for GnuTLS @@ -19,10 +21,13 @@ Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindGnuTLS.cmake:60 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:70 (find_package) - -A: BTW: You do not need sudo to run cmake. cmake . make sudo make install only the last command needs sudo-privileges. +``` +{{< /question >}} +{{< answer >}} +BTW: You do not need sudo to run cmake. cmake . make sudo make install only the last command needs sudo-privileges. A: The libgnutls-dev dev library must be installed, in order to build Taskserver from source. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.004.md b/content/support/faq/faq.taskd.004.md index c4f6933e..42fcd509 100644 --- a/content/support/faq/faq.taskd.004.md +++ b/content/support/faq/faq.taskd.004.md @@ -6,15 +6,17 @@ question: "How to go back in time? Or: Reverting your messed up database!" Back to the [FAQ](/support/faq) -Q: How to go back in time? Or: Reverting your messed up database! +{{< question >}} +### How to go back in time? Or: Reverting your messed up database! I just tested the current beta of Mirakel which supports better handling of recurring tasks but apparently it messed up my database which led to a huge duplication of already completed tasks and some other stuff. However, I was just wondering: How to back in in time? Al those nasty changes, I do not want to keep them, I'd love to have my database from yesterday back. Any idea? taskd 1.0.0 and task 2.3.0 - -A:Using beta software without first making a backup of your data leads to ... exactly this kind of problem. +{{< /question >}} +{{< answer >}} +Using beta software without first making a backup of your data leads to ... exactly this kind of problem. Let's assume you have learned your lesson. Without further lecturing, here is the recovery process: @@ -50,4 +52,5 @@ Don't worry, because you made a backup. Take a good look at your tasks. 7. If there is a mistake, restore from your backup and repeat from step 3. 8. Once you are satisfied, make another backup. + {{< /answer >}} diff --git a/content/support/faq/faq.taskd.005.md b/content/support/faq/faq.taskd.005.md index 3f96ad4c..8902f538 100644 --- a/content/support/faq/faq.taskd.005.md +++ b/content/support/faq/faq.taskd.005.md @@ -6,15 +6,20 @@ question: "How do you import existing tasks into taskd?" Back to the [FAQ](/support/faq) -Q: How do you import existing tasks into taskd? +{{< question >}} +### How do you import existing tasks into taskd? Hello, -I'd like to give a try to taskd and Mirakel and I already have a bunch of task created using the regular Taskwarrior program. How can I import those tasks into taskd? +I'd like to give a try to taskd and Mirakel and I already have a bunch of task created using the regular Taskwarrior program. +How can I import those tasks into taskd? I skimmed through the documentation shipped with taskd but didn't find anything about that. +{{< /question >}} +{{< answer >}} +This is documented, run "man task-sync". -A: This is documented, run "man task-sync". - -A: I don't think the answer is clear in the documentation, actually. But what you want, Louis, is handled automatically when you run task sync initialize. +A: I don't think the answer is clear in the documentation, actually. +But what you want, Louis, is handled automatically when you run task sync initialize. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.006.md b/content/support/faq/faq.taskd.006.md index 160479f7..89a75819 100644 --- a/content/support/faq/faq.taskd.006.md +++ b/content/support/faq/faq.taskd.006.md @@ -6,14 +6,18 @@ question: "Using easy-rsa 3 to setup the taskd PKI" Back to the [FAQ](/support/faq) -Q: Using easy-rsa 3 to setup the taskd PKI +{{< question >}} +### Using easy-rsa 3 to setup the taskd PKI Hello, -I don't really want to setup yet another PKI when I already have one for OpenVPN. As anyone tried the certs generated by easy-rsa 3 with taskd? A quick look at taskd's PKI scripts seems to hint that they would work. - -A: Turns out this is perfectly possible, the only catch is to correctly specify the server fqdn when building a server certificate for taskd: +I don't really want to setup yet another PKI when I already have one for OpenVPN. +As anyone tried the certs generated by easy-rsa 3 with taskd? +A quick look at taskd's PKI scripts seems to hint that they would work. +{{< /question >}} +{{< answer >}} +Turns out this is perfectly possible, the only catch is to correctly specify the server fqdn when building a server certificate for taskd: ./easyrsa build-server-full taskd.example.com Nothing special is required to build the client certificates. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.007.md b/content/support/faq/faq.taskd.007.md index 93d9ca41..7eb35cf9 100644 --- a/content/support/faq/faq.taskd.007.md +++ b/content/support/faq/faq.taskd.007.md @@ -6,15 +6,20 @@ question: "Is it possible to use mysql as a backend database for taskserver?" Back to the [FAQ](/support/faq) -Q: Is it possible to use mysql as a backend database for taskserver? +{{< question >}} +### Is it possible to use mysql as a backend database for taskserver? I have a mysql server running on my raspberry anyway and it would be nice if there was a possibility to use is as backend for taskd. I guess it is not really necessary because it works great with the default backend but I am still curious. Thanks for your help. - -A: Possible: Yes. By using "task export" you can use whatever backend you desire to store your tasks. You will need to write the code for that and take care of the complexity of synchronizing them yourself. - -Supported out of the box: No. It's beyond the scope of the project, but as I said, it's easy to extract the tasks from Taskwarrior. - +{{< /question >}} +{{< answer >}} +Possible: Yes. +By using "task export" you can use whatever backend you desire to store your tasks. +You will need to write the code for that and take care of the complexity of synchronizing them yourself. + +Supported out of the box: No. +It's beyond the scope of the project, but as I said, it's easy to extract the tasks from Taskwarrior. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.008.md b/content/support/faq/faq.taskd.008.md index 4b764de1..1fa54541 100644 --- a/content/support/faq/faq.taskd.008.md +++ b/content/support/faq/faq.taskd.008.md @@ -6,19 +6,23 @@ question: "How can I uninstall Taskserver?" Back to the [FAQ](/support/faq) -Q: uninstall taskd +{{< question >}} +### uninstall taskd I have installed taskd following this instructions: https://mirakel.azapps.de/taskwarrior.html -But now I need to uninstall it. How do I do it? +But now I need to uninstall it. +How do I do it? I use ArchLinux but as I haven't used pacman, I can't use it to uninstall taskd. Thanks. - -A: Delete the files. +{{< /question >}} +{{< answer >}} +Delete the files. There is no uninstall. If you'd used a binary package, there would be an uninstall. -A: That tutorial includes a "make install" step which unless the user running it is root, will fail. If the user was indeed root or "sudo" was used, make sure you also remove the files from /usr/local/. - +A: That tutorial includes a "make install" step which unless the user running it is root, will fail. +If the user was indeed root or "sudo" was used, make sure you also remove the files from /usr/local/. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.009.md b/content/support/faq/faq.taskd.009.md index e286b7ad..5cf3bd4d 100644 --- a/content/support/faq/faq.taskd.009.md +++ b/content/support/faq/faq.taskd.009.md @@ -6,7 +6,8 @@ question: "taskd: \"A TLS packet with unexpected length was received\" on task s Back to the [FAQ](/support/faq) -Q: taskd: "A TLS packet with unexpected length was received" on task sync init +{{< question >}} +### taskd: "A TLS packet with unexpected length was received" on task sync init I just setup my task server and it works already great with Mirakel. Unfortunateley, the same credentials and certificates don't work on my laptop (even if I used it for creating the Mirakle config file). @@ -88,12 +89,18 @@ Tests $TERM: ansi (254x63) Dups: Scanned 1 tasks for duplicate UUIDs: No duplicates found - +{{< /question >}} +{{< answer >}} A: You have the setting +``` taskd.trust=strict +``` On your 2.4.0b1 client, that means hostname is checked in the certificate. -Did you set the hostname in the server cert such that this will work? If not, either regenerate the certs with the right hostname, or change the setting: +Did you set the hostname in the server cert such that this will work? +If not, either regenerate the certs with the right hostname, or change the setting: +``` taskd.trust=ignore hostname - +``` +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.010.md b/content/support/faq/faq.taskd.010.md index e3a8c789..cfe7e0b7 100644 --- a/content/support/faq/faq.taskd.010.md +++ b/content/support/faq/faq.taskd.010.md @@ -6,16 +6,18 @@ question: "How secure is the Taskserver?" Back to the [FAQ](/support/faq) -Q: How secure is the Taskserver? +{{< question >}} +### How secure is the Taskserver? I understand that the communication is ssl-encrypted. But can the Taskserver itself access my todos? Or are the encrypted client-side? Inthe.Am seems like it could be a solution to the problem of not being able to access my tasks on my android smartphone, but what can they access if I sync with them? - -A: Data is not encrypted on the server side. +{{< /question >}} +{{< answer >}} +Data is not encrypted on the server side. Communication is the only part that is encrypted. -A: There are plans to add this in the future. - +There are plans to add this in the future. +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.011.md b/content/support/faq/faq.taskd.011.md index 19115f86..c6db5a25 100644 --- a/content/support/faq/faq.taskd.011.md +++ b/content/support/faq/faq.taskd.011.md @@ -6,10 +6,13 @@ question: "Is there an Amazon EC2 image for taskserver?" Back to the [FAQ](/support/faq) -Q: Is there an Amazon EC2 image for taskserver? +{{< question >}} +### Is there an Amazon EC2 image for taskserver? -I'm looking for a simple way to spin up a taskserver using something like EC2. Does this exist? - -A: Not that I'm aware of. +I'm looking for a simple way to spin up a taskserver using something like EC2. +Does this exist? +{{< /question >}} +{{< answer >}} +Not that I'm aware of. Not a bad idea though. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.012.md b/content/support/faq/faq.taskd.012.md index 56c78741..9c48a372 100644 --- a/content/support/faq/faq.taskd.012.md +++ b/content/support/faq/faq.taskd.012.md @@ -6,10 +6,12 @@ question: "Is task server protocol stable and documented?" Back to the [FAQ](/support/faq) -Q: Is task server protocol stable and documented? +{{< question >}} +### Is task server protocol stable and documented? Can I use a task server protocol to write a front-end on top of it? - -A: You can. +{{< /question >}} +{{< answer >}} +You can. The protocol is documented on the site, as well as things that a client is responsible for. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.013.md b/content/support/faq/faq.taskd.013.md index f3d71edc..91666084 100644 --- a/content/support/faq/faq.taskd.013.md +++ b/content/support/faq/faq.taskd.013.md @@ -6,7 +6,8 @@ question: "taskd with external hostname" Back to the [FAQ](/support/faq) -Q: taskd with external hostname +{{< question >}} +### taskd with external hostname This project is amazing, I really want to make it work on my server. Thank you guys. @@ -29,8 +30,9 @@ s: INFO IPv4: xx.xx.xx.xxx <----my ip I have poor sysadmin experience, but I thing I'm almost there. Please help me! Thanks in advance - -A: I have found the same problem a couple of days ago, and fighting with it I have solved the following way: +{{< /question >}} +{{< answer >}} +I have found the same problem a couple of days ago, and fighting with it I have solved the following way: I have used the external server name on the client side I have used on the server side the local IP @@ -65,4 +67,4 @@ Syncing with sub.domain.tld:53589 Sync successful. No changes. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.014.md b/content/support/faq/faq.taskd.014.md index 2516efba..a3bef15d 100644 --- a/content/support/faq/faq.taskd.014.md +++ b/content/support/faq/faq.taskd.014.md @@ -6,7 +6,8 @@ question: "sync failed after six weeks usage on one client" Back to the [FAQ](/support/faq) -Q: sync failed after six weeks usage on one client +{{< question >}} +### sync failed after six weeks usage on one client Hi there, and thanks for an awesome and truly unique Taskwarrior. @@ -18,8 +19,9 @@ The Taskserver returned error: 500 ERROR: Could not find common ancestor for 33d And yes I did 'task sync init' two months ago, at least on the first client. Am I supposed to do this with subsequent clients, or will it then erase what is on the server? Sine it worked perfectly for six weeks I suspect something has gone wrong, what can I do? - -A: Here is how to fix this: +{{< /question >}} +{{< answer >}} +Here is how to fix this: Let's call your working client the primary, and all the other clients secondary. @@ -42,4 +44,4 @@ $ rm ~/.task/{pending,completed,backlog}.data $ task sync If any step fails, stop and please report. But don't worry - you made backups. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.015.md b/content/support/faq/faq.taskd.015.md index 5a89b1be..554d1fd0 100644 --- a/content/support/faq/faq.taskd.015.md +++ b/content/support/faq/faq.taskd.015.md @@ -6,15 +6,18 @@ question: "Can on-modify hook be triggered by a taskserver sync?" Back to the [FAQ](/support/faq) -Q: Can on-modify hook be triggered by a taskserver sync? +{{< question >}} +### Can on-modify hook be triggered by a taskserver sync? -My desktop computer is almost always running, and it is successfully syncing with my taskserver and updating timewarrior via the hook script. I have all of my devices sync with the taskserver every few minutes. However, when I change active task on a device other than my desktop, timewarrior is not modified even though the active task on my desktop is. Is there an easy way to make it so that when a taskserver sync changes the active task, the "on-modify" hook is triggered in order to update timewarrior? - -A: Tasks modified via sync do not trigger hooks. +My desktop computer is almost always running, and it is successfully syncing with my taskserver and updating Timewarrior via the hook script. +I have all of my devices sync with the taskserver every few minutes. +However, when I change active task on a device other than my desktop, Timewarrior is not modified even though the active task on my desktop is. +Is there an easy way to make it so that when a taskserver sync changes the active task, the "on-modify" hook is triggered in order to update Timewarrior? +{{< /question >}} +{{< answer >}} +Tasks modified via sync do not trigger hooks. This means there is no way to make this work at the moment. There is a future plan for allowing this. - - Note that your sync "every few minutes" means that even if this did work, Timewarrior could be "a few minutes" off. - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.016.md b/content/support/faq/faq.taskd.016.md index dc83a2b7..45248218 100644 --- a/content/support/faq/faq.taskd.016.md +++ b/content/support/faq/faq.taskd.016.md @@ -6,11 +6,18 @@ question: "Can't Sync Init -- Aborted (core dumped)" Back to the [FAQ](/support/faq) -Q: Can't Sync Init -- Aborted (core dumped) +{{< question >}} +### Can't Sync Init -- Aborted (core dumped) -Hello, I setup a Taskd server and am attempting to initialize the sync with a client. I've worked through the setup guide on Taskwarrior.org, but when I get to syncing the client, I get an error. I enter in task sync init, and I get an error "Aborted (core dumped)". I am running version 2.5.1 on the Ubuntu subsystem for Windows. Any pointers would be very helpful. Thanks in advance! - -A: This was discussed online in IRC #taskwarrior, here is a summary of what we saw: +Hello, I setup a Taskd server and am attempting to initialize the sync with a client. +I've worked through the setup guide on Taskwarrior.org, but when I get to syncing the client, I get an error. +I enter in task sync init, and I get an error "Aborted (core dumped)". +I am running version 2.5.1 on the Ubuntu subsystem for Windows. +Any pointers would be very helpful. +Thanks in advance! +{{< /question >}} +{{< answer >}} +This was discussed online in IRC #taskwarrior, here is a summary of what we saw: This affects Windows and the Linux subsytem. The task-2.5.1 binary package core dumped while making a getrusage call, which is not something Taskwarrior does. @@ -18,4 +25,4 @@ Since there is only one dependency, GnuTLS, it seems that it is incorrectly maki Commands other than the sync command ran fine, further implicating GnuTLS. The course of action as we left it was to build Taskwarrior from source, and try an upgraded GnuTLS. No news yet... - +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.017.md b/content/support/faq/faq.taskd.017.md index db5cd71d..5f16de79 100644 --- a/content/support/faq/faq.taskd.017.md +++ b/content/support/faq/faq.taskd.017.md @@ -6,11 +6,17 @@ question: "Systemd unit file error" Back to the [FAQ](/support/faq) -Q: Systemd unit file error +{{< question >}} +### Systemd unit file error -The unit file used to start the task server does not seem to be working correctly. When I check the status it seems to have failed. The only thing I have found online is related to having /var/tmp symlinked to /tmp of vice verca. This is not the case. Are there any suggestions to fix this problem? +The unit file used to start the task server does not seem to be working correctly. +When I check the status it seems to have failed. +The only thing I have found online is related to having /var/tmp symlinked to /tmp of vice verca. +This is not the case. +Are there any suggestions to fix this problem? Process: 467 ExecStart=/usr/local/bin/taskd server --data /home/user/task_server (code=exited, status=226/NAMESPACE) - -A: If you use the unit file from this page - https://taskwarrior.org/docs/taskserver/control.html - make sure that you remove /home from "InaccessibleDirectories". - +{{< /question >}} +{{< answer >}} +If you use the unit file from this page - https://taskwarrior.org/docs/taskserver/control.html - make sure that you remove /home from "InaccessibleDirectories". +{{< /answer >}} diff --git a/content/support/faq/faq.taskd.018.md b/content/support/faq/faq.taskd.018.md index 3a30651c..1febf75d 100644 --- a/content/support/faq/faq.taskd.018.md +++ b/content/support/faq/faq.taskd.018.md @@ -6,22 +6,25 @@ question: "Taskserver migration" Back to the [FAQ](/support/faq) -Q: Taskserver migration +{{< question >}} +### Taskserver migration -Are there any best practices in migrating a taskserver? I want to move a super smooth running taskserver from a Mac to a Raspberry Pi and I would like to do a full migration (with historical data etc.) instead of a new setup. - -A: While this is not a tested formula, I would recommend: - -Build taskd on the rPI, install it. -Make sure it works: taskd diag -Create a tarball of the $TASKDDATA dir on the Mac. -Keep that tarball as a backup. -Copy tarball to the rPI and unpack. -Verify permissions. -You'll need to set up permissions so that the entire data tree is read/write to the user that will launch taskd. -Set $TASKDDATA accordingly. -Launch server on rPI, check log for the presence of positive messages and lack of negative messages. -Back up the client. -Modify the taskd.server config entry to point to the rPI, and test sync. -If there are problems, it's most likely file permission, firewall or networking. +Are there any best practices in migrating a taskserver? +I want to move a super smooth running taskserver from a Mac to a Raspberry Pi and I would like to do a full migration (with historical data etc.) instead of a new setup. +{{< /question >}} +{{< answer >}} +While this is not a tested formula, I would recommend: +* Build taskd on the rPI, install it. +* Make sure it works: taskd diag +* Create a tarball of the $TASKDDATA dir on the Mac. +* Keep that tarball as a backup. +* Copy tarball to the rPI and unpack. +* Verify permissions. +* You'll need to set up permissions so that the entire data tree is read/write to the user that will launch taskd. +* Set $TASKDDATA accordingly. +* Launch server on rPI, check log for the presence of positive messages and lack of negative messages. +* Back up the client. +* Modify the taskd.server config entry to point to the rPI, and test sync. +* If there are problems, it's most likely file permission, firewall or networking. +{{< /answer >}} diff --git a/content/support/faq/faq.tasksh.001.md b/content/support/faq/faq.tasksh.001.md index 6446ce0c..af7a6e4d 100644 --- a/content/support/faq/faq.tasksh.001.md +++ b/content/support/faq/faq.tasksh.001.md @@ -6,6 +6,9 @@ question: "How do I use arrow keys in tasksh?" Back to the [FAQ](/support/faq) -### Q: How do I use arrow keys in tasksh? - +{{< question >}} +### How do I use arrow keys in tasksh? +{{< /question >}} +{{< answer >}} Tasksh supports `readline`, so if you are building from source, install the dev readline library first. +{{< /answer >}} diff --git a/content/support/faq/faq.tasksh.002.md b/content/support/faq/faq.tasksh.002.md index ab52350b..aebfa2db 100644 --- a/content/support/faq/faq.tasksh.002.md +++ b/content/support/faq/faq.tasksh.002.md @@ -6,12 +6,15 @@ question: "How do I repeat the last command?" Back to the [FAQ](/support/faq) -### Q: How do I repeat the last command? +{{< question >}} +### How do I repeat the last command? In tasksh like most linux shell, you can navigate the list of your last input commands by using the UP/DOWN arrows for history navigation and PageUp/PageDown for prefixed history navigation (other names may apply here). With prefixed history navigation you can start typing a command, say mod and by using PageUp/PageDown you will only browse history commands that start by mod, whereas full history ignores any input that already exists and simply navigates history in order. - -A: if ( e.g. after changing from 2.3.0 to 2.5.1) in tasksh the +{{< /question >}} +{{< answer >}} +if ( e.g. after changing from 2.3.0 to 2.5.1) in tasksh the Tasksh supports `libreadline`, but make sure the development version is installed, and rebuild. +{{< /answer >}} diff --git a/content/support/faq/faq.tasksh.003.md b/content/support/faq/faq.tasksh.003.md index d4ac3971..2054abf2 100644 --- a/content/support/faq/faq.tasksh.003.md +++ b/content/support/faq/faq.tasksh.003.md @@ -6,7 +6,8 @@ question: "How to run shell command inside tasksh?" Back to the [FAQ](/support/faq) -Q: How to run shell command inside tasksh (or evaluate another task-command) +{{< question >}} +### How to run shell command inside tasksh (or evaluate another task-command) From the shell you can run ``` @@ -27,8 +28,9 @@ gives an error: ``` (How) does this work? - -A: From the tasksh 1.1.0 man page: +{{< /question >}} +{{< answer >}} +From the tasksh 1.1.0 man page: ``` exec This command allows you to run shell commands from within @@ -40,4 +42,4 @@ But that requires tasksh-1.1.0 installed. The 2.3.0 you are using has a tasksh command which supports an undocumented xc command. This older tasksh has been replaced by the above. - +{{< /answer >}} diff --git a/content/support/faq/faq.timew.001.md b/content/support/faq/faq.timew.001.md index 074f9b45..0420bb95 100644 --- a/content/support/faq/faq.timew.001.md +++ b/content/support/faq/faq.timew.001.md @@ -6,11 +6,14 @@ question: "How do I control Taskwarrior through Timewarrior?" Back to the [FAQ](/support/faq) -### Q: How do I control Taskwarrior through Timewarrior? - +{{< question >}} +### How do I control Taskwarrior through Timewarrior? +{{< /question >}} +{{< answer >}} For example, if I start tracking in Timewarrior, how do I make the task active also? Taskwarrior uses Timewarrior to track time, via a Taskwarrior hook. You just start/stop tasks using Taskwarrior, and Timewarrior will start/stop tracking. If you start/stop in Timewarrior, it does not control Taskwarrior. +{{< /answer >}} diff --git a/content/support/faq/faq.timew.002.md b/content/support/faq/faq.timew.002.md index 1ece64ab..6da4ea41 100644 --- a/content/support/faq/faq.timew.002.md +++ b/content/support/faq/faq.timew.002.md @@ -6,25 +6,33 @@ question: "How to track already added task using 'timew track' command" Back to the [FAQ](/support/faq) -Q: how to track already added task using 'timew track' command +{{< question >}} +### how to track already added task using 'timew track' command I want to track an already added task for new missed interval. I can do sth like: +``` timew track 8am - 10am "try mimic the name" - +``` Is there a way to address exactly already added task? I mean something like: - +``` timew track 8am -10am - -A: To add an interval with the exact same tag-list as an existing interval, there is the continue command. +``` +{{< /question >}} +{{< answer >}} +To add an interval with the exact same tag-list as an existing interval, there is the `continue` command. Assuming you want to continue the interval with id @2 in your database, you will currently have to something like +``` timew continue @2 #starts new interval at with same tags as @2 timew move @1 #set the desired start time timew stop #set the desired end time +``` There is a feature request (TI-90) to expand the continue command to accept a start date which could be extended to also accept a date range - so you could write +``` timew continue @2 - - +``` +{{< /answer >}} diff --git a/content/support/faq/faq.timew.003.md b/content/support/faq/faq.timew.003.md index ef21a240..a6c815d5 100644 --- a/content/support/faq/faq.timew.003.md +++ b/content/support/faq/faq.timew.003.md @@ -6,15 +6,33 @@ question: "How to shorten yesterday's task?" Back to the [FAQ](/support/faq) -Q: timewarrior: how to shorten yesterday's task? +{{< question >}} +### How to shorten yesterday's task? -Timewarrior is very neat. I can modify today's tasks easily by first getting their ids, then using shorten. However mistakes that I get come from not stopping the task and now it spans 2 days. How can I shorten that task effectively, if it started yesterday and ended yesterday? IDs change every day, it seems. - -A: OK, I know I can shorten it for the adequate number of hours if it still remains on today's list (i.e. started at 00:00). Say I have task from yesterday starting at 22:00, completed at 22:30 and I forgot to complete it in Taskwarrior. I remember about this today at 10:30. If I do: +Timewarrior is very neat. +I can modify today's tasks easily by first getting their ids, then using shorten. +However mistakes that I get come from not stopping the task and now it spans 2 days. +How can I shorten that task effectively, if it started yesterday and ended yesterday? +IDs change every day, it seems. +{{< /question >}} +{{< answer >}} +OK, I know I can shorten it for the adequate number of hours if it still remains on today's list (i.e. started at 00:00). +Say I have task from yesterday starting at 22:00, completed at 22:30 and I forgot to complete it in Taskwarrior. +I remember about this today at 10:30. +If I do: +``` timew status :ids -It will give me the task ID of `@1` and it would have duration for 10 hours and 30 minutes. (Which is slightly misleading - it only has this duration because it is counted from 00:00). I can shorten it properly by doing: +``` + +It will give me the task ID of `@1` and it would have duration for 10 hours and 30 minutes. +(Which is slightly misleading - it only has this duration because it is counted from 00:00). +I can shorten it properly by doing: +``` timew shorten @1 13.5h -It will correctly make the task 30 minutes long in timewarrior and it will no longer be on today's list. If I still need to adjust this yesterday's task, I cannot do it. +``` +It will correctly make the task 30 minutes long in Timewarrior and it will no longer be on today's list. +If I still need to adjust this yesterday's task, I cannot do it. +{{< /answer >}} diff --git a/content/support/faq/faq.timew.004.md b/content/support/faq/faq.timew.004.md index 5d760304..75f5aba5 100644 --- a/content/support/faq/faq.timew.004.md +++ b/content/support/faq/faq.timew.004.md @@ -6,8 +6,10 @@ question: "Can I sync Timewarrior with Taskserver?" Back to the [FAQ](/support/faq) -Q: Can I sync Timewarrior with Taskserver? - -A: No. +{{< question >}} +### Can I sync Timewarrior with Taskserver? +{{< /question >}} +{{< answer >}} +No. Taskserver syncs only tasks. - +{{< /answer >}} diff --git a/content/support/faq/faq.timew.005.md b/content/support/faq/faq.timew.005.md index b86e0370..281e0afd 100644 --- a/content/support/faq/faq.timew.005.md +++ b/content/support/faq/faq.timew.005.md @@ -1,14 +1,15 @@ --- title: "Taskwarrior - FAQ" topic: "Timewarrior" -question: "Starting several tasks at once - is it possible with timewarrior?" +question: "Starting several tasks at once - is it possible with Timewarrior?" --- Back to the [FAQ](/support/faq) -Q: starting several tasks at once - is it possible with timewarrior? +{{< question >}} +### starting several tasks at once - is it possible with Timewarrior? -Hi, I am starting to use timewarrior together with Taskwarrior. I tried to track several tasks ato once. An example scenario is that alongside a research bit that I am doing (task 7) it I also have to e-mail a colleague (task 9). That initial time that I spend is necessary for both tasks. So I would like to start both, then stop e-mail (done) but continue with the research bit. I could of course do: +Hi, I am starting to use Timewarrior together with Taskwarrior. I tried to track several tasks ato once. An example scenario is that alongside a research bit that I am doing (task 7) it I also have to e-mail a colleague (task 9). That initial time that I spend is necessary for both tasks. So I would like to start both, then stop e-mail (done) but continue with the research bit. I could of course do: 7 start, 7 stop, 9 start, 9 stop, 7 start @@ -20,12 +21,13 @@ So tasks 7 and 9 would have different lengths; on timeline they would be overlap Is this kind of scenario possible? -With Taskwarrior I can start several tasks at once, but timewarrior is only tracking one of them (despite they have different labels) as per timew summary. +With Taskwarrior I can start several tasks at once, but Timewarrior is only tracking one of them (despite they have different labels) as per timew summary. I understand that multitasking in ideal circumstances is a thing that should not be done, but it is also a reality of life we have to cope with this and it would be good to be able to record time for overlapping tasks. - -A: Timewarrior does not support overlapping time, which includes the notion of several tasks started at once, this is why Timewarrior stops tracking the previous interval, and tracks a new one, when a task is started. +{{< /question >}} +{{< answer >}} +Timewarrior does not support overlapping time, which includes the notion of several tasks started at once, this is why Timewarrior stops tracking the previous interval, and tracks a new one, when a task is started. There is a difference between starting a task, and working on a task. Timewarrior only cares about the latter. - +{{< /answer >}} diff --git a/content/support/faq/faq.timew.006.md b/content/support/faq/faq.timew.006.md index 84f2ab19..258f5d4f 100644 --- a/content/support/faq/faq.timew.006.md +++ b/content/support/faq/faq.timew.006.md @@ -6,27 +6,36 @@ question: "I am trying to correct a task which I left running by deleting it, bu Back to the [FAQ](/support/faq) -Q: I am trying to correct a task which I left running by deleting it, but I am getting an assertion error: +{{< question >}} +### I am trying to correct a task which I left running by deleting it, but I am getting an assertion error: +``` timew delete @1 timew: /home/achasen/git/timew-1.0.0/src/Datafile.cpp:111: void Datafile::deleteInterval(const Interval&): Assertion `_range.overlap (interval.range)' failed. [1] 14876 abort (core dumped) timew delete @1 - +``` the output of summary is: +``` W52 2017-12-30 Sat @3 sfdc, slides 10:45:00 11:39:01 0:54:01 @2 calendar, review 11:39:21 11:45:35 0:06:14 @1 review, tech, test 11:45:35 0:00:00 12:14:25 13:14:40 W52 2017-12-31 Sun @1 review, tech, test 0:00:00 0:00:00 24:00:00 24:00:00 - +``` I am also curious if there is a better mechanism for "cleaning up" tasks which I left running. +{{< /question >}} +{{< answer >}} +If the time tracking is still active, the "official" way would be -A: If the time tracking is still active, the "official" way would be - +``` timew cancel +``` but +``` timew delete @1 +``` should behave the same way. +{{< /answer >}} diff --git a/themes/bootstrap/layouts/shortcodes/answer.html b/themes/bootstrap/layouts/shortcodes/answer.html new file mode 100644 index 00000000..d2575624 --- /dev/null +++ b/themes/bootstrap/layouts/shortcodes/answer.html @@ -0,0 +1,3 @@ +
+ {{ .Inner | markdownify }} +
\ No newline at end of file diff --git a/themes/bootstrap/layouts/shortcodes/question.html b/themes/bootstrap/layouts/shortcodes/question.html new file mode 100644 index 00000000..f53e6d6e --- /dev/null +++ b/themes/bootstrap/layouts/shortcodes/question.html @@ -0,0 +1,3 @@ +
+ {{ .Inner | markdownify }} +
\ No newline at end of file diff --git a/themes/bootstrap/static/css/theme.css b/themes/bootstrap/static/css/theme.css index 34b50c9f..52064015 100644 --- a/themes/bootstrap/static/css/theme.css +++ b/themes/bootstrap/static/css/theme.css @@ -97,13 +97,17 @@ h4 .callout-warning { .alert-dismissable{ color: #494949; background-color: #f3f2f2; - border-color:#d6e9c6; + border-color: #d2d2d2; } .alert-dismissable h3 { margin-top: 0; } +.alert-warning h3 { + margin-top: 0; +} + .banner { background-color: #eee; color: inherit;