You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,22 @@ All notable changes to this project will be documented in this file. This projec
14
14
15
15
Nothing yet.
16
16
17
+
## [1.17.0] - 2024-12-22
18
+
19
+
### Added
20
+
21
+
- New `--warn-on-duplicate-imports` flag for use with Munki pkginfo checks, for Munki administrators who don't care about multiple potential versions of the same pkginfo/pkg in the repository (perhaps because of differing `supported_architectures` or other keys).
22
+
23
+
When this is specified, the pre-commit hook will warn when files with `__1` (and similar) suffixes are seen in the pkgsinfo/pkgs folders. This will enbale pre-commit hooks to pass, as long as there are no other errors. Omitting the `--warn-on-duplicate-imports` flag will continue generating an error and failing the hooks, as was the previous behavior.
24
+
25
+
- Include `SignToolVerifier` and `URLDownloaderPython` AutoPkg processors when suggesting minimum versions.
26
+
- Updated AutoPkg recipe type convention checking to include new `JamfUpload` processors as well as `URLDownloaderPython` and `MunkiInfoCreator`.
27
+
- Added a suggestion to use Rich Trouton's [VariablePlaceholder](https://derflounder.wordpress.com/2024/08/16/setting-custom-variables-in-autopkg-using-the-variableplaceholder-processor/) processor for setting arbitrary environment variables instead of supplying unexpected arguments to existing processors.
- Optionally specify the version of AutoPkg for which you want to ignore MinimumVersion mismatches with processors.
70
-
`args: ['--ignore-min-vers-before=0.5.0']`
71
-
(default: `1.0.0`)
70
+
`args: ['--ignore-min-vers-before=0.5.0']`
71
+
(default: `1.0.0`)
72
72
Specifying `0.1.0` will not ignore any MinimumVersion mismatches.
73
73
74
-
- If you're a purist, you can also enable strict mode. This enforces recipe type conventions, all processor/MinimumVersion mismatches, forbids `<!-- -->` style comments, and ensures all processor input variables (arguments) are valid.
75
-
`args: ['--strict']`
74
+
- If you're a purist, you can also enable strict mode. This enforces recipe type conventions, all processor/MinimumVersion mismatches, forbids `<!-- -->` style comments, and ensures all processor input variables (arguments) are valid.
75
+
`args: ['--strict']`
76
76
(default: False)
77
77
78
78
-__forbid-autopkg-overrides__
@@ -117,9 +117,12 @@ After adding a hook to your pre-commit config, it's not a bad idea to run `pre-c
117
117
`args: ['--munki-repo', './my_repo_location']`
118
118
(default: ".")
119
119
120
-
- Choose to just warn on missing icons with a flag, note if no other issues exist this will allow pre-commit to pass without seeing the warnings:
120
+
- Choose to just warn if icons referenced in pkginfo files are missing (this will allow pre-commit checks to pass if no other issues exist):
121
121
`args: ['--warn-on-missing-icons]`
122
122
123
+
- Choose to just warn if pkg/pkginfo files with __1 (or similar) suffixes are detected (this will allow pre-commit checks to pass if no other issues exist):
124
+
`args: ['--warn-on-duplicate-imports]`
125
+
123
126
- Add additional shebangs that are valid for your environment:
0 commit comments