Releases: homebysix/pre-commit-macadmin
Releases · homebysix/pre-commit-macadmin
Release v1.24.1
Changed
- Skipped AutoPkg recipe type convention checks when type is unknown. (#55)
- Updated release documentation to reflect new automated workflow.
- Built error handling into release automation workflow.
Release v1.24.0
Added
- Automated GitHub Actions workflow for creating releases and bumping versions.
Changed
- Updated CodeQL workflow to run on
mainbranch instead ofmaster.
v1.23.0
Added
- Added support for minimum AutoPkg version validation for new VariableSetter processor.
check-munkiadmin-scriptsandcheck-outset-scriptsnow support the--valid-shebangsargument for specifying additional valid interpreter paths.
Changed
check-munki-pkgsinfonow skips warning about missing packages if aPackageCompleteURLkey is set in the pkginfo.
v1.22.1
Added
- Added support for minimum AutoPkg version validation for new VariableSetter processor.
Changed
check-munki-pkgsinfonow skips warning about missing packages if aPackageCompleteURLkey is set in the pkginfo.
v1.22.0
v1.21.1
v1.21.0
v1.20.0
Added
check-autopkg-recipesandcheck-munki-pkgsinfonow validates thatsupported_architecturesvalues are set appropriately.- In anticipation of Munki 7,
check-munki-pkgsinfovalidates thatversion_scriptis a string starting with a script shebang. check-munki-pkgsinfonow checks for specific deprecatedinstaller_typeanduninstall_methodvalues, most of which are detailed here.- Added new FindAndReplace core processor version requirements for AutoPkg recipes.
Changed
v1.19.0
Added
- Added
--warn-on-missing-installer-itemsflag that makes missing Munki install/uninstall items a warning instead of a failure. (#86, thanks to @haircut) - Apply the same checks to
uninstaller_item_locationthat were previously applied toinstaller_item_location. check-autopkg-recipesrequires Munki recipepkginfodicts to contain at leastnameanddescription.check-autopkg-recipesnow validates thatuninstall_methodanduninstall_scriptare set appropriately in Munki recipes.
Changed
check-autopkg-recipesincludes jamf-upload as an AutoPkg recipe type, and updated processors included in jamf/jamf-upload recipe convention.check-munki-pkgsinforequires aversionkey in addition tonameanddescription.
Fixed
- Bug fix in
check-munkiadmin-scriptsthat prevented script names from processing correctly. - Bug fix in
check-munki-pkgsinfothat prevented--warn-on-duplicate-importsflag from working correctly.
v1.18.0
Added
check-munki-pkgsinfonow produces an error ifuninstall_methodis set touninstall_scriptbut no uninstall script is present in the pkginfo.check-munki-pkgsinfonow checks for deprecated pkginfo keys.check-munki-pkgsinfonow includes checks for many possible pkginfo key typos, not justminimum_os_versionandmaximum_os_version. Suggestions welcome if you think of more.check-munkiadmin-scriptsnow checks whether scripts are named correctly, not just executable.