Lines Matching refs:fmri
41 import pkg.fmri as fmri
144 self.fmri = None
158 quote(str(self.fmri), ""))
179 self.fmri = fmri.PkgFmri(self.pkg_name,
181 except fmri.FmriError as e:
185 if self.fmri.version is None:
191 if not self.fmri.publisher:
198 self.fmri.publisher = default_pub
211 self.open_time = self.fmri.get_timestamp()
222 self.fmri.set_timestamp(self.open_time)
224 if not cat.get_entry(self.fmri):
231 if not self.rstore.valid_new_fmri(self.fmri):
256 fact = actions.fromstr("set name=pkg.fmri value={0}".format(
257 self.fmri))
293 self.fmri = fmri.PkgFmri(self.pkg_name,
295 except fmri.FmriError as e:
299 if self.fmri.version is None or not self.fmri.get_timestamp():
305 if not self.fmri.publisher:
312 self.fmri.publisher = default_pub
323 self.open_time = self.fmri.get_timestamp()
330 if not rstore.valid_append_fmri(self.fmri):
332 pfmri=self.fmri)
350 portable.copyfile(rstore.manifest(self.fmri),
371 self.fmri = fmri.PkgFmri(self.pkg_name, None)
750 self.rstore.add_package(self.fmri)
752 return (str(self.fmri), "PUBLISHED")
775 self.rstore.replace_package(self.fmri)
777 return (str(self.fmri), "PUBLISHED")
784 shall supply a fmri, repo store, and transaction in fmri,
787 pkg_name = self.fmri.pkg_name
791 dest_mpath = self.rstore.manifest(self.fmri)