Searched refs:uri (Results 1 - 25 of 33) sorted by relevance

12

/pkg/src/
H A Dsysrepo.py221 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 i
[all...]
/pkg/src/modules/client/
H A Dpublisher.py104 URI_SORT_PRIORITY: lambda obj: (obj.priority, obj.uri),
161 def __init__(self, uri, priority=None, ssl_cert=None, ssl_key=None,
177 self.uri = uri
196 uri = RepositoryURI(self.__uri, priority=self.__priority,
201 uri._source_object_id = id(self)
202 return uri
206 return self.uri == other.uri
208 return self.uri
448 uri = property(lambda self: self.__uri, __set_uri, None, variable in class:RepositoryURI
[all...]
H A Dapi_errors.py2179 msg += _("\n {uri} (scheme: "
2180 "{scheme})").format(uri=i, scheme=s)
2184 return _("The URI '{uri}' uses the unsupported "
2187 uri=i, scheme=s)
2209 return _("The proxy URI '{uri}' uses the unsupported "
2212 uri=self.data, scheme=scheme)
2587 self.uri = self._args.get("uri", None)
2591 if self.uri:
2593 "'{pub}' needed to access '{uri}', "
[all...]
H A Dclient_api.py648 # changing (such as an origin uri, etc.).
1753 u.uri
1755 if u.uri not in dest_repo.mirrors
1758 u.uri
1760 if u.uri not in dest_repo.origins
1891 "uri": [("tsv"), _("URI"), ""],
2053 for uri in sorted(origins):
2060 set_value(field_data["uri"], uri)
2061 if uri
[all...]
H A Dimageconfig.py669 {"uri": r.uri,
688 puri = p.uri
690 {"uri": r.uri,
860 # {"proxy": "<uri>", "ssl_key": "<key>", "ssl_cert": "<cert>"}
877 uri = uri_info["uri"]
884 # if the uri isn't in either 'origins' or
888 if uri no
[all...]
/pkg/src/modules/
H A Dp5i.py201 reg_uri = r.registration_uri.uri
206 "legal_uris": [u.uri for u in r.legal_uris],
207 "mirrors": [u.uri for u in r.mirrors],
209 "origins": [u.uri for u in r.origins],
213 u.uri for u in r.related_uris
H A Dp5s.py48 'http://<sysrepo>' with when it starts any uri.
177 res.append(m.uri)
184 res.append(m.uri)
193 force_bytes(m.uri.rstrip("/"))).hexdigest()
236 "legal_uris": [u.uri for u in r.legal_uris],
242 u.uri for u in r.related_uris
H A Dmisc.py543 def get_rel_path(request, uri, pub=None):
545 base uri. path_info always ends with a '/' -- so ignore it when
552 return ("../" * depth) + uri
1183 def build_cert(path, uri=None, pub=None):
1187 'uri' is an optional value indicating the uri associated with or that
1199 raise api_errors.NoSuchCertificate(path, uri=uri,
1211 raise api_errors.InvalidCertificate(path, uri=uri,
[all...]
/pkg/src/tests/api/
H A Dt_publisher.py79 self.assertEqual(uobj.uri, "https://example.com")
88 self.assertEqual(uobj.uri, cuobj.uri)
96 "uri", None)
98 uobj, "uri", ":/notvalid")
102 "uri", "http://user:password@server")
112 uobj.uri = "http://example.com"
296 for uprop in ("uri", "priority", "ssl_cert",
330 for uprop in ("uri", "priority", "ssl_cert",
446 self.assertTrue(pobj.uri
[all...]
H A Dt_imageconfig.py81 self.assertEqual(origin.uri, "http://zruty.sfbay:10001/")
87 self.assertEqual([u.uri for u in repo.legal_uris],
/pkg/src/util/qual-simulator/
H A Ddepot.py97 self.uri = "http://" + label
142 The key is a (uri, proxy) tuple, where the proxy is
146 u = self.uri
149 if self.uri:
150 u = self.uri.rstrip("/")
/pkg/src/util/log-scripts/
H A Dan_first_timestamp.py40 comb_log_pat = re.compile("(?P<ip>[\d\.]*) - - \[(?P<date>[^:]*):(?P<time>\S*) (?P<tz>[^\]]*)\] \"(?P<op>GET|POST|HEAD|\S*) (?P<uri>\S*) HTTP/(?P<httpver>[^\"]*)\" (?P<response>\d*) (?P<subcode>\d*|-) \"(?P<refer>[^\"]*)\" \"(?P<agent>[^\"]*)\"")
/pkg/src/tests/cli/
H A Dt_pkglint.py540 for uri in bad:
542 self.pkglint("-l {0}".format(uri), exit=2)
543 self.pkglint("-r {0} -l {1}".format(self.lint_uri, uri),
545 self.pkglint("-r {0} -l {1}".format(uri, self.ref_uri),
550 self.pkglint("-c {0} -l {1}".format(cache, uri), exit=2)
552 cache, self.lint_uri, uri), exit=2)
554 cache, uri, self.ref_uri), exit=2)
559 cache, self.ref_uri, uri, self.lint_uri), exit=2)
562 cache, self.ref_uri, uri), exit=2)
645 # not provided, pkglint will assume the repo uri i
[all...]
H A Dt_util_merge.py139 def get_repo(uri):
140 parts = urlparse(uri, "file", allow_fragments=0)
H A Dt_pkg_image_create.py199 uri = u.uri
200 if uri.endswith("/"):
201 uri = uri[:-1]
202 new_pub_val.add(uri)
H A Dt_pkg_refresh.py132 req_method, uri, protocol = req.split(" ")
137 uri = uri.replace("/test1", "")
138 uri = uri.replace("/test2", "")
139 req_parts = uri.strip("/").split("/", 3)
145 entries.append(uri)
H A Dt_pkg_composite.py582 for uri in (self.empty_rurl, self.void_rurl):
583 self.pkg("list -afH -g {0} '*'".format(uri), exit=1)
584 self.pkg("contents -H -g {0} '*'".format(uri), exit=1)
H A Dt_pkg_depotd.py1050 uri = u.uri
1051 if uri.endswith("/"):
1052 uri = uri[:-1]
1053 uris.append(uri)
H A Dt_pkg_publisher.py850 uri = u.uri
851 if uri.endswith("/"):
852 uri = uri[:-1]
853 new_pub_val.add(uri)
/pkg/src/svc/
H A Dsvc-pkg-mirror314 uri proxy ; do
318 if [ -z "$uri" ]; then
323 origins[$index]=$uri
324 echo $uri | $GREP -q https://
/pkg/src/modules/client/transport/
H A Dtransport.py1969 def get_crl(self, uri, crl_root, more_uris=False):
1971 the CRL object created from the file stored at that uri.
1973 uri: URI for a CRL.
1979 uri = uri.strip()
1980 if uri.startswith("Full Name:"):
1981 uri = uri[len("Full Name:"):]
1982 uri = uri
[all...]
H A Dstats.py222 self.__url = repouri.uri.rstrip("/")
509 operations against this uri."""
/pkg/src/util/publish/
H A Dpkgmerge.py67 catalog_dict = {} # hash table of catalogs by source uri
162 """Load catalog from specified uri"""
167 catalog_dict[repouri.uri] = dict(
182 return list(catalog_dict[repouri.uri].keys())
374 catalog_dict[s.uri])
498 for i, uri in enumerate(source_list)
519 for i, uri in enumerate(source_list):
520 pub.repository.origins = [uri]
/pkg/src/modules/lint/
H A Dengine.py543 # able to load one, and we have been given a uri
573 # able to load one, and we have been given a uri
873 for i, uri in enumerate(repo_uris):
874 if not urlparse(uri).scheme:
876 quote(os.path.abspath(uri)))
931 u.uri
933 if u.uri not in \
/pkg/src/modules/server/
H A Dapi.py730 def get_rel_path(self, uri):
731 """Returns uri relative to the current request path.
733 return pkg.misc.get_rel_path(self._request, uri, pub=self._pub)

Completed in 85 milliseconds

12