From 3e5c5b6bb9758f3467ee599d79c5e7ad4b886faf Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Sat, 20 Nov 2021 15:32:23 -0800 Subject: [PATCH] Add PkgSigner and GPGSignatureVerifier conventions --- CHANGELOG.md | 4 ++-- pre_commit_hooks/check_autopkg_recipes.py | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bce45ef..5ef5cb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [1.10.2] - 2021-11-20 +## [1.11.0] - 2021-11-20 ### Added +- Added processor type conventions for [JamfUploader](https://grahamrpugh.com/2020/12/14/introducing-jamf-upload.html) (`.jamf`), [PkgSigner](https://derflounder.wordpress.com/2021/07/30/signing-autopkg-built-packages-using-a-sign-recipe/) (`.sign`), and [GPGSignatureVerifier](https://github.com/autopkg/gerardkok-recipes/blob/master/SharedProcessors/GPGSignatureVerifier.py) (`.verify`) families of recipes. - `BrewCaskInfoProvider` has been added to the list of deprecated AutoPkg processors. - More output when `check-git-config-email` fails. -- Added processor type conventions for [JamfUploader](https://grahamrpugh.com/2020/12/14/introducing-jamf-upload.html) (`.jamf`) family of recipes. ## [1.10.1] - 2021-02-21 diff --git a/pre_commit_hooks/check_autopkg_recipes.py b/pre_commit_hooks/check_autopkg_recipes.py index 5c725b8..e023bc0 100755 --- a/pre_commit_hooks/check_autopkg_recipes.py +++ b/pre_commit_hooks/check_autopkg_recipes.py @@ -401,8 +401,15 @@ def validate_required_proc_for_types(process, filename): "munki": ["MunkiImporter"], "pkg": ["AppPkgCreator", "PkgCreator", "PkgCopier"], "install": ["InstallFromDMG", "Installer"], + # https://github.com/jssimporter/JSSImporter "jss": ["JSSImporter"], + # https://github.com/autopkg/filewave "filewave": ["com.github.autopkg.filewave.FWTool/FileWaveImporter"], + # https://derflounder.wordpress.com/2021/07/30/signing-autopkg-built-packages-using-a-sign-recipe/ + "sign": ["com.github.rtrouton.SharedProcessors/PkgSigner"], + "verify": [ + "com.github.autopkg.gerardkok-recipes.SharedProcessors/GPGSignatureVerifier" + ], } passed = True