/pkg/src/modules/ |
H A D | choose.py | 11 def choose(names, pat, case_sensitive): 12 """Return the subset of names that match pat. case_sensitive determines 23 for name in names:
|
H A D | cfgfiles.py | 283 names = self.password_file.column_names.copy() 284 names.update(self.shadow_file.column_names) 285 return names
|
H A D | fmri.py | 97 search path. In general, package names may also be prefixed by a domain 373 """Generate the different hierarchical names that could be used 376 names = self.pkg_name.split("/") 377 res = names[-1:] 378 for n in reversed(names[:-1]): 538 """True if package names match exactly. Not a pattern-based 558 """ A subclass of PkgFmri with (much) weaker rules about package names.
|
H A D | catalog.py | 227 # Sanity check: part names can't be pathname-ish. 722 def names(self, pubs=EmptyI): member in class:CatalogPart 723 """Returns a set containing the names of all the packages in 1377 # names and CatalogUpdate names stored in the CatalogAttrs object. 2062 'locales' is an optional set of locale names for which Actions 2332 containing the names of all categories in use by the last 2439 'locales' is an optional set of locale names for which Actions 2487 'locales' is an optional set of locale names for which Actions 2585 'locales' is an optional set of locale names fo 3548 def names(self, pubs=EmptyI): member in class:Catalog [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkg_varcet.py | 101 exit=0, opts=misc.EmptyI, names=misc.EmptyI, su_wrap=False): 107 self.pkg("{0} {1} -H {2}".format(cmd, " ".join(opts), " ".join(names)), 116 exit=0, opts=misc.EmptyI, names=misc.EmptyI, su_wrap=False): 118 " ".join(names)), exit=exit, su_wrap=su_wrap) 193 self.__assert_facet_matches(exp_def, names=["doc.pdf"]) 203 names = ("'facet.doc.[*]'", "doc.txt") 204 self.__assert_facet_matches(exp_def, names=names) 223 names = ("'facet.doc.[*]'", "*pdf", "facet.doc.txt") 225 self.__assert_facet_matches(exp_def, opts=opts, names [all...] |
H A D | t_change_variant.py | 156 exit=0, opts=misc.EmptyI, names=misc.EmptyI, su_wrap=False): 158 " ".join(names)), exit=exit, su_wrap=su_wrap) 212 names, variants, and dependancies. So any updates made 270 names, variants, and dependancies. So any updates made 568 """Test that invalid variant names are handled appropriately""" 574 # Variant names contain space, should raise an exception
|
H A D | t_pkg_sysrepo.py | 189 # names to tuples of (image properties, PC objects). The image 273 "img-sig-req-names": ({ 274 "signature-policy": "require-names", 275 "signature-required-names": ["cs1_ch1_ta3"] 291 PC(self.rurl1, sig_pol="require-names", 294 sig_pol="require-names", req_names=["cs1_ch1_ta3"]), 295 PC(self.rurl3, sig_pol="require-names", 303 PC(self.rurl2, sticky=False, sig_pol="require-names", 386 def __prep_configuration(self, names, port=None, 402 if isinstance(names, si [all...] |
H A D | t_pkgrepo.py | 904 self.assertEqual(set(), repo.get_catalog("test").names()) 912 self.assertEqual(set(), repo.get_catalog("test").names()) 926 self.assertEqual(set(), repo.get_catalog("test").names()) 966 self.assertEqual(set(), repo.get_catalog("test").names()) 3663 # Verify empty repos comparison with just publisher names.
|
/pkg/src/tests/ |
H A D | multiplatform.py | 46 The callbacks in this class keep track of the names involved in the 54 python library module names within an importing module. For example, 134 for name, alias in node.names: 143 for name, alias in node.names:
|
/pkg/src/modules/flavor/ |
H A D | python.py | 258 for names, dirs in set([ 266 deps.append(PythonDependency(action, names, 309 names, dirs = eval(l[4:]) 313 deps.append(PythonDependency(action, names,
|
/pkg/src/util/publish/ |
H A D | pkglint.py | 226 def read_manifests(names, lint_logger): 230 for filename in names:
|
H A D | pkgmerge.py | 172 for name in pub.catalog.names() 390 # generate set of all package names to be processed, and dict 471 variant_list a list of dicts containing variant names/values 905 # dictionary of pkg names & fmris that match that pattern.
|
/pkg/src/modules/actions/ |
H A D | driver.py | 216 # Build a mapping of aliases to driver names based on 237 names = a2d[alias] 238 assert self.attrs["name"] in names 239 if len(names) > 1:
|
/pkg/src/tests/api/ |
H A D | t_catalog.py | 552 # test names() 553 self.assertEqual(self.c.names(), set(["apkg", "test", "zpkg"])) 554 self.assertEqual(self.c.names(pubs=["extra", 556 self.assertEqual(self.c.names(pubs=["extra", 558 self.assertEqual(self.c.names(pubs=["opensolaris.org"]),
|
H A D | t_pkglint.py | 944 # This manifest delivers actions with underscores in attribute names 975 # This manifest delivers lots of actions with underscores in attribute names 978 # underscores in 'set' action 'name' values, but not in other attribute names 1995 # Underscores in attribute names generate warnings, except for a few that are 1996 # grandfathered in, locale facets, which have locale names in them, and 1997 # version-lock facets, which take package names. 3362 # try retrieving a few names that should match our lint manifest 3369 # try retrieving a few names that should match our parent 3378 # try retrieving a few names that should not match when using 3483 # 3 identical names [all...] |
/pkg/src/modules/server/ |
H A D | api.py | 146 remaining = set(cat.names(pubs=pubs)) - \
|
/pkg/src/modules/lint/ |
H A D | pkglint_manifest.py | 51 # maps package names to a list of packages which depend on them. 69 """Updates a dictionary of package names that declare 389 "Packages are encouraged to use unique leaf names.") 457 dup_set_msg = _("duplicate set actions on {names} in {pkg}") 482 names=" ".join(dlist),
|
/pkg/src/modules/client/ |
H A D | image.py | 303 names = self.cfg.get_property("property", 304 "signature-required-names") 305 self.__sig_policy = sigpolicy.Policy.policy_factory(txt, names) 1040 'props' is an option dictionary mapping image property names to 1043 'variants' is an optional dictionary of variant names and 1046 'facets' is an optional dictionary of facet names and values. 1397 names = self.cfg.get_property("property", 1407 unranked = set(d) - set(names) 1410 for n in names 3644 their unique names [all...] |
H A D | publisher.py | 85 # Mapping of constant values to names (in the event these ever get changed to 377 # usage of IDNs (international domain names). 2569 "require-names": 2570 if not self.__properties.get("signature-required-names", 2574 "the signature-required-names policy.")) 2694 # Relative names are a feature in X509 certs which allow to 2698 # Full names are absolute locations but can be in different 2711 # we don't support relative names 2846 # names, remove it. 2860 # Remove any required names foun [all...] |
H A D | api_errors.py | 289 to illegal characters in variant/facet names.""" 293 self.names = invalid_names 296 return _(", ".join(self.names) + " are not valid variant/facet " 297 "names; variant/facet names cannot contain whitespace.") 2408 """Exception used when a signature policy required names to be seen 2421 "required names couldn't be found for this " 2426 "be seen in a chain of trust. The following required names " 3129 "Linked image names have the following format "
|
H A D | imageplan.py | 4347 # store names of files being removed under own name 5219 names against which the patterns should be matched. 5284 # set of pkg names that match that pattern. 5333 image.IMG_CATALOG_INSTALLED).names() 5506 # dictionary of pkg names & fmris that match that pattern. 5527 for name in cat.names(): 5717 # If wildcarded package names then compare
|
H A D | api.py | 1796 is a list of linked image children names, the requested 1804 linked image children names, those children will be ignored 2214 specified values. Args contains either path names or tag 2215 names to be reverted, tagged is True if args contains tags. 2675 names, returns a list of linked image name objects 2676 representing the same names. 3068 category) containing the names of all categories in use by 3272 for stem in known_cat.names(pubs=[p]): 4192 # incorporated using one of the new names. 5427 pkg_names is a list of strings representing package names o [all...] |