GothenburgBitFactory / GothenburgBitFactory/taskwarrior

Duplicate alert about context used for each call to task

Open
#3,026 1 comment 0 reactions 0 assignees View on GitHub
topic:context
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

#### To report a bug...

* What command(s) did you run?
I created a context, and then run `task`
* What did you expect to happen?
It only shows one alert about the context I am in
* What actually happened?
4 duplicate alert is shown as
```
➜ ~ task

ID Age Tag Due Description Urg
1 9min A 3w AAAA 3.3

1 task
Context 'A' set. Use 'task context none' to remove.
Context 'A' set. Use 'task context none' to remove.
Context 'A' set. Use 'task context none' to remove.
Context 'A' set. Use 'task context none' to remove.
```
* Paste the output of the ```task diag``` command.
```
➜ ~ task diag

task 2.6.2
Platform: Linux

Compiler
Version: 12.2.1 20220819 (Red Hat 12.2.1-2)
Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
Compliance: C++17

Build Features
CMake: 3.24.2
libuuid: libuuid + uuid_unparse_lower
libgnutls: 3.7.8
Build type:

Configuration
File: /home/A/.taskrc (found), 1728 bytes, mode 100644
Data: /home/A/.task (found), dir, mode 40755
Locking: Enabled
GC: Enabled
$EDITOR: /usr/bin/nano
Server: A.com:53589
CA: /home/A/.task/ca.cert.pem, readable, 4005 bytes
Certificate: /home/A/.task/localhost.cert.pem, readable, 3765 bytes
Key: /home/A/.task/localhost.key.pem, readable, 24742 bytes
Trust: ignore hostname
Ciphers: NORMAL
Creds: A-task/localhost/************************************

Hooks
System: Enabled
Location: /home/A/.task/hooks
Active: on-modify.timewarrior (executable)
on-modify.timewarrior~ (executable)
Inactive:

Tests
Terminal: 426x37
Dups: Scanned 87 tasks for duplicate UUIDs:
No duplicates found
Broken ref: Scanned 87 tasks for broken references:
No broken references found

Context 'A' set. Use 'task context none' to remove.
Context 'A' set. Use 'task context none' to remove.
Context 'A' set. Use 'task context none' to remove.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.