GothenburgBitFactory / GothenburgBitFactory/timewarrior

Add report on time spent on projects

Open
#177 1 comment 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
117
Avg merge
1d 7h
Merged PRs (30d)
5

Description

Timewarrior allows for multitasking via tags. You can assign multiple tags to a single interval, e.g.
```
timew start MONITORING PROJECT1 # monitoring all day, starting with project 1
timew start MONITORING PROJECT1 PROJECT2 # adding project 2 to the pool
timew stop PROJECT1 # done with project 1, still monitoring and working at project 2
timew start MONITORING PROJECT2 PROJECT3 # adding project 3
... # something similar with PROJECT4 and PROJECT5
timew stop # done for today
```
This creates a consecutive chain of non-overlapping intervals in the database, keeping it thus sane and clean.

Create a report, which fuses/filters your simultaneous work into something like
```
timew my-report
MONITORING 8h
PROJECT1 4h
PROJECT2 2h
PROJECT3 5h
...
```

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by locating the CLI report entry point and the interval/tag data handling. Confirm how simultaneous tags should be aggregated from the example, then implement the report so it produces per-tag durations. Done means the command reports the requested totals while preserving the non-overlapping interval chain.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.