Lines Matching refs:publisher
37 import pkg.client.publisher as publisher
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 'staying put.' The
311 so = self.get_property("property", "publisher-search-order")
321 self.set_property("property", "publisher-search-order", so)
329 pval = self.get_property("property", "publisher-search-order")
332 "publisher-search-order", prefix)
337 pval = self.get_property("property", "publisher-search-order")
340 "publisher-search-order", prefix)
455 # Merge disabled publisher file with configuration; the DA_FILE
459 # Merge disabled publisher configuration data.
470 # "publisher-search-order" in alphabetic order.
476 # prefix to "publisher-search-order".
490 pso = self.get_property("property", "publisher-search-order")
502 self.set_property("property", "publisher-search-order", pso)
620 # Transfer current publisher information to configuration.
682 puri = publisher.SYSREPO_PROXY
697 # Store publisher UUID.
739 # for the publisher are removed from
753 # Discard old disabled publisher configuration if it
840 # publisher block has alias, prefix, origin, and mirrors
901 # Discard publisher properties with the
902 # DEF_TOKEN value; allow the publisher class to
929 r = publisher.Repository(**repo_data)
948 publisher.SYSREPO_PROXY:
949 p = publisher.ProxyURI(
952 p = publisher.ProxyURI(
957 scheme in publisher.SSL_SCHEMES):
958 repouri = publisher.RepositoryURI(uri,
961 repouri = publisher.RepositoryURI(uri,
966 pub = publisher.Publisher(prefix, alias=sec_idx["alias"],
1006 doc="A dict mapping publisher prefixes to publisher objects",
1011 """Dummy system publisher object for use when an image doesn't use a
1012 system publisher."""
1016 __supported_props = ("publisher-search-order", "property.proxied-urls",
1084 the number of packages each publisher has installed.
1092 whether the system publisher should be used."""
1144 # pkg.client.publisher.TransportRepoURI.__get_runtime_proxy(..)
1148 sysdepot_uri = publisher.RepositoryURI(self.__proxy_url,
1202 "publisher {0} was unexpectedly " \
1208 "publisher-search-order",
1209 props["publisher-search-order"])
1238 """This function merges an old publisher configuration from the
1239 system repository with the new publisher configuration from the
1241 mapping prefix to publisher, the publisher objects for the newly
1242 added system publishers, and the publisher objects for the
1249 publisher configuration from the system repository.
1252 the number of packages each publisher has installed.
1255 the previous publisher configuration from the system repository.
1273 "publisher-search-order"):
1279 # only report this publisher as disabled if it wasn't
1288 # if a syspub publisher is no longer available then
1290 # associated with that publisher.
1294 # check if any system publisher have had origin changes.
1307 system_proxy = publisher.ProxyURI(None, system=True)
1308 real_system_proxy = publisher.ProxyURI(proxy_url)
1327 # Create a dictionary mapping publisher prefix to publisher
1334 assert isinstance(p, publisher.Publisher)
1340 # system publisher already provides
1373 # Write out the new system publisher configuration.
1388 # publisher, only store non-system publisher changes
1420 # store a publisher with this configuration
1421 user_pub = publisher.Publisher(prefix=p.prefix,
1423 user_pub.repository = publisher.Repository()
1432 """Return whether a publisher is allowed to move in the search
1453 # If the property being retrieved is the publisher search order,
1456 if section == "property" and name == "publisher-search-order":
1520 """Return whether the publisher with the prefix 'prefix' is a
1521 system publisher."""
1533 """Change the publisher search order by moving the publisher
1534 'being_moved' relative to the publisher 'staying put.' The
1543 "is a system publisher and cannot be moved.").format(
1547 "is a system publisher and other publishers cannot "
1576 pval = self.get_property("property", "publisher-search-order")
1579 "publisher-search-order", prefix)
1586 "publisher and cannot be unset.").format(prefix))
1611 doc="A dict mapping publisher prefixes to publisher objects")