Searched defs:publisher (Results 1 - 25 of 28) sorted by relevance

12

/pkg/src/modules/
H A Dp5i.py35 import pkg.client.publisher as publisher namespace
42 """Reads the pkg(7) publisher JSON formatted data at 'location'
44 list of tuples of the format (publisher object, pkg_names).
46 FMRIs. If any pkg_names not specific to a publisher were
112 pub = publisher.Publisher(prefix, alias=alias)
134 repo = publisher.Repository(**rargs)
145 """Writes the publisher, repository, and provided package names to the
151 'pkg_names' is a dict of lists, tuples, or sets indexed by publisher
154 a publisher
[all...]
H A Dp5s.py33 import pkg.client.publisher as publisher namespace
42 """Reads the pkg(7) publisher JSON formatted data at 'location'
44 tuple. The first element of the tuple is a list of publisher objects.
59 publisher.SYSREPO_PROXY)):
62 r = publisher.RepositoryURI(
71 r = publisher.RepositoryURI(val)
72 r.proxies = [publisher.ProxyURI(None,
98 # For each set of publisher information in the parsed p5s file,
108 pub = publisher
[all...]
H A D_varcet.c53 PyObject *publisher = NULL; local
54 static char *kwlist[] = {"facets", "action", "publisher", NULL};
57 kwlist, &facets, &action, &publisher))
192 PyObject *publisher = NULL; local
193 static char *kwlist[] = {"vars", "action", "publisher", NULL};
196 kwlist, &vars, &action, &publisher))
H A Dp5p.py40 import pkg.client.publisher namespace
330 # Used to cache publisher objects.
333 # Used to cache location of publisher catalog data.
478 # Used to determine what the default publisher will be
489 # Always add base publisher directory to start; tarfile
492 self.add("/", arcname="publisher")
647 self.__default_pub = pfmri.publisher
658 pub_dir = os.path.join("publisher", pfmri.publisher)
703 pub = self.__pubs.get(pfmri.publisher,
[all...]
/pkg/src/tests/cli/
H A Dt_publish_api.py36 import pkg.client.publisher as publisher namespace
56 repouriobj = publisher.RepositoryURI(durl)
57 repo = publisher.Repository(origins=[repouriobj])
58 pub = publisher.Publisher(prefix="repo1", repository=repo)
82 repouriobj = publisher.RepositoryURI(location)
83 repo = publisher.Repository(origins=[repouriobj])
84 pub = publisher.Publisher(prefix="repo1", repository=repo)
H A Dt_pkg_depotd.py46 import pkg.client.publisher as publisher namespace
491 """Test that various publisher prefixes can be understood
503 self.pkgrepo("-s {0} add-publisher {1}".format(
520 self.__dc.set_property("publisher", "prefix", "test")
528 self.create_repo(repopath, properties={ "publisher": {
579 feed = os.path.join(writable_root, "publisher", "test",
621 pub_repo = publisher.Repository()
627 self.__dc.set_property("publisher", "prefix", "test")
774 "publisher"
[all...]
/pkg/src/tests/api/
H A Dt_api_refresh.py39 import pkg.client.publisher as publisher namespace
74 """Verify that refresh updates the publisher catalog if it's
77 # create an image with one publisher (which has two origin)
86 # get the publisher object
89 # note when the publisher catalog was last updated
92 # create a copy of the publisher catalog
106 # make sure the publisher catalog was updated.
111 # overwrite the current publisher catalog with the old catalog
116 # make sure the publisher catalo
[all...]
H A Dt_p5i.py36 import pkg.client.publisher as publisher namespace
97 # First build a publisher object matching our expected data.
100 repo = publisher.Repository(description="xkcd.net/325",
104 pub = publisher.Publisher("bobcat", alias="cat",
139 # First result should be 'bobcat' publisher and its
153 # Last result should be no publisher and a list of
208 """Verify that a p5i file with various parts of a publisher's
H A Dt_publisher.py42 import pkg.client.publisher as publisher namespace
47 """Class to test the functionality of the pkg.client.publisher module.
75 uobj = publisher.RepositoryURI("https://example.com", **uprops)
127 uobj = publisher.RepositoryURI("https://example.com/")
139 uobj = publisher.RepositoryURI("https://example.com",
141 uobj = publisher.RepositoryURI("https://example.com",
142 proxies=[publisher.ProxyURI("http://foo.com")])
144 self.assertTrue(uobj.proxies == [publisher.ProxyURI(
150 uobj.proxies = [publisher
[all...]
H A Dt_pkg_api_install.py38 import pkg.client.publisher as publisher namespace
485 # Now change the default publisher to 'test2' and publish
487 self.pkgrepo("set -s {0} publisher/prefix=test2".format(self.rurl))
695 # publisher is the easiest way to accomplish that.
696 self.pkg("-R {0} unset-publisher test".format(idir))
704 # unconfigured publisher and is newer than what is available
718 properties={ "publisher": { "prefix": "test2" } })
723 # Now add the new publisher and remove the old one.
725 npub = publisher
[all...]
H A Dt_linked_image.py44 import pkg.client.publisher as publisher namespace
775 """Verify the linked image publisher sync check."""
796 # setup publisher objects
797 repouri = publisher.RepositoryURI(self.rurl1)
798 repo1 = publisher.Repository(origins=[repouri])
799 self.po1 = publisher.Publisher(self.pub1, repository=repo1)
801 repouri = publisher.RepositoryURI(self.rurl2)
802 repo2 = publisher.Repository(origins=[repouri])
803 self.po2 = publisher
[all...]
/pkg/src/
H A Dpublish.py53 import pkg.client.publisher as publisher namespace
H A Dpull.py47 import pkg.client.publisher as publisher namespace
106 pkgrecv [-nv] [-s src_repo_uri] [-d path] [-p publisher ...]
144 -p publisher Only clone the given publisher. Can be specified
386 # Assume that a catalog doesn't exist for the target publisher,
548 # per publisher, create destination as separate transport in case source
549 # and destination have identical publisher configuration but different
555 # Configure src publisher(s).
616 # No matches at all; nothing to do for this publisher
[all...]
H A Dpkgrepo.py78 import pkg.client.publisher as publisher namespace
151 pkgrepo add-publisher -s repo_uri_or_path publisher ...
153 pkgrepo remove-publisher [-n] [--synchronous] -s repo_uri_or_path
154 publisher ...
156 pkgrepo get [-F format] [-p publisher ...] -s repo_uri_or_path
159 pkgrepo info [-F format] [-H] [-p publisher ...] -s repo_uri_or_path
162 pkgrepo list [-F format] [-H] [-p publisher ...] -s repo_uri_or_path
168 pkgrepo rebuild [-p publisher
[all...]
H A Dclient.py75 import pkg.client.publisher as publisher namespace
202 basic_usage["refresh"] = _("[-q] [--full] [publisher ...]")
236 "publisher",
237 "set-publisher",
238 "unset-publisher",
281 " [(-p|--publisher) [<name>=]<repo_uri>] dir")
326 adv_usage["set-publisher"] = _("[-Ped] [-k ssl_key] [-c ssl_cert]\n"
333 " [--search-after=publisher]\n"
334 " [--search-before=publisher]\
[all...]
/pkg/src/util/publish/
H A Dpkgmerge.py46 import pkg.client.publisher as publisher namespace
88 # publisher before exiting.
129 The name of the publisher we should merge packages from. This
177 # XXX At the moment, the only way to force the publisher object to
234 source_list.append(publisher.RepositoryURI(
297 # uses publisher as a unique key... so we just flop the repo
305 # we don't use the publisher returned by setup_publisher, as that only
312 # we must have at least one matching publisher if -p was used.
322 # are encountered for a given publisher, w
[all...]
H A Dpkgsurf.py86 import pkg.client.publisher as publisher namespace
152 pkgsurf -s target_path -r ref_uri [-n] [-p publisher ...]
166 -p publisher Only operate on given publisher. Can be specified
246 """ Retrieve a manifest with FMRI 'pfmri' of publisher 'pub' from
742 target = publisher.RepositoryURI(misc.parse_uri(repo_uri))
758 msg(_("Processing packages for publisher {0} ...").format(pub))
/pkg/src/modules/lint/
H A Dengine.py30 import pkg.client.publisher as publisher namespace
141 # publisher, then sorted by version. We may find
142 # another publisher that has a more recent
236 use a different publisher.prefix (as they are added as publishers
283 'ignore_different_publishers' Whether to ignore differences in publisher
327 # whether to ignore publisher differences when comparing vers
771 # the publisher, if any.
778 if search_fmri.publisher:
779 if search_fmri.publisher
[all...]
/pkg/src/modules/server/
H A Dapi.py65 # A protected reference to the publisher this interface is for.
102 results should sorted by stem and then by publisher and
104 in a ascending version order on a per-publisher, per-stem
127 pubs = frozenset([pfmri.publisher for pfmri in pfmris])
243 pub, - (string) the publisher of the package
251 Results are always sorted by stem, publisher, and then in
264 'pubs' is an optional list of publisher prefixes to restrict
390 publisher=pub, version=release,
693 publisher prefix The name of the default
694 publisher t
756 def publisher(self): member in class:RequestInterface
[all...]
H A Drepository.py49 import pkg.client.publisher as publisher namespace
195 publisher information."""
198 return _("This operation requires that a default publisher has "
199 "been set or that a publisher be specified in the FMRI "
250 completed as not default publisher has been set and one was not
256 "default publisher has not been configured.")
295 """Raised when the publisher specified for an operation already exists,
304 """Raised when the publisher specified for an operation is unknown to
310 return _("No publisher wa
[all...]
/pkg/src/modules/client/
H A Drad_pkg.py55 "set_publisher": "set-publisher",
56 "unset_publisher": "unset-publisher",
313 publisher = property(get_any("_publisher"), set_any("_publisher")) variable in class:PkgInfo
612 def publisher(self, publishers=None, preferred_only=False, member in class:PkgImage
617 ret_json = self.__pkg("publisher", pargs_json=publishers,
619 # if not in single publisher mode.
624 ret_json = self.__pkg("publisher", pargs_json=all_pubs,
652 ret_json = self.__pkg("set-publisher", pargs_json=publishers,
657 ret_json = self.__pkg("unset-publisher", pargs_json=publishers,
H A Dimageconfig.py37 import pkg.client.publisher as publisher namespace
117 cfg.PropList("publisher-search-order"),
129 # Base publisher information.
169 cfg.PropList("publisher-search-order"),
219 # Base publisher information.
282 ImageConfig should write the special publisher.SYSREPO_PROXY
306 """Change the publisher search order by moving the publisher
307 'being_moved' relative to the publisher 'stayin
[all...]
H A Dclient_api.py55 import pkg.client.publisher as publisher namespace
560 "publisher '{2}' could not be refreshed.\n").format(
647 # invalid as a result of publisher information
1592 """Function to set publisher."""
1597 errors_json.append({"reason": _("requires a publisher name")})
1600 errors_json.append({"reason": _("only one publisher name may "
1636 proxies = [publisher.ProxyURI(proxy_uri)]
1639 repo = publisher.RepositoryURI(repo_uri,
1660 # For the automatic publisher configuratio
[all...]
H A Dimage.py61 import pkg.client.publisher as publisher namespace
88 IMG_PUB_DIR = "publisher"
190 # Set if write_cache is actually a tree like /var/pkg/publisher
576 """Normalizes publisher SSL configuration data, storing any
641 ensure ssl_cert and ssl_key properties of publisher repository
732 img_dirs = ["cache/index", "cache/publisher",
734 "lost+found", "publisher", "ssl", "state/installed",
738 "index", "lost+found", "pkg", "publisher",
886 # If set, cache is structured like /var/pkg/publisher
[all...]
H A Dapi.py87 import pkg.client.publisher as publisher namespace
612 """Refresh publisher metadata; this should only be used by
631 logger.warning(_("Skipping publisher metadata refresh;"
1319 if type(r) == publisher.RepositoryURI:
1599 """Private interface to perform publisher check on this image
1616 publisher configuration is a subset of the child image's
1617 publisher configuration. If we have any children, recurse
1618 into them and perform a publisher check."""
1715 publisher chec
[all...]

Completed in 78 milliseconds

12