-
Notifications
You must be signed in to change notification settings - Fork 208
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
Adding draft status for GH and Gerrit #1035
Conversation
I'm not sure about this. My initial thought is that it is probably reasonable to add the draft status as an additional UDA rather than combining it into the We generally pass data from external API's into UDA's with minimal transformation with the premise that the taskwarrior database is largely for consumption by further automation. For example, somebody could have their priority tuned by I don't know if it is relevant to your use case but I would note that the |
@ryneeverett I have the status displayed in the subject line of my tasks e.g. |
You can of course use taskwarrior in whatever way is useful to you but it does strike me as odd to want to see unactionable tasks. I would think unactionable tasks should have such a low priority that one would never actually see them. Perhaps you don't have that many actionable tasks though. |
These show the draft/wip status for both services Signed-off-by: Jorge Gallegos <[email protected]>
Signed-off-by: Jorge Gallegos <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the only example we currently have is gitlabwip
, but the consensus so far has been that we should handle booleans as numeric
UDA's with a binary value (0 or 1) since there is no such thing as a boolean UDA.
Signed-off-by: Jorge Gallegos <[email protected]>
Signed-off-by: Jorge Gallegos <[email protected]>
* Adding new UDAs to github and gerrit These show the draft/wip status for both services Signed-off-by: Jorge Gallegos <[email protected]> * Updating test cases to account for new UDAs Signed-off-by: Jorge Gallegos <[email protected]> * wip/draft should be a numeric, make it like gitlab Signed-off-by: Jorge Gallegos <[email protected]> * add tests for draft/wip status and update UDA Signed-off-by: Jorge Gallegos <[email protected]> --------- Signed-off-by: Jorge Gallegos <[email protected]>
A draft pull request is identified by a different
draft
boolean flag, not by thestate
field, but it might be an important field to display.