/pkg/src/tests/api/ |
H A D | t_variant.py | 34 import pkg.variant as variant namespace 47 vct_1 = variant.VariantCombinationTemplate( 53 vct_2 = variant.VariantCombinationTemplate( 61 vct_3 = variant.VariantCombinationTemplate( 68 vct_3 = variant.VariantCombinationTemplate( 70 vct_m = variant.VariantCombinationTemplate(set([])) 88 vct_1 = variant.VariantCombinationTemplate( 90 vct_2 = variant.VariantCombinationTemplate( 92 vct_3 = variant [all...] |
H A D | t_manifest.py | 42 import pkg.variant as variant namespace 90 dir owner=root path=usr/bin group=bin mode=0755 variant.arch=i386 variant.arch=sparc 97 hardlink path=usr/bin/amd64/rksh93 target=ksh93 variant.opensolaris.zone=global 164 dir group=bin mode=0755 owner=root path=usr/bin variant.arch=i386 variant.arch=sparc 166 hardlink path=usr/bin/amd64/rksh93 target=ksh93 variant.opensolaris.zone=global 260 link path=bin/change-link target=change variant.opensolaris.zone=global 267 link path=bin/change-link target=change variant [all...] |
H A D | t_catalog.py | 48 import pkg.variant as variant namespace 118 """value="Sparc Application" variant.arch=sparc\n""" 120 """value="i386 Application" variant.arch=i386\n""" 121 "set name=variant.arch value=i386 value=sparc\n" 125 " variant.arch=sparc\n" 144 "set name=variant.arch value=i386 value=sparc", 163 """value="i386 Application" variant.arch=i386"""), 174 """value="Sparc Application" variant.arch=sparc"""), 176 """value="i386 Application" variant [all...] |
/pkg/src/modules/lint/ |
H A D | base.py | 33 import pkg.variant as variant namespace 133 have matching variant values for any variant. 149 vc = variant.VariantCombinations(var, True) 152 cmp_var = variant.VariantCombinations( 191 vc = variant.VariantCombinations(var, True) 210 cmp_var = variant.VariantCombinations(
|
/pkg/src/util/publish/ |
H A D | pkgmerge.py | 107 pkgmerge [-n] -d dest_repo -s variant=value[,...],src_repo ... 120 -s variant=value,src_repo 121 The variant name and value to use for packages from this source, 218 "variant=value,repo_uri") 220 # All but last part should be variant. 227 "variant=value,repo_uri") 229 if not vname.startswith("variant."): 230 vname = "variant.{0}".format(vname) 246 usage(_("At least one variant name, value, and package source " 274 # Require that each unique variant combinatio [all...] |
H A D | pkgdiff.py | 38 import pkg.variant as variant namespace 91 usage(_("variant option incorrect {0}").format( 93 if not args[0].startswith("variant."): 94 args[0] = "variant." + args[0] 113 usage(_("For any variant, only one value may be " 157 # filter variant 167 "variant {vname}={filt}".format(**locals()))) 168 # remove the variant tag 175 variant [all...] |
/pkg/src/modules/flavor/ |
H A D | base.py | 31 import pkg.variant as variant namespace 175 return variant.VariantCombinations(variants,
|
/pkg/src/modules/client/linkedimage/ |
H A D | zone.py | 107 # methods have problems. We can't even check the image zone variant to 110 # zone variant also set to nonglobal. There's really one way 182 # first check if the image variant is global 183 variant = "variant.opensolaris.zone" 184 value = self.__img.cfg.variants[variant]
|
/pkg/src/modules/actions/ |
H A D | generic.py | 49 import pkg.variant as variant namespace 726 """Return the names of any facet or variant tags in this 733 return [k for k in attrs if k[:8] == "variant."], \ 737 """Return the VariantCombinationTemplate that the variant tags 740 return variant.VariantCombinationTemplate(dict(( 752 # strip out variant and facet information 753 if key[:8] == "variant." or key[:6] == "facet.": 772 """Remove all variant tags from the attrs dictionary.""" 775 if k.startswith("variant [all...] |
/pkg/src/modules/client/ |
H A D | imageconfig.py | 46 import pkg.variant as variant namespace 127 cfg.PropertySection("variant", properties=[]), 216 cfg.PropertySection("variant", properties=[]), 290 self.variants = variant.Variants() 423 # variant can impact the processing of publishers. (Notably, 426 self.variants.update(idx.get("variant", {})) 429 for k, v in six.iteritems(idx.get("variant", {})): 430 # convert variant name from unicode to a string 440 if "variant [all...] |
H A D | api.py | 937 name, - (string) variant name (e.g. variant.arch) 938 value - (string) current variant value, 939 possible - (list) list of possible variant values based 944 Results are always sorted by variant name. 954 Return possible variant values (those found in 963 Return possible variant values (those found in 972 Return possible variant values (those found in 981 'patterns' is an optional list of variant wildcard strings to 1007 for variant, val [all...] |
H A D | imageplan.py | 272 behaviors during operations like variant changes, and updates 356 variant state for image.""" 868 for (variant, pvals) in m.gen_variants( 872 if nvariants[variant] not in pvals: 874 # variant is unsupported by this 879 mvars.append(variant) 1015 # the following variant optimization only works if we're not 5017 # write out variant changes to the image config 5583 if not atname.startswith("variant."): 5589 # for a matching variant [all...] |
/pkg/src/modules/ |
H A D | manifest.py | 48 import pkg.variant as variant namespace 295 # manifest, indexed by unique key and variant combination 439 emit_variants = "pkg.variant" not in self 451 # both and so will not be tagged with variant. 453 if name[:8] == "variant.": 456 # List of possible facets and under what variant combinations 460 # Unique (facet, value) (variant, value) combinations. 467 if attrs["name"][:12] == "pkg.variant": 475 if attr[:8] == "variant [all...] |
/pkg/src/web/_themes/ |
H A D | yui-reset-font-grids_base-min.css | 7 html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}body{text-align:center;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;}#doc2{width:73.076em;*width:71.25em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.05em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main,.yui-g .yui-u .yui-g{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.30769em;*width:12.00em;}.yui-t1 #yui-main .yui-b{margin-left:13.30769em;*margin-left:13.05em;}.yui-t2 .yui-b{float:left;width:13.8461em;*width:13.50em;}.yui-t2 #yui-main .yui-b{margin-left:14.8461em;*margin-left:14.55em;}.yui-t3 .yui-b{float:left;width:23.0769em;*width:22.50em;}.yui-t3 #yui-main .yui-b{margin-left:24.0769em;*margin-left:23.62em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.50em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.55em;}.yui-t5 .yui-b{float:right;width:18.4615em;*width:18.00em;}.yui-t5 #yui-main .yui-b{margin-right:19.4615em;*margin-right:19.125em;}.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-ge .yui-u,.yui-gf div.first{width:24%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-g .yui-u{width:48.1%;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:1.0%;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}.yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-g{width:24%;}.yui-gf .yui-g{width:74.2%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}.yui-ge div.first .yui-gd .yui-u{width:65%;}.yui-ge div.first .yui-gd div.first{width:32%;}#hd:after,#bd:after,#ft:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#hd,#bd,#ft,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}/*
|
/pkg/src/modules/publish/ |
H A D | dependencies.py | 49 import pkg.variant as variants 77 # 'variant-combination' is the combination of variants under which the link is 129 """This exception is used when an action is tagged with a variant or 130 variant value which the package is not tagged with.""" 139 "variant type or value not tagged on the package. " 163 variant set on them which is not in the package's set of variants.""" 225 "listed variant combinations:").format(i) 342 # tagged with a variant type or value which the 1029 # If i_vc is None, then variant combinations under which 1045 # If there are any variant combination [all...] |
/pkg/src/ |
H A D | client.py | 218 "variant", 219 "change-variant", 278 " [--variant <variant_spec>=<instance> ...]\n" 282 adv_usage["change-variant"] = _( 314 adv_usage["variant"] = _("[-Haiv] [-F format] [<variant_pattern> ...]") 463 variant change-variant 1988 """Attempt to change a variant associated with an image, updating 2000 # '=' is not allowed in variant names or values 2005 # get the variant nam [all...] |