Lines Matching refs:manifest
114 manifest."""
163 for manifest in engine.gen_manifests(engine.ref_api_inst,
165 # Only put this manifest into the reference dictionary
168 lint_fmri_successor(fmri, manifest.fmri)
170 in lint_fmris.get(manifest.fmri.get_name(), [])
174 seed_dict(manifest, "path", self.ref_paths)
175 seed_dict(manifest, "pkg", self.ref_legacy_pkgs,
177 seed_dict(manifest, "name", self.ref_drivers,
179 seed_dict(manifest, "username",
181 seed_dict(manifest, "uid", self.ref_uids,
183 seed_dict(manifest, "groupname",
185 seed_dict(manifest, "gid", self.ref_gids,
193 for manifest in engine.gen_manifests(engine.lint_api_inst,
195 seed_dict(manifest, "path", self.lint_paths)
196 seed_dict(manifest, "pkg", self.lint_legacy_pkgs,
198 seed_dict(manifest, "name", self.lint_drivers,
200 seed_dict(manifest, "username", self.lint_usernames,
202 seed_dict(manifest, "uid", self.lint_uids, atype="user")
203 seed_dict(manifest, "groupname", self.lint_groupnames,
205 seed_dict(manifest, "gid", self.lint_gids,
211 for manifest in engine.lint_manifests:
212 seed_dict(manifest, "path", self.lint_paths)
213 seed_dict(manifest, "pkg", self.lint_legacy_pkgs,
215 seed_dict(manifest, "name", self.lint_drivers,
217 seed_dict(manifest, "username", self.lint_usernames,
219 seed_dict(manifest, "uid", self.lint_uids, atype="user")
220 seed_dict(manifest, "groupname", self.lint_groupnames,
222 seed_dict(manifest, "gid", self.lint_gids,
238 def duplicate_paths(self, action, manifest, engine, pkglint_id="001"):
243 manifest.get_all_variants(), msgid=pkglint_id)
248 def duplicate_drivers(self, action, manifest, engine, pkglint_id="002"):
253 manifest.get_all_variants(), msgid=pkglint_id)
257 def duplicate_usernames(self, action, manifest, engine,
263 manifest.get_all_variants(), msgid=pkglint_id)
267 def duplicate_uids(self, action, manifest, engine, pkglint_id="004"):
272 manifest.get_all_variants(), msgid=pkglint_id)
276 def duplicate_groupnames(self, action, manifest, engine,
282 manifest.get_all_variants(), msgid=pkglint_id)
287 def duplicate_gids(self, action, manifest, engine, pkglint_id="006"):
292 manifest.get_all_variants(), msgid=pkglint_id)
296 def duplicate_refcount_path_attrs(self, action, manifest, engine,
324 if engine.linted(action=a, manifest=manifest,
342 manifest.get_all_variants())
356 manifest=manifest,
496 def duplicate_path_types(self, action, manifest, engine,
514 if engine.linted(action=a, manifest=manifest,
530 manifest.get_all_variants())
546 def overlays(self, action, manifest, engine, pkglint_id="009"):
558 manifest.get_all_variants(), msgid=pkglint_id,
563 def mediated_links(self, action, manifest, engine, pkglint_id="010"):
939 def dir_parents(self, action, manifest, engine, pkglint_id="011"):
959 manifest.get_all_variants())
970 child_fmri=manifest.fmri),
984 # which we weren't able to locate a manifest for.
993 """Cache all manifest FMRIs, tracking whether they're
1014 for manifest in engine.gen_manifests(engine.ref_api_inst,
1016 seed_obsolete_dict(manifest, self.obsolete_pkgs)
1021 for manifest in engine.gen_manifests(engine.lint_api_inst,
1023 seed_obsolete_dict(manifest, self.obsolete_pkgs)
1026 for manifest in engine.lint_manifests:
1027 seed_obsolete_dict(manifest, self.obsolete_pkgs)
1029 def underscores(self, action, manifest, engine, pkglint_id="001"):
1046 fmri=manifest.fmri),
1075 fmri=manifest.fmri
1082 fmri=manifest.fmri),
1088 def unusual_perms(self, action, manifest, engine, pkglint_id="002"):
1112 pkg=manifest.fmri,
1122 pkg=manifest.fmri,
1131 pkg=manifest.fmri,
1149 pkg=manifest.fmri,
1157 def legacy(self, action, manifest, engine, pkglint_id="003"):
1166 name = manifest.fmri.get_name()
1175 pkg=manifest.fmri),
1187 manifest, engine, pkglint_id)
1195 manifest.fmri),
1199 def check_legacy_rename(self, legacy, action, manifest, engine,
1211 legacy A package manifest with the same name as the
1214 manifest The manifest we're investigating
1224 target=manifest.fmri, old_mfs=[],
1238 pkg=manifest.fmri),
1242 elif not lint_fmri_successor(manifest.fmri, mf.fmri,
1247 pkg=manifest.fmri),
1254 def unknown(self, action, manifest, engine, pkglint_id="004"):
1259 manifest.fmri),
1264 def dep_obsolete(self, action, manifest, engine, pkglint_id="005"):
1291 if "pkg.renamed" in manifest and \
1292 manifest["pkg.renamed"].lower() == "true":
1347 engine.error("{0} {1}".format(msg.format(manifest.fmri),
1360 manifest=manifest)
1377 pkg=manifest.fmri),
1383 def valid_fmri(self, action, manifest, engine, pkglint_id="006"):
1404 pkg=manifest.fmri,
1411 def license(self, action, manifest, engine, pkglint_id="007"):
1418 pkg=manifest.fmri,
1424 def linted(self, action, manifest, engine, pkglint_id="008"):
1438 pkg=manifest.fmri,
1447 def validate(self, action, manifest, engine, pkglint_id="009"):
1462 pkg=manifest.fmri, details=details),
1467 def username_format(self, action, manifest, engine, pkglint_id="010"):
1478 "in {pkg}").format(pkg=manifest.fmri),
1486 pkg=manifest.fmri),
1495 pkg=manifest.fmri),
1504 pkg=manifest.fmri),
1509 def version_incorporate(self, action, manifest, engine,
1525 pkg=manifest.fmri),
1531 def facet_value(self, action, manifest, engine, pkglint_id="012"):
1544 fmri=manifest.fmri),
1551 def supported_pkg_actuator(self, action, manifest, engine,
1570 fmri=manifest.fmri,
1584 fmri=manifest.fmri
1598 fmri=manifest.fmri
1605 def arch64(self, action, manifest, engine, pkglint_id="014"):
1634 lint_id), action=action, manifest=manifest)
1649 fmri=manifest.fmri, path=action.attrs["path"]),