Open liskin opened 4 years ago
Thanks for the report @liskin! Your suggestion certainly seems sensible, if you're feeling up to submitting a PR that would be great and I'll review it ASAP. Otherwise it maybe a little while before this gets implemented 😅
taskwiki tests uncovered that some UUID aren't parsed as UUIDs:
This was reported to taskwarrior as https://github.com/GothenburgBitFactory/taskwarrior/issues/2306 but looking at the project activity I'm afraid it might stay unfixed for a while, and I'm not feeling confident enough to reorder the lexer myself. Therefore I suggest that tasklib use a more explicit form of filter to avoid hitting this bug.
So I'd suggest to alter https://github.com/robgolding/tasklib/blob/670836f56f8072cae112c4d1bf1b872472150b50/tasklib/backends.py#L408 (and a few other places) to include an explicit
uuid:
orid:
prefix to help the taskwarrior parser do the correct thing.