gitlabhq/gitlabhq — pull request #1831 by piffio (2012-10-26 14:20:38+00:00)
Title: Add Milestone details for Merge Requests

Hi,

In our organisation we follow a workflow for which it makes sense to assign Merge Requests to a Milestone, since we actually accept submissions over a certain time span, and than we have a merge window during which a person will merge in the next stable release all the MR marked as OK.

The idea is that:
- Someone will do the code review on the MR, and Set the Milestone field if the MR is accepted
- The person in charge for packing the next release will have to browse through all the MR marked for that Milestone and merge them all

Additionally, we plan on adding an automated tool (Jenkins? Travis? A custom script?) that does the same, checking that all the MR marked as OK for the next milestone apply and build correctly on the stable branch.

In this MR I've added
- Milestone detail when creating / editing a MR
- Ability to filter for Assignee / Milestone in the MR list view
- Show the amount of MR associated with a Milestone in the Milestone list view
- Show the amount of open MR in the Milestone details view

Let me know if you have any comments, additional requests, strong objections.
Please keep in mind that I'm not a Ruby developer and I really welcome suggestions on how to do it "better".