Lines Matching refs:linted
42 from pkg.lint.base import linted, DuplicateLintedAttrException
241 expected_failures["dup-depend-linted.mf"] = ["pkglint.action005.1",
243 broken_manifests["dup-depend-linted.mf"] = \
254 depend fmri=foo/bar type=require pkg.linted.pkglint.manifest005.2=True
580 expected_failures["duplicate_sets-linted.mf"] = ["pkglint.manifest006",
582 broken_manifests["duplicate_sets-linted.mf"] = \
586 # we mark one of the actions as linted
596 set name=foo value=bar pkg.linted.pkglint.manifest006=True
607 # we mark one of the actions as linted, but still should have a broken manifest
616 set name=foo value=bar pkg.linted.pkglint.manifest006=True
786 # We have a broken pkg.linted action, so we report both broken depend actions
788 # to use the pkg.linted.pkglint.action006 value, as well as the existence of a
789 # pkg.linted value.
797 set name=pkg.linted.pkglint.action006 value=True value=False
840 # 5 saying that we've found pkg.linted attributes in these actions, and 2
841 # for the errors that would be thrown were they not marked as linted.
843 expected_failures["linted-action.mf"] = ["pkglint.action001.2",
847 broken_manifests["linted-action.mf"] = \
851 # differing attributes, but since they're marked as linted, we should get no
865 set name=here_be_underscores value=nothing underscore_attr=Foo pkg.linted.pkglint.action001.1=True
868 # the other duplicate paths are linted. The second will result in us logging
870 dir group=bin mode=0755 owner=root path=usr/lib/X11 pkg.linted=True
871 dir group=bin mode=0155 alt=foo owner=root path=usr/lib/X11/fs pkg.linted=True
874 dir group=staff mode=0751 owner=root path=/usr/lib/X11 pkg.linted.pkglint.dupaction007=True
877 dir group=staff mode=0751 owner=root path=/usr/lib/X11 pkg.linted.pkglint.dupaction=True
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
911 set name=pkg.linted value=True
919 expected_failures["linted-manifest-check.mf"] = ["pkglint001.5",
921 broken_manifests["linted-manifest-check.mf"] = \
933 set name=info.classification value=org.opensolaris.category.2008:System/Noodles pkg.linted.pkglint.manifest008.6=True
935 set name=pkg.linted value=True
939 expected_failures["linted-manifest-check2.mf"] = ["pkglint001.5",
941 broken_manifests["linted-manifest-check2.mf"] = \
945 # and values, but they're all marked linted because we have a manifest-level
946 # pkg.linted key that covers just that check. This produces info messages
949 # So we report 3 linted actions INFO messages, and INFO messages about the
950 # presence of pkg.linted attributes in one action and the manifest.
955 # an underscore in they key "under_score", linted
958 set name=pkg.linted.pkglint.action001 value=True
961 # this is linted due to our our action attribute
962 set name=info.classification value=org.opensolaris.category.2008:System/Noodles pkg.linted.pkglint.manifest008.6=True
969 expected_failures["linted-manifest-check3.mf"] = ["pkglint.action008",
972 broken_manifests["linted-manifest-check3.mf"] = \
985 set name=pkg.linted.pkglint.action001.2 value=True
988 set name=info.classification value=org.opensolaris.category.2008:System/Noodles pkg.linted.pkglint.manifest008.6=True
994 expected_failures["linted-missing-summary.mf"] = ["pkglint001.5",
996 broken_manifests["linted-missing-summary.mf"] = \
1002 set name=pkg.linted.pkglint.manifest010.2 value=True
1009 expected_failures["linted-desc-match-summary.mf"] = ["pkglint001.5", "pkglint.action008"]
1010 broken_manifests["linted-desc-match-summary.mf"] = \
1020 set name=pkg.summary value="Description of pkglint test package" pkg.linted.pkglint.manifest009.2=True
1023 expected_failures["linted-dup-path-types.mf"] = ["pkglint.dupaction001.1",
1025 broken_manifests["linted-dup-path-types.mf"] = \
1034 set name=pkg.linted.pkglint.manifest010.2 value=True
1037 file path=usr/bin/ls owner=root group=staff mode=755 pkg.linted.pkglint.dupaction008=True
1042 # got a manifest with linted attributes, and an action with a linted attribute.
1043 expected_failures["linted-dup-attrs.mf"] = ["pkglint001.5", "pkglint.action008",
1045 broken_manifests["linted-dup-attrs.mf"] = \
1053 set name=pkg.linted.pkglint.manifest010.2 value=True
1056 file path=usr/bin/ls owner=root group=staff mode=755 pkg.linted.pkglint.dupaction001.1=True
1060 expected_failures["linted-dup-refcount.mf"] = ["pkglint.action008",
1062 broken_manifests["linted-dup-refcount.mf"] = \
1065 # should be pkglint.action008, reporting on the use of each linted action.
1075 link path=usr/bin/ls target=baz pkg.linted.pkglint.dupaction010.2=true
1077 link path=usr/bin/ls target=foo pkg.linted.pkglint.dupaction010.2=true
1239 expected_failures["obsolete-has-description-linted.mf"] = ["pkglint001.5", "pkglint.action008"]
1240 broken_manifests["obsolete-has-description-linted.mf"] = \
1247 set name=pkg.description value="This is a package description" pkg.linted.pkglint.manifest001.1=True
1252 expected_failures["obsolete-more-actions-linted.mf"] = ["pkglint.manifest001.2","pkglint.action008"]
1253 broken_manifests["obsolete-more-actions-linted.mf"] = \
1263 dir mode=0555 owner=root group=sys path=/usr/bin pkg.linted.pkglint.action005.1=True
1685 expected_failures["renamed-more-actions-linted.mf"] = ["pkglint.manifest002.3",
1687 broken_manifests["renamed-more-actions-linted.mf"] = \
1692 # as linted.
1702 dir mode=0555 owner=root group=sys path=/usr/bin pkg.linted.pkglint.manifest002.1=True
1706 expected_failures["renamed-more-actions-not-all-linted.mf"] = \
1708 broken_manifests["renamed-more-actions-not-all-linted.mf"] = \
1713 # is linted, but not all of them, so we still throw pkglint.manifest002.1
1723 dir mode=0555 owner=root group=sys path=/usr/bin pkg.linted.pkglint.manifest002.1=True
2249 linted_flag = linted(action=self.action,
2297 # of whether we marked that as linted, since it
2589 # we mark this linted because we know this package does not exist in the
2594 # A set of manifests to be linted. Note that these are all self
2596 # Errors are designed to show up when linted against the ref_*
2993 # linted against a 0.141 repository, but none
2994 # when linted against a 0.140 repository. The duplicates
2995 # were tested when 'deliver-old-sample1.mf' was linted