def build_branches(project, branch_list):
 for branch in branch_list:
  versions = project.versions_from_branch_name(branch)
  to_build = set()
  not_building = set()
  for version in versions:
   log.info(('(Branch Build) Processing %s:%s' % (project.slug, version.slug)))
   ret = _build_version(project, version.slug, already_built=to_build)
   if ret:
    to_build.add(ret)
   else:
    not_building.add(version.slug)
 return (to_build, not_building)

def build_branches ( project , branch_list ) : for branch in branch_list : versions = project . versions_from_branch_name ( branch ) to_build = set ( ) not_building = set ( ) for version in versions : log . info ( ( '(Branch Build) Processing %s:%s' % ( project . slug , version . slug ) ) ) ret = _build_version ( project , version . slug , already_built = to_build ) if ret : to_build . add ( ret ) else : not_building . add ( version . slug ) return ( to_build , not_building )
build the branches for a specific project .