Lines Matching refs:manifest
39 import pkg.manifest
171 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
408 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
479 # 3 errors get reported for this manifest:
504 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
528 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
607 # we mark one of the actions as linted, but still should have a broken manifest
625 # A perfectly valid manifest with a correct info.classification key
888 # pkg.linted attribute in the manifest, and the message bypassing
893 expected_failures["linted-manifest.mf"] = ["pkglint001.5",
895 broken_manifests["linted-manifest.mf"] = \
898 # This manifest is marked as pkg.linted, and should not have manifest
919 expected_failures["linted-manifest-check.mf"] = ["pkglint001.5",
921 broken_manifests["linted-manifest-check.mf"] = \
924 # This manifest is delivers a weird info.classification value
939 expected_failures["linted-manifest-check2.mf"] = ["pkglint001.5",
941 broken_manifests["linted-manifest-check2.mf"] = \
944 # This manifest delivers actions with underscores in attribute names
945 # and values, but they're all marked linted because we have a manifest-level
950 # presence of pkg.linted attributes in one action and the manifest.
969 expected_failures["linted-manifest-check3.mf"] = ["pkglint.action008",
972 broken_manifests["linted-manifest-check3.mf"] = \
975 # This manifest delivers lots of actions with underscores in attribute names
976 # and values, but we have a manifest-level check that bypasses only one
1042 # got a manifest with linted attributes, and an action with a linted attribute.
1067 # install this manifest due to the duplicate links. Don't say we didn't warn you
1118 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
1148 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
1216 # (bogus signature on this manifest, just for testing)
1257 # (bogus signature on this manifest, just for testing)
1271 # This manifest declares multiple overlay=true action, each under a different
1294 # This manifest declares multiple overlay=true action, each under a different
1337 # A valid manifest which declares two overlay=allow actions across different
1356 # A valid manifest which just declares an overlay=true action
1372 # A basic valid manifest that uses overlays
1390 # A valid manifest which has a single overlay=true action, and multiple
1412 # This manifest declares multiple overlay=true attributes, each under a
1613 # this manifest has multiple overlay=allow variants, but the last is
1632 # This manifest delivers /usr/bin as a symlink to /bin, but tries to install
1649 # This manifest delivers /usr/bin as a symlink to /bin, but tries to install
1672 # (bogus signature on this manifest, just for testing)
1693 # (bogus signature on this manifest, just for testing)
1714 # (bogus signature on this manifest, just for testing)
1733 # (bogus signature on this manifest, just for testing)
1760 expected_failures["smf-manifest.mf"] = []
1761 broken_manifests["smf-manifest.mf"] = """
1773 file path=lib/svc/manifest/file.xml owner=root group=sys mode=644
1774 file path=var/svc/manifest/application/file.xml owner=root group=sys mode=644
1781 # We should get one warning, rather than one per-SMF-manifest
1789 file path=lib/svc/manifest/file.xml owner=root group=sys mode=644
1790 file path=var/svc/manifest/application/file.xml owner=root group=sys mode=644
1791 # these files are a red herrings - they deliver to the manifest dirs, but do not
1793 file path=lib/svc/manifest/README owner=root group=sys mode=644
1794 file path=var/svc/manifest/sample.db owner=root group=sys mode=644
1821 # we try to set a variant we've never described in the manifest
1834 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default variant.noodles=singapore
1855 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default variant.opensolaris.zone=foo
1876 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default variant.opensolaris.zone=global
1898 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default variant.opensolaris.zone=foo
1936 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
2019 # A perfectly valid manifest that uses mediated links
2250 manifest=self.manifest, lint_id=msg.msgid)
2282 for manifest in paths:
2283 self.debug("running lint checks on {0}".format(manifest))
2284 basename = os.path.basename(manifest)
2290 manifests = read_manifests([manifest], lint_logger)
2380 # 0.140. This manifest has an intentional error, which we should detect when
2826 set name=pkg.description value="this manifest now gets etc/passwd too"
2954 for manifest in paths:
2955 self.debug("running lint checks on {0}".format(manifest))
2956 basename = os.path.basename(manifest)
2963 manifests = read_manifests([manifest], lint_logger)
2992 # this manifest should report duplicates when
3051 for manifest in paths:
3052 basename = os.path.basename(manifest)
3059 manifests = read_manifests([manifest], lint_logger)
3299 get_manifest_data["get-manifest-ref.mf"] = """
3307 get_manifest_data["get-manifest-oldref.mf"] = """
3315 get_manifest_data["get-manifest-lint.mf"] = """
3317 # This is the manifest that should appear in the lint repository.
3344 lint_mf = os.path.join(self.test_root, "get-manifest-lint.mf")
3346 "get-manifest-oldref.mf")
3347 ref_mf = os.path.join(self.test_root, "get-manifest-ref.mf")
3362 # try retrieving a few names that should match our lint manifest
3370 # manifest when using LATEST_SUCCESSOR mode
3386 # try retrieving a specific version of the manifest from the
3641 lint_logger.error("Unable to read manifest file {0}".format(
3649 manifest = pkg.manifest.Manifest()
3651 manifest.set_content("\n".join(lines))
3662 "Problem reading manifest {0} line: {1}: {2} ".format(
3666 if "pkg.fmri" in manifest:
3667 manifest.fmri = fmri.PkgFmri(
3668 manifest["pkg.fmri"])
3669 manifests.append(manifest)