def _get_build_target(build):
    source_data = build.source.data or {}
    phabricator_rev_id = source_data.get('phabricator.revisionID')
    phabricator_uri = source_data.get('phabricator.revisionURL')

    if phabricator_rev_id and phabricator_uri:
        target = 'D{}'.format(phabricator_rev_id)
        target_uri = phabricator_uri
    else:
        # TODO: Make sure that the phabricator source data is present to
        # make this obsolete.
        target = None
        target_uri = build_uri(_get_source_uri(build, build.source))
    return target, target_uri
We generate our dependency_links from the pip-requires and test-requires
dataset/ETHPy150Open dropbox/changes/changes/lib/build_context_lib.py/_get_build_target--crossover with--dataset/ETHPy150Open tonioo/modoboa/setup.py/parse_dependency_links