/pkg/src/tests/api/ |
H A D | t_imageconfig.py | 77 pub = self.ic.publishers["sfbay.sun.com"] 104 pub = self.ic.publishers["sfbay.sun.com"] 109 pub2 = ic2.publishers["sfbay.sun.com"]
|
/pkg/src/modules/client/ |
H A D | imageconfig.py | 106 URLs, publishers, properties, etc. that allow an Image to operate.""" 302 del self.publishers[prefix] 324 """Accessor method for publishers dictionary""" 336 """Accessor method for publishers""" 351 """Support iteritems on publishers""" 355 """Support keys() on publishers""" 359 """Support values() on publishers""" 423 # variant can impact the processing of publishers. (Notably, 477 self.publishers[k] = a 491 # Ensure that all configured publishers ar 1003 publishers = DictProperty(__get_publisher, __set_publisher, variable in class:ImageConfig 1608 publishers = DictProperty(__get_publisher, __set_publisher, variable in class:BlendedConfig [all...] |
H A D | rad_pkg.py | 612 def publisher(self, publishers=None, preferred_only=False, 617 ret_json = self.__pkg("publisher", pargs_json=publishers, 620 if not publishers and "data" in ret_json and "publishers" in \ 623 ret_json["data"]["publishers"]] 629 def set_publisher(self, publishers=None, ssl_key=None, ssl_cert=None, 652 ret_json = self.__pkg("set-publisher", pargs_json=publishers, 656 def unset_publisher(self, publishers=None, mode=None): 657 ret_json = self.__pkg("unset-publisher", pargs_json=publishers,
|
H A D | image.py | 615 for pub in self.cfg.publishers.values(): 616 # self.cfg.publishers is used because gen_publishers 617 # includes temporary publishers and this is only for 646 for pub in self.cfg.publishers.values(): 647 # self.cfg.publishers is used because gen_publishers 648 # includes temporary publishers and this is only for 894 # all publishers. 954 # Check to see if any system publishers have been changed. 960 # Check to see if any system publishers have been 976 # could lose track of syspub publishers change [all...] |
H A D | api.py | 2231 def gen_plan_dehydrate(self, publishers=None, noexecute=True): 2241 'publishers' is a list of publishers to dehydrate. 2249 publishers=publishers) 2251 def gen_plan_rehydrate(self, publishers=None, noexecute=True): 2261 'publishers' is a list of publishers to dehydrate on. 2269 publishers=publishers) [all...] |
H A D | options.py | 92 PUBLISHERS = "publishers" 660 publishers = set() 662 publishers.add(p) 663 opts_new[PUBLISHERS] = publishers
|
H A D | imageplan.py | 384 # Previously dehydrated publishers. 600 # get ranking of publishers 884 def __get_publishers_with_repos(self, publishers=misc.EmptyI): 885 """Return publishers that have repositories configured. 887 'publishers' is an optional list of publisher prefixes to 890 A PlanCreationException will be raised if any of the publishers 891 specified do not exist, if any of the specified publishers have 892 no configured repositories, or if all known publishers have 896 if not publishers: 898 publishers [all...] |
H A D | publisher.py | 650 # we don't permit the proxy used by system publishers to be 1520 pubs = c.publishers() 1652 # Guard against failure for publishers with no 2971 " always preferred to other publishers.")
|
/pkg/src/svc/ |
H A D | svc-pkg-mirror | 45 # config/publishers a comma-separated list of the publishers 176 set -A publishers $($SVCPROP -p config/publishers $SMF_FMRI) 207 set_default_publisher "$repo" ${publishers[0]} 275 set -A publishers $($SVCPROP -p config/publishers $SMF_FMRI) 277 if [ -z "$publishers" ]; then 278 echo "ERROR: no publishers found in 'config/publishers'" [all...] |
/pkg/src/util/publish/ |
H A D | pkgsurf.py | 697 publishers = set() 710 publishers.add(arg) 753 for pub in target_repo.publishers: 754 if publishers and pub not in publishers \ 755 and '*' not in publishers: 767 if publishers: 787 msg(_("No matching publishers could be found."))
|
/pkg/src/util/apache2/depot/ |
H A D | depot_index.py | 268 pkg5 publishers of the same name. 333 # system with many repositories and many publishers that rarely 391 # and a dictionary of publishers for each repository URI 405 pub)) for pub in repo.publishers] 471 if toks[0] in repo.publishers: 549 described by 'tokens' looking for the publishers configured 559 if t in repo.publishers and not stripped: 629 if pub_prefix not in repo.publishers:
|
/pkg/src/modules/server/ |
H A D | face.py | 97 elif pub and pub not in depot.repo.publishers:
|
H A D | depot.py | 248 for pub in self.repo.publishers: 378 old_pubs = self.repo.publishers 388 # Map new publishers into operation space. 389 list(map(self.__map_pub_ops, self.repo.publishers - old_pubs)) 451 elif op == "open" and pub not in self.repo.publishers: 603 pubs = self.repo.publishers 1206 pubs = self.repo.publishers 1414 pubs = self.repo.publishers 1745 pubs = self.repo.publishers
|
H A D | repository.py | 960 pubs = list(p for p in self.catalog.publishers()) 3209 """Return publisher objects for all publishers known by the 3214 for pub in self.publishers 3246 "publishers": {}, 3261 pubdata = rdata["repository"]["publishers"] 3329 # here. It's assumed that it's unlikely that two publishers 3445 # No packages or no publishers matching 'pubs'. 3451 def publishers(self): member in class:Repository 3452 """A set containing the list of publishers known to the 3504 # publishers a [all...] |
/pkg/src/ |
H A D | pull.py | 154 the clone operation will only succeed if publishers in 157 to specific publishers which will be added to the 416 publishers = [] 477 publishers.append(arg) 532 if publishers and not clone: 564 args += (publishers,) 580 # publishers. 780 # Retrieve package data for all publishers. 789 # publishers have the same package. 966 dkey, dcert, publishers) [all...] |
H A D | pkgrepo.py | 365 make_default = not repo.publishers 366 existing = repo.publishers & set(pargs) 368 # Elide the publishers that already exist, but retain the order 369 # publishers were specified in. 372 if pfx not in repo.publishers 375 # Tricky logic; _set_pub will happily add new publishers if necessary 386 # Some of the publishers that were requested for addition 432 existing = repo.publishers & set(pargs) 434 if pfx not in repo.publishers] 436 left = [pfx for pfx in repo.publishers i [all...] |
H A D | depot-config.py | 167 """Given a repository root, return the list of available publishers, 197 default_pubs default publishers, per repository, a list in the form 358 # write individual reponses for the publishers 368 # write a response that contains all publishers 551 publishers, default_pub, status = \ 553 for pub in publishers:
|
H A D | client.py | 2287 def dehydrate(op, api_inst, pargs, noexecute, publishers, quiet, verbose): 2291 _verbose=verbose, publishers=publishers) 2293 def rehydrate(op, api_inst, pargs, noexecute, publishers, quiet, verbose): 2297 _verbose=verbose, publishers=publishers) 2404 "when one or more publishers have been dehydrated. The " 2405 "correct mediation will be applied when the publishers " 2493 "when one or more publishers have been dehydrated. The " 2494 "correct mediation will be applied when the publishers " [all...] |
/pkg/src/modules/ |
H A D | catalog.py | 440 for pub in self.publishers(pubs=pubs) 571 for pub in self.publishers(pubs=pubs): 635 for pub in self.publishers(pubs=pubs): 688 for pub in self.publishers(): 704 for pub in self.publishers(pubs=pubs): 732 for pub in self.publishers(pubs=pubs) 741 the results to. If specified, publishers will be sorted in 753 for pub in self.publishers(pubs=pubs) 769 def publishers(self, pubs=EmptyI): member in class:CatalogPart 774 publishers t 1042 def publishers(self): member in class:CatalogUpdate 3595 def publishers(self): member in class:Catalog [all...] |
/pkg/src/tests/ |
H A D | pkg5unittest.py | 3046 # Include prefixes of publishers of installed 3067 # Include prefixes of publishers of installed 3247 for pubdata in rdata.get("publishers", 3318 def _api_dehydrate(self, api_obj, publishers=[], catch_wsie=True, 3320 self.debug("dehydrate {0}".format(" ".join(publishers))) 3321 for pd in api_obj.gen_plan_dehydrate(publishers, **kwargs): 3327 def _api_rehydrate(self, api_obj, publishers=[], catch_wsie=True, 3329 self.debug("rehydrate {0}".format(" ".join(publishers))) 3330 for pd in api_obj.gen_plan_rehydrate(publishers, **kwargs): 3550 def setUp(self, publishers, debug_feature [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkgrecv.py | 172 # with different publishers. 805 # Setup a repository with packages from multiple publishers. 812 # multiple publishers and verify entry exists only for test1. 826 # Test using --mog-file to change publishers of packages from 827 # multiple publishers. 851 # Setup a repository with packages from multiple publishers. 869 # Check for expected publishers. 897 # Check for expected publishers. 935 # Check for expected publishers. 937 pubs = sorted(repo.publishers) [all...] |
/pkg/src/modules/client/transport/ |
H A D | transport.py | 166 first followed by any caches applicable to all publishers. 451 def __init__(self, publishers=misc.EmptyI, incoming_root=None, 462 for p in publishers: 2465 # Retrieve version info for all publishers to fill version info 2475 # Special case -- no configured publishers exist, but 2543 from the list of active publishers. Check to see if 2593 # Allow publishers that don't exist in configuration 2694 # Allow publishers that don't exist in configuration 3656 # need to configure a transport and or publishers. 3727 must manipulate the transport configuration and add publishers [all...] |