Lines Matching full:repo_name
127 def _git_archive_link(repo_owner, repo_name, ref): argument
129 return f"https://github.com/{repo_owner}/{repo_name}/zipball/{ref}"
154 repo_owner, repo_name = repo_info.split("/")
161 with urlopen(f"https://github.com/{repo_owner}/{repo_name}/tree/main/"):
172 f"{get_dir()}/{repo_owner}_{repo_name}_{possible_ref}"
181 return repo_owner, repo_name, ref
189 def _validate_not_a_forked_repo(repo_owner, repo_name, ref): argument
196 f"https://api.github.com/repos/{repo_owner}/{repo_name}/branches",
197 f"https://api.github.com/repos/{repo_owner}/{repo_name}/tags",
212 f"Cannot find {ref} in https://github.com/{repo_owner}/{repo_name}. "
229 repo_owner, repo_name, ref = _parse_repo_info(github)
239 owner_name_branch = "_".join([repo_owner, repo_name, normalized_br])
244 repo_name,
258 _validate_not_a_forked_repo(repo_owner, repo_name, ref)
264 url = _git_archive_link(repo_owner, repo_name, ref)
281 repo_owner, repo_name, ref=disambiguated_branch_ref
303 repo_name, argument
320 owner_name = "_".join([repo_owner, repo_name])
433 github (str): a string with format "repo_owner/repo_name[:ref]" with an optional
499 github (str): a string with format <repo_owner/repo_name[:ref]> with an optional
567 of the form ``repo_owner/repo_name[:ref]`` with an optional
575 this should correspond to a github repo with format ``repo_owner/repo_name[:ref]`` with