GothenburgBitFactory / timewarrior

Timewarrior - Commandline Time Tracking and Reporting
https://timewarrior.net
MIT License
1.26k stars 95 forks source link

[TI-82] tag substring matches #86

Open taskwarrior opened 6 years ago

taskwarrior commented 6 years ago

graham on 2017-07-04T15:37:47Z says:

I use timewarrior via the taskwarrior hooks, and I also use hierarchical projects in taskwarrior e.g. project:foo.bar and project:foo.baz. Now in taskwarrior I can see everything in the 'foo' project, i.e. when I say 'task project:foo' it returns both 'foo.bar' and 'foo.baz'. 

When the taskwarrior projects get converted to timewarrior tags, it rightly converts the entire 'foo.bar' project label to a task. But now, I can't find a way to get to get a timewarrior summary for all intervals of the 'foo' project. I can pipe the summary to grep, but then I lose the timewarrior convenience of adding up all the filtered times and other report features.

Does this capability exist already? If not, I suggest the default taskwarrior behavior of matching leading substrings ('task project:foo' matches all projects with ^foo.*).

taskwarrior commented 6 years ago

Migrated metadata:

Created: 2017-07-04T15:37:47Z
Modified: 2017-07-30T10:12:10Z
taskwarrior commented 6 years ago

graham on 2017-07-06T15:43:38Z says:

An update: I wrote a small wrapper script that just takes a taskwarrior ID argument, exports it's information, and does the parsing/mangling to send the correct information to timewarrior. This is workable for me now, but some more flexible timewarrior behavior or configuration might be nice.

taskwarrior commented 6 years ago

Paul Beckingham on 2017-07-30T10:12:10Z says:

This is a good request, and doesn't currently exist.  Thank you.