Lines Matching refs:facets
435 """Generate set action supplemental data containing all facets
456 # List of possible facets and under what variant combinations
458 facets = defaultdict(set)
485 facets[varkey].add(name)
521 cfacets = facets.pop((), set())
524 # facets since they are common to all variants.
525 for varkey, fnames in list(facets.items()):
528 # No facets unique to this combo;
530 del facets[varkey]
534 # of facets for all variants can be merged with the
536 merge_facets = len(facets) > 0
545 for varkey in facets
565 if pair not in facets:
568 # one or more facets, then some
569 # facets are unique to one or
575 # Merge the facets common to all variants if safe;
576 # if we always merged them, then facets only
580 vfacets = list(facets.values())
589 # Remove facets common to all combos.
591 facets.items()):
594 # No facets unique to
596 del facets[varkey]
610 # Always emit an action enumerating the list of facets
612 # That way if there are also no variant-specific facets,
613 # package operations will know that no facets are used
620 # combination containing the list of facets unique to
622 for varkey, fnames in six.iteritems(facets):
758 facets = self["pkg.facet"]
760 facets = None
762 if facets is not None and excludes == EmptyI:
764 # facets.
765 for f in misc.yield_matching("facet.", facets, patterns):
770 # actions containing the list of facets.
780 # No facets.
800 facets = self._get_varcets(excludes=excludes)[1]
801 for f in misc.yield_matching("facet.", facets, patterns):
1050 the facets to be excluded as the second element.
1177 # Possible facets list is spread over multiple actions.
1180 # No facets.
1426 'excludes' is a list of a list of variants and facets which
1457 """Private helper function to get list of facets/variants."""
1460 facets = defaultdict(set)
1469 # have to fake up a filter for facets.
1486 # append any variants and facets to manifest dict
1501 # setting the variant first), facets
1505 for v, d in zip(f_list, repeat(facets)):
1513 return (variants, facets)
1542 the appropriate variants/facets."""
1561 the facets to be exclduded as the second element.
1906 'excludes' is a list of a list of variants and facets which