Searched refs:pkg_name (Results 1 - 25 of 48) sorted by relevance

12

/pkg/src/modules/
H A Dfmri.py109 __slots__ = ["version", "publisher", "pkg_name", "_hash", "__weakref__"]
126 self.pkg_name = fmri[nameidx:veridx]
135 self.pkg_name = fmri[nameidx:]
138 # pkg_name and version must be explicitly set.
139 self.pkg_name = name
151 if not self.pkg_name:
155 if not self.valid_pkg_name.match(self.pkg_name):
157 detail=self.pkg_name)
286 return self.pkg_name
289 self.pkg_name
[all...]
H A Dquery_parser.py141 pkg_name = ""
145 pkg_name = fields[-4]
147 t.value = (pkg_name, action_type, key, token)
266 pkg_name, at, key, token = p[1]
267 fields = pkg_name, at, key
279 (pkg_name, at, key),
793 def pkg_name(self): member in class:PhraseQuery
794 return self.query.pkg_name
895 self.query.pkg_name, self.query.action_type, self.query.key,
1045 self.pkg_name
[all...]
H A Dcatalog.py795 ver_list = pkg_list.get(pfmri.pkg_name, [])
805 del pkg_list[pfmri.pkg_name]
873 ver_list = pkg_list.get(f.pkg_name,
1015 pkg_list.setdefault(pfmri.pkg_name, [])
1016 ver_list = pkg_list[pfmri.pkg_name]
1498 plist = pub.setdefault(f.pkg_name,
1541 f.pkg_name in d[f.publisher] and \
1542 f.version in d[f.publisher][f.pkg_name]:
3230 if "*" in pfmri.pkg_name or "?" in pfmri.pkg_name
[all...]
/pkg/src/modules/client/
H A Dpkg_solver.py188 self.__publisher[f.pkg_name] = pub
251 (f.pkg_name, f)
369 (f.pkg_name, f.version.get_version(
374 (f.pkg_name, f.version.get_version(
464 f.pkg_name
538 pkg_name that should be installed or updated within an image.
606 pkg_name that should be installed or updated within an image."""
719 ret.extend([msg.format(fmri.pkg_name)])
732 ret.extend([msg.format(fmri.pkg_name)])
748 pkg_name tha
[all...]
H A Dimageplan.py488 self.__pkg_actuators.add((trigger_fmri, t.pkg_name,
572 if (before and before.pkg_name == p or
573 after and after.pkg_name == p) and \
575 self.pd.add_pkg_actuator(tf.pkg_name, e,
1265 [x.pkg_name for x in proposed_removals])
1825 msg_level, _("{pkg_name:70} {result:>7}").format(
1826 pkg_name=pfmri.get_pkg_stem(),
1980 (f.pkg_name, f)
3565 if pfmri.pkg_name == "feature/pkg/self":
3567 and containing_fmri.pkg_name \
[all...]
/pkg/src/modules/lint/
H A Dengine.py176 def get_latest(self, api_inst, pkg_name):
177 """ Return the package matching pkg_name from the publishers set
183 if pkg_name in self.latest_cache[api_inst]:
184 return self.latest_cache[api_inst][pkg_name]
202 def add(self, api_inst, pkg_name, manifest):
206 self.misc_cache[api_inst][pkg_name] = manifest
208 def get(self, api_inst, pkg_name):
209 """Retrieves a given pkg_name entry from the cache.
213 if pkg_name in self.latest_cache[api_inst]:
214 return self.latest_cache[api_inst][pkg_name]
[all...]
/pkg/src/modules/server/
H A Dtransaction.py140 self.pkg_name = ""
174 self.pkg_name = pfmri
179 self.fmri = fmri.PkgFmri(self.pkg_name,
199 pkg_name = self.pkg_name
201 if not pkg_name.startswith("pkg:/"):
202 pkg_name = pub_string + pkg_name
204 pkg_name = pkg_name
[all...]
H A Dapi.py133 (pfmri.pkg_name, set([(pfmri, frozenset())]))
148 for pkg_name in remaining:
149 for ver, flist in cat.fmris_by_version(pkg_name,
151 aset = allowed.setdefault(pkg_name, set())
203 for ver, flist in cat.fmris_by_version(ifmri.pkg_name,
209 aset = allowed.setdefault(ifmri.pkg_name, set())
502 stem = result[2].pkg_name
527 if a.pkg_name == b.pkg_name:
H A Dfeed.py276 for v, entries in cat.entries_by_version(f.pkg_name):
/pkg/src/modules/actions/
H A Ddepend.py124 (i.pkg_name, i)
129 if fmri.pkg_name not in ppkgs_dict:
132 "parent image {0}").format(fmri.pkg_name))
135 pf = ppkgs_dict[fmri.pkg_name]
223 if f.pkg_name == DEPEND_SELF:
270 if pfmri.pkg_name not in avoids:
274 f.pkg_name for f in installed_versions
277 f.pkg_name for f in pfmris
278 if f.pkg_name not in avoids)
307 elif ctype == "origin" and pfmri.pkg_name
[all...]
/pkg/src/tests/cli/
H A Dt_util_merge.py157 pkg_names.add(f.pkg_name)
171 if f.pkg_name in nlist:
173 nlist[f.pkg_name] = f
196 if f.pkg_name in ("tree", "scheme"):
H A Dt_pkgmerge.py507 expected = merged_expected[f.pkg_name]
549 expected = merged_expected[f.pkg_name]
596 if f.pkg_name not in nlist or \
597 f.version > nlist[f.pkg_name].version:
598 nlist[f.pkg_name] = f
645 expected = merged_expected[f.pkg_name]
673 if f.pkg_name not in nlist or \
674 f.version > nlist[f.pkg_name].version:
675 nlist[f.pkg_name] = f
725 expected = merged_expected[f.pkg_name]
[all...]
H A Dt_publish_api.py67 t = trans.Transaction(durl, pkg_name=str(pf),
93 t = trans.Transaction(location, pkg_name=str(pf),
H A Dt_pkg_composite.py241 "{0}.p5p".format(alist[0].pkg_name), repo, alist)
242 setattr(self, "{0}_arc".format(alist[0].pkg_name), arc_path)
/pkg/src/modules/publish/
H A Dtransaction.py138 def __init__(self, origin_url, create_repo=False, pkg_name=None,
143 self.pkg_name = pkg_name
154 action.validate(fmri=self.pkg_name)
179 pkg_fmri = self.pkg_name
187 return quote(self.pkg_name, "")
204 def __init__(self, origin_url, create_repo=False, pkg_name=None,
211 self.pkg_name = pkg_name
625 pkg_name
[all...]
H A Ddependencies.py1465 def combine(deps, pkg_vars, pkg_fmri, pkg_name):
1476 'pkg_name' is either the same as 'pkg_fmri', if 'pkg_fmri' is not None,
1641 dep_name = fmri.PkgFmri(txt).pkg_name
1688 resolving_pkgs.add(pfmri.pkg_name)
1727 sys_fmris.add(pfmri.pkg_name)
1750 package_vars[p.pkg_name]))
1760 package_vars[p.pkg_name]), target)
1777 res_fmris.add(pfmri.pkg_name)
1840 if hasattr(e, "pkg_name"):
1841 e.pkg_name
[all...]
/pkg/src/util/publish/
H A Dpkgmerge.py528 pkg_name = f.get_fmri()
532 pkg_name=pkg_name, trans_id=trans_id,
781 new_fmri.pkg_name, e))
830 for pkg_name in include_dict:
831 if pkg_name in exclude_dict:
832 include_dict[pkg_name] -= exclude_dict[pkg_name]
911 if not matcher(name, fmri.pkg_name):
918 ret[pat].setdefault(f.pkg_name,
[all...]
/pkg/src/tests/api/
H A Dt_catalog.py77 if f.pkg_name == "apkg":
79 elif f.pkg_name == "zpkg":
130 if f.pkg_name == "zpkg":
147 if f.pkg_name == "zpkg":
215 rval = misc.cmp(a.pkg_name, b.pkg_name)
250 if f.pkg_name == "apkg":
291 if f.pkg_name == "apkg":
310 if f.pkg_name == "apkg":
329 if f.pkg_name
[all...]
H A Dt_pkg_api_install.py945 self.__do_uninstall(api_obj, [pfmri.pkg_name])
956 [pfmri.pkg_name])
967 [pfmri.pkg_name])
978 [pfmri.pkg_name])
990 [pfmri.pkg_name])
1186 self.plist.setdefault(pfmri.pkg_name, []).append(pfmri)
H A Dt_fmri.py225 self.assertEqual(pfmri.pkg_name, "test")
/pkg/src/util/apache2/depot/
H A Ddepot_index.py507 pkg_name = "/".join(redir[4:])
509 pkg_name = quote(pkg_name)
510 pkg_name = pkg_name.replace("/", "%2F")
511 pkg_name = pkg_name.replace("%40", "@", 1)
514 redir = "{0}/{1}".format(pub_mf, pkg_name)
/pkg/src/
H A Dpublish.py216 t = trans.Transaction(repo_uri, pkg_name=pargs[0], xport=xport, pub=pub)
246 t = trans.Transaction(repo_uri, pkg_name=pargs[0], xport=xport, pub=pub)
406 pkg_name = pfmri.get_fmri()
413 t = trans.Transaction(repo_uri, pkg_name=pkg_name,
H A Dsign.py351 pkg_name=str(pfmri), xport=xport,
/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py223 pkg_name = path.replace("manifest/0/", "")
224 fmri = "pkg://{0}/{1}".format(pub, pkg_name)
/pkg/src/modules/client/transport/
H A Drepo.py169 def publish_open(self, header=None, client_release=None, pkg_name=None):
172 client_release, and the package's name in pkg_name.
969 def publish_open(self, header=None, client_release=None, pkg_name=None):
972 client_release, and the package's name in pkg_name.
977 pkg_name)
979 def __start_trans(self, baseurl, header, client_release, pkg_name):
982 request_str = quote(pkg_name, "")
1017 pkg_name=None):
1020 client_release, and the package's name in pkg_name.
1025 pkg_name)
[all...]

Completed in 300 milliseconds

12