def convert_version(redmine_version):
    """ Turns a redmine version into a gitlab milestone

    Do not handle the issues linked to the milestone/version.
    Note that redmine do not expose a due date in API.

    :param redmine_version: a dict describing redmine-api-style version
    :rtype: couple: dict, dict
    :return: a dict describing gitlab-api-style milestone and another for meta
    """
    milestone = {'title': redmine_version['name'], 'description':
        """{}

*(from redmine: created on {})*""".format(redmine_version[
        'description'], redmine_version['created_on'][:10])}
    if 'due_date' in redmine_version:
        milestone['due_date'] = redmine_version['due_date'][:10]
    must_close = redmine_version['status'] == 'closed'
    return milestone, {'must_close': must_close}
