def generate_clone_url_for_installed_repository(app, repository):
 tool_shed_url = get_tool_shed_url_from_tool_shed_registry(app, str(repository.tool_shed))
 return util.build_url(tool_shed_url, pathspec=['repos', str(repository.owner), str(repository.name)])

def generate_clone_url_for_installed_repository ( app , repository ) : tool_shed_url = get_tool_shed_url_from_tool_shed_registry ( app , str ( repository . tool_shed ) ) return util . build_url ( tool_shed_url , pathspec = [ 'repos' , str ( repository . owner ) , str ( repository . name ) ] )
generate the url for cloning a repository that has been installed into a galaxy instance .