Lines Matching refs:pub
703 pub = self.__pubs.get(pfmri.publisher,
705 if not pub:
707 pub = repo.get_publisher(
709 assert pub
759 def extract_catalog1(self, part, path, pub=None):
768 'pub' is an optional publisher prefix. If not provided, the
778 if not pub or p.prefix == pub
783 if not pub:
785 pub = pubs[0].prefix
790 pubpath = os.path.join("publisher", pub) + os.path.sep
794 if pub in self.__catalogs:
796 croot = self.__catalogs[pub]
824 self.__catalogs[pub] = None
839 publisher=pub, version=ver)
861 self.__catalogs[pub] = croot
870 def extract_package_files(self, hashes, path, pub=None):
879 'pub' is the prefix (name) of the publisher that the package
893 if not pub:
919 arcname = os.path.join("publisher", pub, "file",
1087 def get_package_file(self, fhash, pub=None):
1096 'pub' is the prefix (name) of the publisher that the package
1110 if not pub:
1119 return self.get_file(os.path.join("publisher", pub, "file",
1177 "pub.p5i")
1182 pub = pkg.client.publisher.Publisher(
1187 pub = pubs[0][0]
1188 assert pub
1190 self.__pubs[pfx] = pub
1247 for pub in self.__pubs.values():
1250 npub = pkg.client.publisher.Publisher(pub.prefix,
1251 alias=pub.alias,
1252 revoked_ca_certs=pub.revoked_ca_certs,
1253 approved_ca_certs=pub.approved_ca_certs)
1262 "pub.p5i")