grahampugh / jamf-upload

Scripts for uploading packages to Jamf Cloud
Apache License 2.0
149 stars 37 forks source link

Feature Request: add option to JamfPackageCleaner to skip and report if package is in use #110

Open everetteallen opened 1 year ago

everetteallen commented 1 year ago

We ran into a situation were removing a package that was in use by a patch title caused issues loading Mac Apps tab in Jamf Pro. That issue is filed with Jamf. Our use case is to have enforced package lifecycle where we keep a sliding window of last N packages in a package family and update as autopkg finds new versions. JamfPackageCleaner would need to have a feature like Prune where it scanned for use of the package ID that is on the chopping block and then skip and report. I realize that this would slow down runs but this would be huge move towards sane package life cycling. Thanks for the consideration.