Skip to content

Commit 55b23e7

Browse files
committed
Add processors to type convention checking, and fix FileWave detection
1 parent 59b51b7 commit 55b23e7

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ All notable changes to this project will be documented in this file. This projec
1919
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.
2020

2121
- Include `SignToolVerifier` and `URLDownloaderPython` AutoPkg processors when suggesting minimum versions.
22+
- Updated AutoPkg recipe type convention checking to include new `JamfUpload` processors as well as `URLDownloaderPython` and `MunkiInfoCreator`.
23+
24+
### Fixed
25+
26+
- Fixed FileWaveImporter processor detection.
2227

2328
## [1.16.2] - 2024-06-10
2429

pre_commit_hooks/check_autopkg_recipes.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,12 @@ def validate_proc_type_conventions(process, filename):
380380
"SparkleUpdateInfoProvider",
381381
"GitHubReleasesInfoProvider",
382382
"URLDownloader",
383+
"URLDownloaderPython",
383384
"CURLDownloader",
384385
"EndOfCheckPhase",
385386
],
386387
"munki": [
388+
"MunkiInfoCreator",
387389
"MunkiInstallsItemsCreator",
388390
"MunkiPkginfoMerger",
389391
"MunkiCatalogBuilder",
@@ -397,18 +399,35 @@ def validate_proc_type_conventions(process, filename):
397399
"jss": ["JSSImporter"],
398400
# https://github.com/grahampugh/jamf-upload
399401
"jamf": [
402+
"com.github.grahampugh.jamf-upload.processors/JamfAccountUploader",
400403
"com.github.grahampugh.jamf-upload.processors/JamfCategoryUploader",
404+
"com.github.grahampugh.jamf-upload.processors/JamfClassicAPIObjectUploader",
401405
"com.github.grahampugh.jamf-upload.processors/JamfComputerGroupUploader",
402406
"com.github.grahampugh.jamf-upload.processors/JamfComputerProfileUploader",
407+
"com.github.grahampugh.jamf-upload.processors/JamfDockItemUploader",
403408
"com.github.grahampugh.jamf-upload.processors/JamfExtensionAttributeUploader",
409+
"com.github.grahampugh.jamf-upload.processors/JamfIconUploader",
410+
"com.github.grahampugh.jamf-upload.processors/JamfMacAppUploader",
411+
"com.github.grahampugh.jamf-upload.processors/JamfMobileDeviceGroupUploader",
412+
"com.github.grahampugh.jamf-upload.processors/JamfMobileDeviceProfileUploader",
413+
"com.github.grahampugh.jamf-upload.processors/JamfPackageCleaner",
404414
"com.github.grahampugh.jamf-upload.processors/JamfPackageUploader",
415+
"com.github.grahampugh.jamf-upload.processors/JamfPatchChecker",
416+
"com.github.grahampugh.jamf-upload.processors/JamfPatchUploader",
405417
"com.github.grahampugh.jamf-upload.processors/JamfPolicyDeleter",
418+
"com.github.grahampugh.jamf-upload.processors/JamfPolicyLogFlusher",
406419
"com.github.grahampugh.jamf-upload.processors/JamfPolicyUploader",
407420
"com.github.grahampugh.jamf-upload.processors/JamfScriptUploader",
408421
"com.github.grahampugh.jamf-upload.processors/JamfSoftwareRestrictionUploader",
422+
"com.github.grahampugh.jamf-upload.processors/JamfUploaderSlacker",
423+
"com.github.grahampugh.jamf-upload.processors/JamfUploaderTeamsNotifier",
409424
],
410425
# https://github.com/autopkg/filewave
411-
"filewave": ["FileWaveImporter"],
426+
"filewave": [
427+
"com.github.autopkg.filewave.FWTool/FileWaveImporter",
428+
"com.github.johncclayton.filewave.FWTool/FileWaveImporter",
429+
"com.github.autopkg.filewave.FWTool/FWTool",
430+
],
412431
}
413432

414433
passed = True

0 commit comments

Comments
 (0)