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

/pkg/src/modules/publish/
H A Dtransaction.py73 supported (e.g. because of the scheme).
81 if "scheme" in self._args:
82 return _("Unsupported scheme '{scheme}' in URL: "
83 "'{url}'.").format(scheme=self._args["scheme"],
208 scheme, netloc, path, params, query, fragment = \
213 self.scheme = scheme
214 if scheme
[all...]
/pkg/src/modules/actions/
H A Dattribute.py79 for scheme, all_levels
138 scheme, cats = val.split(":", 1)
140 scheme = ""
142 rval.append((scheme, cats))
/pkg/src/modules/
H A Dp5s.py60 scheme, netloc, path, params, query, fragment =\
63 urlunparse((scheme, proxy_host,
176 if m.scheme == "http":
178 elif m.scheme == "https":
185 elif m.scheme == "file":
196 assert False, "{0} is an unknown scheme.".format(
197 u.scheme)
H A Dapi_common.py92 """Represents the scheme and category of an info.classification entry
95 scheme = None variable in class:PackageCategory
98 def __init__(self, scheme, category):
99 self.scheme = scheme
104 return "{0} ({1})".format(self.category, self.scheme)
H A Ddepotcontroller.py225 scheme = "https"
227 scheme = "http"
229 return "{0}://{1}:{2:d}".format(scheme, host, self.__port)
H A Dmisc.py310 # First split the URL and check if the scheme is one we support
1310 scheme, netloc, path, params, query, fragment = \
1312 scheme = scheme.lower()
1314 if scheme == "file":
1321 return urlunparse((scheme, netloc, path, params,
/pkg/src/modules/client/
H A Dpublisher.py293 if proxies and self.scheme == "file":
295 "proxies", scheme=self.scheme)
313 if self.scheme not in SSL_SCHEMES and filename:
315 "ssl_cert", scheme=self.scheme)
326 if self.scheme not in SSL_SCHEMES and filename:
328 "ssl_key", scheme=self.scheme)
362 scheme, netlo
468 def scheme(self): member in class:RepositoryURI
[all...]
H A Dapi_errors.py2155 unsupported scheme."""
2170 scheme = urlsplit(u,
2172 illegals.append((u, scheme))
2179 msg += _("\n {uri} (scheme: "
2180 "{scheme})").format(uri=i, scheme=s)
2185 "scheme '{scheme}'. Supported schemes are "
2187 uri=i, scheme=s)
2188 return _("The specified URI uses an unsupported scheme
[all...]
H A Dimageconfig.py956 if not any(uri.startswith(scheme + ":") for
957 scheme in publisher.SSL_SCHEMES):
H A Dapi.py3067 """Returns an ordered list of tuples of the form (scheme,
3663 categories, - (list) string tuples of (scheme, category)
3696 form (scheme, cat) to restrict the results to. If a package
4378 PackageCategory(scheme, cat)
4379 for scheme, cat in cats
5796 # Check if repo_uri has a https scheme or no other
5797 # origins and mirrors has https scheme.
5799 if (repo.scheme in publisher.SSL_SCHEMES or
5800 not any(o.scheme in publisher.SSL_SCHEMES
5894 if o.scheme no
[all...]
H A Dclient_api.py2651 any(origin_uri.startswith(scheme + ":")
2652 for scheme in publisher.SSL_SCHEMES):
2730 if uri.scheme not in publisher.SSL_SCHEMES:
2738 if uri.scheme not in publisher.SSL_SCHEMES:
/pkg/src/
H A Ddepot.py406 # remove any scheme information since we
408 scheme, netloc, path, params, query, \
418 scheme = scheme.lower()
419 if scheme not in ("http", "https"):
426 urlunparse((scheme, netloc, path,
H A Dpkgrepo.py287 if repo_uri.scheme != "file":
347 if repo_uri.scheme != "file":
413 if repo_uri.scheme != "file":
503 if repo_uri.scheme != "file":
1279 if conf["repo_uri"].scheme == "file":
1686 if repo_uri.scheme != "file":
1769 if repo_uri.scheme != "file":
1898 if conf["repo_uri"].scheme == "file":
1900 if conf["com_repo_uri"].scheme == "file":
H A Dsysrepo.py608 if result.scheme != "http":
610 _("scheme must be http"))
H A Dpull.py980 if target.scheme != "file":
1600 # Check whether to include scheme based on new
/pkg/src/tests/api/
H A Dt_api_list.py287 scheme = None
292 scheme, cat = e.split(":", 1)
294 scheme = ""
296 pcats.append((scheme, cat))
542 that don't match the specified scheme, category
1292 scheme, cat = e.split(":", 1)
1294 scheme = ""
1296 pcats.append((scheme, cat))
H A Dt_publisher.py83 # Verify that scheme matches provided URI.
84 self.assertEqual(uobj.scheme, "https")
110 # Verify that changing the URI scheme will null properties that
116 # Verify that scheme matches provided URI.
117 self.assertEqual(uobj.scheme, "http")
120 # current URI scheme raises the expected exception.
/pkg/src/modules/client/transport/
H A Drepo.py1263 scheme, netloc, path, params, query, fragment = \
1993 scheme, netloc, path, params, query, fragment = \
2322 scheme, netloc, path, params, query, fragment = \
2552 scheme = repouri.scheme
2554 if scheme not in RepoCache.supported_schemes:
2556 " supported by transport.".format(scheme))
2561 repo = RepoCache.supported_schemes[scheme](repostats, repouri,
2572 scheme = repouri.scheme
[all...]
H A Dstats.py392 def scheme(self): member in class:RepoStats
393 """Return the scheme of the RepoURI. (e.g. http, file.)"""
H A Dtransport.py290 if ruri.scheme != "file":
1993 scheme=crl.scheme, netloc=crl.netloc,
2049 repouri = urlunparse(ParseResult(scheme=orig.scheme,
2325 # For now, any URI using the file scheme is considered
2329 aremote = a[0].scheme != "file"
2330 bremote = b[0].scheme != "file"
3272 scheme, netloc, path, params, query, fragment = \
3276 local = scheme
[all...]
/pkg/src/tests/cli/
H A Dt_pkgsend.py160 # gracefully for every known scheme and a few bogus schemes.
161 for scheme in ("bogus", "file", "http", "https", "null"):
163 self.pkgsend(scheme + "://", "open notarepo@1.0",
164 exit=scheme != "null")
165 self.pkgsend(scheme + ":", "open notarepo@1.0",
166 exit=scheme != "null")
167 self.pkgsend(scheme, "open notarepo@1.0", exit=1)
H A Dt_pkgrecv.py70 open pkg:/scheme@1.0,5.11-0
205 # and scheme after that.
340 scheme = _nobuild_fmri(self.published[8])
346 expected = "\n".join((amber, branch, bronze, leaf, scheme, tree)) + "\n"
510 # manifest of a package published with the scheme (pkg:/) given.
/pkg/src/modules/server/
H A Dapi.py344 PackageCategory(scheme, cat)
345 for scheme, cat in cat_info
790 absolute URL (including the scheme, host, vhost, and
/pkg/src/util/publish/
H A Dpkgsurf.py743 if target.scheme != "file":
/pkg/src/modules/lint/
H A Dengine.py870 # Check to see if a scheme was used, if not, treat it as a
874 if not urlparse(uri).scheme:

Completed in 164 milliseconds