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

Derek set milestone: current/next #90

Open
alexellis opened this issue Sep 21, 2018 · 1 comment
Open

Derek set milestone: current/next #90

alexellis opened this issue Sep 21, 2018 · 1 comment

Comments

@alexellis
Copy link
Owner

Needs more thought - but I can't always remember what milestone number to pick when doing this on mobile for instance.

Derek set milestone: 0.5.4

vs:

Derek set milestone: next

Which could be: 0.5.5

Derek add milestone -> Might just add the latest one available.

There are other tools that can generate change logs but this seems like a simple feature to explore more.

@derek derek bot added test and removed test labels Sep 28, 2018
@rgee0
Copy link
Contributor

rgee0 commented Sep 28, 2018

As you can probably tell, I've been investigating/thinking about this.

I think if this was to work there'd have to be disciplined in the creation of milestones with sensible due dates. That way we could build a timeline using due_on to find which milestone we are currently working towards and the next one after that. This would shift the burden to creating the milestones where it would be once per milestone, rather than once per set milestone.

Alternatively could we work off release levels? Make current and next increments on the latest release, so if we're on 0.7.4 as a release then current would be 0.7.5 and next 0.7.6

From what I can tell Derek will only set milestones that already exist, so in taking the first approach we could fall off the cliff if the timeline runs out of values. I wonder if a Derek create milestone: <major|minor><date> might be useful. It would find the latest, do the necessary arithmetic and create an appropriate milestone the a end date. Or we could use a release hook and then create a milestone that is n more than the hooked release - given we're looking at current and next n would be two.

We might also catch the release and use the version to delete the associated milestone.

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

2 participants