Searched refs:facet (Results 1 - 13 of 13) sorted by relevance

/pkg/src/modules/
H A D_varcet.c83 if (strncmp(as, "facet.", 6) != 0)
86 PyObject *facet = PyDict_GetItem(facets, attr); local
87 if (facet != NULL) {
88 facet_ret = facet;
113 * If wildcard facet value cannot be
123 * If facet is unknown to the system and no facet
125 * not a debug or optional facet. The trailing '.' is
128 if (strncmp(as, "facet.debug.", 12) == 0 ||
129 strncmp(as, "facet
[all...]
H A Dfacet.py27 # basic facet support
48 # For image planning purposes and to be able to compare facet objects
63 # explicitly set LOCAL facet glob pattern are also considered to be
69 # not explicitly set but match an explicitly set PARENT facet glob
77 # parent image relaxes dependencies via facet version-locks, then the
83 # have conflicts between the two. In the case where a facet is both
88 # Once an inherited facet that masks a local facet is removed, the
89 # local facet will be restored.
135 """Compare the facet matc
[all...]
H A Dmanifest.py44 import pkg.facet as facet namespace
440 emit_facets = "pkg.facet" not in self
460 # Unique (facet, value) (variant, value) combinations.
469 elif attrs["name"][:9] == "pkg.facet":
478 elif attr[:6] == "facet.":
520 # Get unvarianted facet set.
533 # package have at least one facet, then the intersection
584 # At least one facet is shared between
598 # Omit the "facet
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_image_update.py137 add depend facet.version-lock.consolidation/java-7/java-7-incorporation=true fmri=consolidation/java-7/java-7-incorporation@1.7.0.51.34-0 type=incorporate
140 add depend facet.version-lock.consolidation/osnet/osnet-incorporation=true fmri=consolidation/osnet/osnet-incorporation@5.12-5.12.0.0.0.45.2 type=incorporate
344 facet = facet_fmt.format(random.randint(0, facet_max))
345 if facet in facet_set:
348 facet_set.add(facet)
349 self.pkg("change-facet {0}=False".format(facet))
442 self.pkg("change-facet "
H A Dt_pkgsign.py48 import pkg.facet as facet namespace
115 add file tmp/example_file mode=0444 owner=root group=bin path=usr/share/doc/i386_doc.txt facet.doc=true variant.arch=i386
116 add file tmp/example_file mode=0444 owner=root group=bin path=usr/share/doc/sparc_devel.txt facet.devel=true variant.arch=sparc
1924 # verify changing facet after install also works
1925 nfacets = facet.Facets({ "facet.doc": False })
/pkg/src/modules/client/
H A Dplandesc.py51 import pkg.facet namespace
129 "_old_facets": pkg.facet.Facets,
130 "_new_facets": pkg.facet.Facets,
149 "li_pfacets": pkg.facet.Facets,
505 """Returns a tuple of two lists containing the facet and
512 The facet list contains tuples with the following format:
514 (<facet>, <new-value>, <old-value>, <source>,
532 # dict[(<facet, src>)] = (<value>, <masked>)
570 # sort results by facet name
577 variant/facet change
[all...]
H A Dimageconfig.py41 import pkg.facet as facet namespace
197 cfg.PropertySection("facet", properties=[
198 cfg.PropertyTemplate("^facet\..*", prop_type=cfg.PropBool),
201 cfg.PropertyTemplate("^facet\..*", prop_type=cfg.PropBool),
288 self.facets = facet.Facets()
432 for k, v in six.iteritems(idx.get("facet", {})):
433 # convert facet name from unicode to a string
436 # convert facet name from unicode to a string
565 # The variant, facet, an
[all...]
H A Dapi.py266 FACET_SRC_SYSTEM = pkg.facet.Facets.FACET_SRC_SYSTEM
267 FACET_SRC_LOCAL = pkg.facet.Facets.FACET_SRC_LOCAL
268 FACET_SRC_PARENT = pkg.facet.Facets.FACET_SRC_PARENT
848 name, - (string) facet name (e.g. facet.doc)
849 value - (boolean) current facet value
851 masked - (boolean) is the facet maksed by another
854 Results are always sorted by facet name.
875 'patterns' is an optional list of facet wildcard strings to
896 for facet i
[all...]
H A Dimageplan.py316 new_facets = pkg.facet.Facets(new_facets)
326 # the user did not request any facet changes, but we
328 # so set new_facets to the existing facet set with
330 new_facets = pkg.facet.Facets(old_facets)
338 # there are no caller specified or inherited facet
348 # changing we don't report masked facet changes.
355 """Private helper function used to determine new facet and
846 # old effective value for each facet that is
1008 # the following facet optimization only works if we're not
/pkg/src/tests/api/
H A Dt_api.py37 import pkg.facet as facet namespace
251 facets = facet.Facets({ "facet.devel": True })
/pkg/src/modules/client/linkedimage/
H A Dcommon.py68 import pkg.facet namespace
453 self.__pfacets = pkg.facet.Facets()
572 self.__pfacets = pkg.facet.Facets()
785 rv = pkg.facet.Facets()
886 # load inherited facets. if inherited facet data is missing
2589 # option specific to: change-facet
2844 """Sync linked image parent facet data to a child image.
3455 "facet.version-lock.*" facets."""
3566 # depend type=incorporation fmri=some_synced_pkg1 facet.123456=true
3567 # depend type=incorporation fmri=some_synced_pkg2 facet
[all...]
/pkg/src/modules/lint/
H A Dengine.py882 facets=pkg.facet.Facets(), force=False,
/pkg/src/
H A Dclient.py221 "facet",
222 "change-facet",
280 " [--facet <facet_spec>=(True|False) ...]\n"
292 adv_usage["change-facet"] = _(
315 adv_usage["facet"] = ("[-Haim] [-F format] [<facet_pattern> ...]")
462 facet change-facet
688 # change-facet, etc.)
2055 # '=' is not allowed in facet names or values
2058 "'facet
[all...]

Completed in 90 milliseconds