Lines Matching defs:path

31 import os.path
48 # dictionaries mapping path names to a list of tuples that are
49 # installing to that path name. Each tuple represents a single
52 # to that path.
53 # eg. pathdb[path] = [(fmri, action), (fmri, action) ... ]
174 seed_dict(manifest, "path", self.ref_paths)
195 seed_dict(manifest, "path", self.lint_paths)
212 seed_dict(manifest, "path", self.lint_paths)
241 self.dup_attr_check(["file", "license"], "path", self.ref_paths,
305 ("path", self.ref_paths, self.processed_refcount_paths),
453 if attr_name == "path" and action.name == "file":
498 """Checks to see if the action containing a path attribute
501 if "path" not in action.attrs:
504 p = action.attrs["path"]
535 _("path {path} is delivered by multiple "
537 path=p,
556 self.dup_attr_check(["file"], "path", self.ref_paths,
569 We check that all mediators for a given path are part of the
570 same mediation namespace, and that all links for a given path
576 in that duplicate reference-counted actions with a path
585 # a link without a path will get picked up elsewhere
586 p = action.attrs.get("path", None)
623 # compare every action for this path to see if
650 engine.error(_("path {path} uses different "
653 path=p), msgid=diff_id)
673 engine.error(_("path {path} has "
677 path=p), msgid=missing_id)
688 engine.error(_("path {path} uses multiple action "
691 path=p), msgid=types_id)
746 path, return that list minus any actions that are attempting to
757 path = actions[0].attrs["path"]
759 action_fmris = ref_dic[path]
761 # in the duplication of this path.
767 with all non-variant attributes other than path and
772 if key in ["path", "overlay"]:
802 (_("path {path} missing "
805 "in {fmri}").format(path=path,
843 (_("path {path} has duplicate 'overlay=true' "
846 path=path, fmris=", ".join(list(fmris)),
857 (_("path {path} has duplicate "
861 path=path, fmris=", ".join(
896 (_("path {path} uses "
901 path=path,
916 (_("path {path} uses 'overlay=true' "
920 path=path, fmris=", ".join(
925 (_("path {path} has mismatching attributes for "
927 "across {fmris}").format(path=path,
932 (_("path {path} has both overlay and non-overlay "
934 path=path, fmris=", ".join(list(fmris))),
941 if we know about the parent path, that parent must be a
944 if "path" not in action.attrs:
946 path = action.attrs["path"]
947 parent_path = os.path.dirname(path)
969 child_path=path,
1093 path = action.attrs["path"]
1108 "{path} delivered in {pkg} with "
1111 path=path,
1119 "delivered in action for {path} in "
1121 path=path,
1129 "action for {path} in {pkg}").format(
1130 path=path,
1146 "delivered in action for {path} in "
1148 path=path,
1412 """License actions should not have path attributes."""
1414 if action.name is "license" and "path" in action.attrs:
1416 _("license action in {pkg} has a path attribute, "
1417 "{path}").format(
1419 path=action.attrs["path"]),
1629 path = action.attrs["path"]
1630 if re.search("\\.so\\.?[0-9\\.]*$", path):
1647 _("{elfbits}-bit object delivered for {path} "
1649 fmri=manifest.fmri, path=action.attrs["path"]),