コード例 #1
0
def get_project_developers(pjid, **kwargs):
    repos = store.get_project_repositories(pjid)
    devs = set([])
    for rid in repos:
        devs = set.union(devs, store.get_developers(kwargs['begin'], kwargs['end'], rid=rid))
    devs = filter(lambda x: x is not None, map(lambda x: store.get_committer_id(x[0]), devs))
    return list(store.get_developer_uris(*set(devs)))
コード例 #2
0
def get_repo_developers(rid, **kwargs):
    devs = store.get_developers(kwargs['begin'], kwargs['end'], rid=rid)
    devs = filter(lambda x: x is not None, map(lambda x: store.get_committer_id(x[0]), devs))
    return list(store.get_developer_uris(*devs))