Searched defs:fmri (Results 1 - 25 of 81) sorted by relevance

1234

/pkg/src/modules/actions/
H A Dattribute.py34 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 Ddepend.py40 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 Dp5i.py36 import pkg.fmri as fmri namespace
173 if isinstance(entry, fmri.PkgFmri):
H A Dp5s.py35 import pkg.fmri as fmri namespace
H A Dapi_common.py35 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 Dt_lock.py35 import pkg.fmri as fmri namespace
H A Dt_pkg_uninstall.py34 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 Dt_publish_api.py38 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 Dt_pkg_intent.py35 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 Dt_util_merge.py34 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 Dt_pkg_freeze.py38 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 Dt_pkg_composite.py34 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 Dt_pkg_list.py33 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 Dt_fix.py31 import pkg.fmri as fmri namespace
167 pfmri = fmri.PkgFmri(p)
H A Dt_pkg_mediated.py31 import pkg.fmri as fmri namespace
H A Dt_pkg_varcet.py31 import pkg.fmri as fmri namespace
84 add depend type=require fmri=foo
/pkg/src/tests/perf/
H A Dfmribench.py29 # 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 Dmembench.py34 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 Dt_api_info.py41 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 Dt_p5i.py37 import pkg.fmri as fmri namespace
117 fmri_foo = fmri.PkgFmri("pkg:/foo@1.0,5.11-0")
H A Dt_plat.py36 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 Dt_api.py38 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 Dt_p5p.py40 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 Dbase.py34 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 Dpkglint.py44 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...]

Completed in 67 milliseconds

1234