Lines Matching refs:uri
221 for uri in uri_list:
224 if not uri.startswith("http:"):
225 ret_uris.update([uri])
230 opener.open("{0}/versions/0".format(uri), None,
238 msg(_("WARNING: unable to access {uri} when checking "
260 for uri in pub_info:
261 if not isinstance(uri, six.string_types):
263 uri))
264 uri_info = pub_info[uri]
300 for uri in repo.mirrors + repo.origins:
301 uri_key = uri.uri.rstrip("/")
316 pub_info[uri] = [[prefix, cert, key, hash of the uri, proxy], ... ]
422 [[prefix, cert, key, hash of the uri, proxy, uri type], ... ]
459 for uri in uris:
460 key = uri.uri.rstrip("/")
461 if uri.proxies:
464 proxy_map[key] = uri.proxies[0].uri
468 for uri in proxy_map:
469 if not _valid_proxy(proxy_map[uri]):
471 "for {uri} is not supported.".format(
472 uri=uri, val=proxy_map[uri]))
475 [repo_uri.uri.rstrip("/") for repo_uri in uris],
478 for uri in uri_list:
488 if uri.startswith("file:"):
491 urlresult = urlparse(uri)
496 "exist or is not accessible").format(uri))
504 "later are supported.").format(uri))
515 hash = _uri_hash(uri)
516 # we don't have per-uri ssl key/cert information yet,
520 uri_pub_map.setdefault(uri, []).append(
521 (prefix, cert, key, hash, proxy_map.get(uri), utype)
700 for uri in uri_pub_map:
702 uri_pub_map[uri]:
706 (uri, cert, key, hash, proxy, utype))
713 for (uri, cert_path, key_path, hash, proxy, utype) in \
715 if uri.startswith("file:"):
718 uri=uri, pub=pub)
757 for uri in uri_pub_map.keys()
758 for info in uri_pub_map[uri]
767 def _uri_hash(uri):
770 return digest.DEFAULT_HASH_FUNC(misc.force_bytes(uri)).hexdigest()