def generate_clone_url_from_repo_info_tup(app, repo_info_tup):
 (toolshed, name, owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td) = parse_repository_dependency_tuple(repo_info_tup)
 tool_shed_url = get_tool_shed_url_from_tool_shed_registry(app, toolshed)
 return util.build_url(tool_shed_url, pathspec=['repos', owner, name])

def generate_clone_url_from_repo_info_tup ( app , repo_info_tup ) : ( toolshed , name , owner , changeset_revision , prior_installation_required , only_if_compiling_contained_td ) = parse_repository_dependency_tuple ( repo_info_tup ) tool_shed_url = get_tool_shed_url_from_tool_shed_registry ( app , toolshed ) return util . build_url ( tool_shed_url , pathspec = [ 'repos' , owner , name ] )
generate the url for cloning a repository given a tuple of toolshed .