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

add id attribute to Task #55

Open
domm opened this issue Mar 7, 2021 · 0 comments
Open

add id attribute to Task #55

domm opened this issue Mar 7, 2021 · 0 comments

Comments

@domm
Copy link
Owner

domm commented Mar 7, 2021

Currently a lot of logic is based on the first tag of a task. Various plugins (the ones implementing issue trackers) try to put the current issue/card/ticket name at the start of the tag list, but this is not very stable (esp because this is not stable due to module loading order).

So I propose to "upgrade" what's currently in the first tag to the "id" of the task, i.e. the issue/ticket/card number/ident, or (if you're not using any issue tracker) some other identifier of the task.

This will allow users to report / calc data based on distinct tasks, even if they did not handle the task in one go.

The various Plugins should automatically set id based on the issue id:

tracker start --rt 123 will do all the RT handling, but also set id to RT123.

tracker start --rt 123 --id "Rev the Flux Compensator" would override that, though I have no idea why one would do that.

tracker start --id "finetune-spec" --tag meeting makes a bit more sense, esp for project where you don't have an issue tracker

Using the new prefixes & various Plugins this could look like:

tracker start --trello 123-rev-flux-compensator --cat feature --billing A2021-01
Started working on examle-project 123-rev-flux-compensator (.trello=123-rev-flux-compensator, .cat=feature, .billing=A20201-01) Rev the Flux Compensator at 19:23:23

(edit: s/name/id/g)

@domm domm changed the title add name attribute to to Task add name attribute to Task Mar 7, 2021
@domm domm changed the title add name attribute to Task add id attribute to Task Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant