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

Set tasks due to github milestone due date? #385

Closed
vantreeseba opened this issue Sep 18, 2016 · 5 comments
Closed

Set tasks due to github milestone due date? #385

vantreeseba opened this issue Sep 18, 2016 · 5 comments

Comments

@vantreeseba
Copy link

Should we set the tasks due date on import to the milestones date?

I'm willing to work on this, but just thought I would ask what people thought before I dug in too far.

@ryneeverett
Copy link
Collaborator

Makes sense to me. There may be some ambiguity added by github features down the road -- this new "Projects" thing I haven't looked at may have it's own concept of due dates, github may add a duedate feature to issues, etc -- but those can always be resolved by giving precedence to the most immediate due date.

@irl
Copy link
Collaborator

irl commented Sep 18, 2016

Do we talk to anyone at @github? Maybe they would have input or could at least point us at a roadmap of what they think their projects thing is. It would be in their interest if people building tools to work with GitHub weren't fighting against their new features.

@gdetrez
Copy link
Collaborator

gdetrez commented Sep 18, 2016

It could be annoying if someone use personal due dates to organize their tasks and bugwarrior systematically resets them to milestone dates the same way it resets task descriptions or projects.

IMO this feature should be optional but I think there is no need to introduce yet an other option, instead pull the milestone date in a UDA (e.g. githubmilestonedate) and make sure that you can set the due date with a template:

due_template = {{ githubmilestonedate }}

Bonus: add timedelta to the rendering context and you can do cool and useful stuff. Like if your goal is to process all issues in the week after they are created:

due_template = {{ githubcreatedon + timedelta(weeks=1) }}

or if you want to finish coding a month before the milestone is released to let people test stuff:

due_template = {{ githubmilestonedate - timedelta(months=1) }}

@vantreeseba
Copy link
Author

I think @gdetrez is right about going the UDA path. Especially if more due dates are added to other parts of the issues/projects, this will keep it from becoming tied to any single point of data.

I think that, for now, we could set the default due_template to the milestone date.

This, to me looks like a good path foreward, so I'm going to proceed on it.

@ryneeverett
Copy link
Collaborator

The conclusion is that this use case would be better served by a milestone duedate UDA. Adding UDA's isn't a lot of work and we're fairly lenient about merging those pull requests so I'm going to close this since nobody has wanted it that seriously for the last 5+ years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants