GothenburgBitFactory / GothenburgBitFactory/taskwarrior
Suspicion of context bug
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 423
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
* What command(s) did you run?
I did the following:
I tried to define 2 contexts: i2rs which is work related, and DSG which is hobby related.
$ task context define i2rs -DSG
$ task context define DSG +DSG
* What did you expect to happen?
I expect that when I add a task with an active context that a tag is automatically added to it.
* What actually happened?
What happens is that the task description starts with either a "-DSG' or a "+DSG" before the description text I entered.
* Paste the output of the ```task diag``` command.
task 2.6.1
Platform: Linux
Compiler
Version: 11.2.0
Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
Compliance: C++17
Build Features
CMake: 3.18.4
libuuid: libuuid + uuid_unparse_lower
libgnutls: 3.7.1
Build type: None
Configuration
File: /home/jeroen/.config/task/taskrc (found), 6542 bytes, mode 100664
Data: /home/jeroen/.local/share/task/ (found), dir, mode 40775
Locking: Enabled
GC: Enabled
Server: 10.100.1.2:53589
CA: /home/jeroen/.local/share/task/ca.cert.pem, readable, 3644 bytes
Certificate: /home/jeroen/.local/share/task/jeroen_baten_2023.cert.pem, readable, 3405 bytes
Key: /home/jeroen/.local/share/task/jeroen_baten_2023.key.pem, readable, 17764 bytes
Trust: ignore hostname
Ciphers: NORMAL
Creds: Public/Jeroen Baten/************************************
Hooks
System: Enabled
Location: /home/jeroen/.config/task/hooks/
Active:
Inactive: on-modify.timewarrior (not executable)
Tests
Terminal: 214x64
Dups: Scanned 1508 tasks for duplicate UUIDs:
No duplicates found
Broken ref: Scanned 1508 tasks for broken references:
Task 0b5bcf14-fc3d-4a7f-b9e3-e23add088c15 depends on nonexistent task: [\"2ff29155-823c-4fb3-8c48-5874abe8201f\"]
Task c50a00a2-79f1-450d-96be-1195b29cd778 depends on nonexistent task: [\"1c563908-c305-4488-b5dc-d09cab9c3adf\"]
Task 240bbda4-b655-40dd-b55b-1264b1270a5d depends on nonexistent task: [\"c4759ab1-face-44e1-bf81-a087edf43b38\"]
Task a2b7b4aa-4394-439c-8281-ca409b56e59a depends on nonexistent task: [\"c4759ab1-face-44e1-bf81-a087edf43b38\"]
Contributor guide
Assessment
This issue has not been assessed yet.