def annotate_metadata_dependencies(repo):
options = repo.options<EOL>if '<STR_LIT>' not in options:<EOL><INDENT>print("<STR_LIT>")<EOL>return []<EOL><DEDENT>repos = []<EOL>dependent_repos = options['<STR_LIT>']<EOL>for d in dependent_repos:<EOL><INDENT>if "<STR_LIT:/>" not in d:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>(username, reponame) = d.split("<STR_LIT:/>")<EOL>try:<EOL><INDENT>repos.append(repo.manager.lookup(username, reponame))<EOL><DEDENT>except:<EOL><INDENT>print("<STR_LIT>", d)<EOL><DEDENT><DEDENT>package = repo.package<EOL>package['<STR_LIT>'] = []<EOL>for r in repos:<EOL><INDENT>package['<STR_LIT>'].append({<EOL>'<STR_LIT:username>': r.username,<EOL>'<STR_LIT>': r.reponame,<EOL>})<EOL><DEDENT>
Collect information from the dependent repo's