haadcode / roadmap-generator

MIT License
57 stars 76 forks source link

Allow projects to optionally express Milestones using GH Labels instead of GH Milestones #5

Open flyingzumwalt opened 7 years ago

flyingzumwalt commented 7 years ago

In order to accommodate projects like js-ipfs, whose milestones include issues that are spread across many projects, allow users the option of delcaring labels that should be treated as milestones. Display each of those milestone-labels in the Roadmap as a Milestone and list the issues with that label as you would list issues associated with a milestone.

@haadcode you said you already had ideas about how to do this. Have you thought about how to handle Milestone Descriptions and Dates?

One way to do it

You could allow a property in config.js that specifies the names of labels that should be treated as milestones.

Example:

milestones: ['milestone 1', 'milestone 2', 'milestone 3']

What about Milestone Descriptions and Deadlines/Estimated Dates of Delivery?

GH doesn't provide a way to associate dates or a description with a label.

One option would be to let people put this info into the config.js file like:

milestones: [
    {title: 'milestone 1', description:'blah blah', date:'2016-09-22'}
]

... but that gets ugly fast.