/pkg/src/modules/actions/ |
H A D | attribute.py | 34 import pkg.fmri namespace 99 elif self.attrs["name"] in ("fmri", "pkg.fmri"): 100 fmri_obj = pkg.fmri.PkgFmri(self.attrs["value"]) 145 def validate(self, fmri=None): 153 'fmri' is an optional package FMRI (object or string) indicating 162 generic.Action._validate(self, fmri=fmri, 172 pkg.fmri.PkgFmri(f) 173 except pkg.fmri [all...] |
H A D | depend.py | 40 import pkg.fmri namespace 58 # this is a special package name that when present in an fmri defines a 66 """Class representing a dependency packaging object. The fmri attribute 98 avoid list; version part of fmri is ignored. Obsolete packages 102 required unless stem is in image avoid list; version part of fmri is 108 key_attr = "fmri" 115 def __check_parent_installed(self, image, fmri): 129 if fmri.pkg_name not in ppkgs_dict: 132 "parent image {0}").format(fmri.pkg_name)) 135 pf = ppkgs_dict[fmri [all...] |
/pkg/src/modules/ |
H A D | p5i.py | 36 import pkg.fmri as fmri namespace 173 if isinstance(entry, fmri.PkgFmri):
|
H A D | p5s.py | 35 import pkg.fmri as fmri namespace
|
H A D | api_common.py | 35 import pkg.fmri as fmri namespace 64 def fmri(self): member in class:LicenseInfo 111 could need. The fmri is guaranteed to be set. All other values may 155 self.fmri = pfmri 168 return str(self.fmri) 175 pub = fmri.strip_pub_pfx(pub)
|
/pkg/src/tests/cli/ |
H A D | t_lock.py | 35 import pkg.fmri as fmri namespace
|
H A D | t_pkg_uninstall.py | 34 import pkg.fmri as fmri namespace 77 add depend type=require fmri=barb@2.0 82 add depend type=require fmri=foob@2.0 87 add depend type=require fmri=foob@2.0 112 add depend type=require fmri=quux@1.0 117 add depend type=require fmri=renamed@1.0 179 pfmri = fmri.PkgFmri(self.pkgsend_bulk(self.rurl1,
|
H A D | t_publish_api.py | 38 import pkg.fmri as fmri namespace 66 pf = fmri.PkgFmri("foo@{0:d}.0".format(i)) 92 pf = fmri.PkgFmri("foo@{0:d}.0".format(i))
|
H A D | t_pkg_intent.py | 35 import pkg.fmri as fmri namespace 59 add depend type=require fmri=pkg:/foo@1.0 66 add depend type=require fmri=pkg:/foo@1.2 73 add depend type=require fmri=pkg:/foo@1.0 80 add depend type=require fmri=pkg:/bar@1.0 188 foo = fmri.PkgFmri(plist[0]).get_fmri(anarchy=True) 215 foo10 = fmri.PkgFmri(plist[0]).get_fmri(anarchy=True) 216 foo11 = fmri.PkgFmri(plist[1]).get_fmri(anarchy=True) 257 foo = fmri [all...] |
H A D | t_util_merge.py | 34 import pkg.fmri as fmri namespace 61 add depend fmri=pkg:/tree@1.0 type=require 67 add depend fmri=pkg:/tree@1.0 type=require 81 add depend fmri=pkg:/amber@1.0 type=require 98 add depend fmri=pkg:/amber@2.0 type=require 156 f = fmri.PkgFmri(p) 177 exp_lines = ["set name=pkg.fmri value={0}".format(f)] 187 if l.find("name=pkg.fmri") > -1:
|
H A D | t_pkg_freeze.py | 38 import pkg.fmri as fmri namespace 73 self.foo10_name = fmri.PkgFmri(self.sent_pkgs[0]).get_fmri( 75 self.foo11_name = fmri.PkgFmri(self.sent_pkgs[1]).get_fmri( 77 self.bar10_name = fmri.PkgFmri(self.sent_pkgs[3]).get_fmri( 79 self.pkg410_name = fmri.PkgFmri(self.sent_pkgs[4]).get_fmri( 258 new_foo = fmri.PkgFmri(new_foo).get_fmri(anarchy=True)
|
H A D | t_pkg_composite.py | 34 import pkg.fmri as fmri namespace 77 add depend type=incorporate fmri=quux@0.1,5.11-0.1 81 add depend type=incorporate fmri=quux@1.0,5.11-0.2 86 add depend type=require fmri=foo@1.0 95 add depend type=require fmri=pkg:/incorp 99 add depend type=require fmri=pkg:/incorp 163 fmri.PkgFmri(sfmri)
|
H A D | t_pkg_list.py | 33 import pkg.fmri as fmri namespace 659 expected = fmri.PkgFmri(plist[0]).get_fmri( 674 add depend type=require fmri=foo@1.0 701 pfmri = fmri.PkgFmri(sfmri) 739 newact = "depend type=new-type fmri=foo@1.1"
|
H A D | t_fix.py | 31 import pkg.fmri as fmri namespace 167 pfmri = fmri.PkgFmri(p)
|
H A D | t_pkg_mediated.py | 31 import pkg.fmri as fmri namespace
|
H A D | t_pkg_varcet.py | 31 import pkg.fmri as fmri namespace 84 add depend type=require fmri=foo
|
/pkg/src/tests/perf/ |
H A D | fmribench.py | 29 # fmribench - benchmark fmri creation and other related operations 35 import pkg.fmri as fmri namespace 100 [ "fmri create (string)", 50000, 101 """import pkg.fmri as fmri""", 102 """f = fmri.PkgFmri("pkg://origin/SUNWxwssu@0.5.11,5.11-0.72:20070921T203926Z")""" 105 [ "fmri create (parts)", 50000, 106 """import pkg.fmri as fmri""", [all...] |
H A D | membench.py | 34 import pkg.fmri as fmri namespace 53 return fmri.PkgFmri("pkg:/SUNWttf-google-droid@0.5.11,5.11-0.121:20090816T233516Z") 56 return fmri.PkgFmri("pkg:/SUNWttf-google-{0:d}@0.5.11,5.11-0.{1:d}:{2:0=8d}T233516Z".format(num, num, num))
|
/pkg/src/tests/api/ |
H A D | t_api_info.py | 41 import pkg.fmri as fmri namespace 83 add depend fmri=pkg:/amber@2.0 type=require 357 pfmri = fmri.PkgFmri(p) 389 add depend type=require fmri=target@1.0 variant.cat=bobcat 390 add depend type=require fmri=target@1.0 variant.cat=lynx 399 add depend type=require fmri=target@1.0 variant.cat=lynx 408 add depend type=require fmri=target@1.0 variant.cat=lynx 417 add depend type=require fmri=target@1.0 variant.cat=lynx
|
H A D | t_p5i.py | 37 import pkg.fmri as fmri namespace 117 fmri_foo = fmri.PkgFmri("pkg:/foo@1.0,5.11-0")
|
H A D | t_plat.py | 36 import pkg.fmri as fmri namespace 61 # make sure it can be used in an fmri 62 test_fmri = fmri.PkgFmri("testpkg", build_release = rel)
|
H A D | t_api.py | 38 import pkg.fmri as fmri namespace 80 add depend type=require fmri=foo@1.0 86 add depend type=require fmri=baz@1.0 94 add depend type=require fmri=baz@1.0 103 add depend type=require fmri=baz@1.0 113 add depend type=require fmri=baz@1.0 440 ffoo = fmri.PkgFmri(plist[0]) 442 ffoo = fmri.PkgFmri(sfoo) 445 fbar = fmri [all...] |
H A D | t_p5p.py | 40 import pkg.fmri namespace 115 self.foo = pkg.fmri.PkgFmri(plist[0]) 116 self.signed = pkg.fmri.PkgFmri(plist[1]) 117 self.quux = pkg.fmri.PkgFmri(plist[2]) 489 self.assertRaises(pkg.fmri.IllegalFmri, 672 self.assertRaises(pkg.fmri.IllegalFmri,
|
/pkg/src/modules/lint/ |
H A D | base.py | 34 import pkg.fmri as fmri namespace 174 for dep in action.attrs["fmri"]: 175 fmris.add(fmri.extract_pkg_name(dep)) 182 # Record the fmri set of action we have generated. 248 mf=manifest.fmri, 257 mf=manifest.fmri, 342 mf=manifest.fmri, 349 mf=manifest.fmri, 431 manifest=manifest.fmri)) [all...] |
/pkg/src/util/publish/ |
H A D | pkglint.py | 44 import pkg.fmri as fmri namespace 280 if manifest and "pkg.fmri" in manifest: 282 manifest.fmri = \ 283 pkg.fmri.PkgFmri(manifest["pkg.fmri"]) 284 except fmri.IllegalFmri as e: 290 if manifest.fmri: 291 if not manifest.fmri.version: 294 "pkg.fmri doe [all...] |