def compose_mbox(projects):
mbox_archives = '<STR_LIT>'<EOL>mailing_lists_projects = [project for project in projects if '<STR_LIT>' in projects[project]]<EOL>for mailing_lists in mailing_lists_projects:<EOL><INDENT>projects[mailing_lists]['<STR_LIT>'] = []<EOL>for mailing_list in projects[mailing_lists]['<STR_LIT>']:<EOL><INDENT>if '<STR_LIT>' in mailing_list:<EOL><INDENT>name = mailing_list.split('<STR_LIT>')[<NUM_LIT:1>]<EOL><DEDENT>elif '<STR_LIT>' in mailing_list:<EOL><INDENT>name = mailing_list.split('<STR_LIT>')[<NUM_LIT:1>]<EOL><DEDENT>else:<EOL><INDENT>name = mailing_list.split('<STR_LIT:@>')[<NUM_LIT:0>]<EOL><DEDENT>list_new = "<STR_LIT>" % (name, mbox_archives, name, name)<EOL>projects[mailing_lists]['<STR_LIT>'].append(list_new)<EOL><DEDENT><DEDENT>return projects<EOL>
Compose projects.json only for mbox, but using the mailing_lists lists

    change: 'https://dev.eclipse.org/mailman/listinfo/emft-dev'
    to: 'emfg-dev /home/bitergia/mboxes/emft-dev.mbox/emft-dev.mbox

    :param projects: projects.json
    :return: projects.json with mbox