Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance metadata with status (pending/ completed) and annotations.count #5

Open
linuxcaffe opened this issue Nov 20, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@linuxcaffe
Copy link
Owner

linuxcaffe commented Nov 20, 2021

  • note: The ability to query based on this metadata, has not yet been implemented. It is a planned hledger enhancement.
    .. so anyways

This is an example of the task-timelog-hook output, as it works now;

i 2021/11/11 17:27:37 it:tw:timelog  develop timelog-hook
o 2021/11/11 17:38:21  ; github:, uuid: fb77148d-c48b-454c-a978-bb846db6f7e

and this is the desired output with enhanced metadata and trimmed (short) uuid

i 2021/11/11 17:27:37 it:tw:timelog  * (2) develop timelog-hook
o 2021/11/11 17:38:21  ; github:, uuid: fb77148d-c48b

Piggy-backing on regular (h)ledger syntax, the description-part starts with " * " indicating status:pending ( ! would indicate status:completed) and the (2) indicates that the task has 2 annotations. If #4 were implemented, then subsequent timelog entries would increment this count, and otherwise very-similar-looking timelog entries would be clearly differentiated.

@linuxcaffe linuxcaffe added enhancement New feature or request help wanted Extra attention is needed labels Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant