Commit Graph

2488 Commits

Author SHA1 Message Date
Greg Neagle 150418ff4e Fix names of board-id and device-id attributes 2023-12-07 15:42:06 -08:00
Greg Neagle c3846fd24a Refine generated installable_condition predicate 2023-12-07 15:39:45 -08:00
Greg Neagle 350b92ce33 Add experimental support for getting supported hardware for a given macOS installer 2023-12-07 15:30:50 -08:00
Greg Neagle 4f8ba52eee Collect board-id or device-id if available and add to Condtions dict for use in conditional_items, etc 2023-12-07 09:38:56 -08:00
Greg Neagle b0abcabff5 Bump version for future release 2023-12-05 08:57:16 -08:00
Greg Neagle 8134cedbc2 Address issue parsing bundle-style distribution packages introduced here: https://github.com/munki/munki/commit/21a6a4d3a5c8dbe0aeda964e99d4824dad721be0 2023-11-27 09:03:17 -08:00
Greg Neagle 4a91b1d978 Fix for "KeyError: 'AdobeCode'" when importing some older Adobe pkgs 2023-11-22 09:32:13 -08:00
Greg Neagle 9ba39afe2b Address #1188 and #1104. Better handling of dependencies/requirements when a required item fails to download, but is also required by other items. 2023-11-20 11:53:30 -08:00
Greg Neagle 4d4b759b5c Fomatting tweak 2023-11-20 09:56:34 -08:00
Greg Neagle 3b6aa2173d When creating pkginfo, if an uninstall_script or uninstall_method is specified, also get uninstallable to True. Fixes #950 and #1160. 2023-11-20 09:55:25 -08:00
Greg Neagle bd42ba7dea Restore the sleep time to 5 seconds after triggering munki-notifier 2023-11-16 18:05:10 -08:00
Greg Neagle a03b3ba425 Bump version for future release 2023-11-16 14:24:20 -08:00
Greg Neagle 2f5286aabb Work around an issue where munki-notifier is not always triggered when it should be.
A specific instance is when MSC.app is already open and in the background; for some reason
the launchagent takes longer to actually launch munki-notifier.
2023-11-16 14:12:55 -08:00
Greg Neagle efeca8e0fc Change 'touch' operation to use binary flag for consistency 2023-11-16 14:10:28 -08:00
Greg Neagle 9e6da575c3 pylint cleanups 2023-11-10 14:08:27 -08:00
Greg Neagle 6cf8c03d98 Ensure the list of applications to check if running does not include any None items 2023-11-10 13:28:12 -08:00
Greg Neagle 4a1a4849f5 Bump version.plist for future release 2023-11-02 16:01:59 -07:00
Greg Neagle 54a85fbd61 Check for valid _package_ extension (not installer item extension) when attempting to get metadata for a package. 2023-09-15 14:00:34 -07:00
Greg Neagle bb77913dbf makepkginfo help message tweaks 2023-08-18 09:26:22 -07:00
Greg Neagle d3c9eb4ffc Bumping version for future release 2023-08-01 16:44:10 -07:00
Shea Craig 3172d5dbb2 Fix #1183 (#1184)
* Use PyObjC recommended pattern to call superclass init to fix #1183

* Use the pylint comments from gurl.
2023-07-26 14:07:38 -07:00
Nick McSpadden 2d64dcd17a Munkiimport puts supported architecture into pkginfo filename (#1185)
* Munkiimport now puts arch into pkginfo filename
2023-07-24 11:36:39 -07:00
Scott Blake b697f04f4b Set consoleuser and thisuser to lowercase (#1182) 2023-07-17 09:13:03 -07:00
Greg Neagle 6591df346f Add Sonoma CatalogURL 2023-06-27 11:45:55 -07:00
Greg Neagle 8dbcecd61e minor pylint tweaks 2023-06-27 11:45:17 -07:00
Greg Neagle d1db45e6bc Fix for issue #1179 2023-06-27 11:22:20 -07:00
Greg Neagle 213cc35add Remove distutils.version dependency from MunkiLooseVersion 2023-05-04 10:26:23 -07:00
Greg Neagle a8494ab662 Step one of addressing distutils.version deprecation in Python 3.10 2023-05-04 09:17:32 -07:00
Greg Neagle c1d57a637b Bump version.plist for future release 2023-05-02 11:38:49 -07:00
Greg Neagle 2ed2e216f9 Make it clearer on the command-line that Munki itself will not install (certain) Apple updates 2023-05-02 11:38:15 -07:00
Greg Neagle b6155af3dd Bump version for future release 2023-05-02 09:00:12 -07:00
Greg Neagle 495e0e31b4 Reduce error messages caused by absent AppleUpdates.plist 2023-04-28 13:26:23 -07:00
Greg Neagle 8e323382d3 Update some messages to refer to 'managedsoftwareupdate' instead of '.managedsoftwareupdate.py' 2023-04-26 14:54:09 -07:00
Greg Neagle fafca468ca Address issue with items marked for autoremoval that also need an update. See #1172 2023-04-18 16:47:41 -07:00
Greg Neagle e75b25f4d8 Rename supervisor.py back to supervisor 2023-03-13 13:12:55 -07:00
Greg Neagle fb5a49eb90 Merge branch 'Munki6dev' into munkishim 2023-02-23 08:23:32 -08:00
Greg Neagle 1db146ffaa Better detection of macOS updates (so we can filter out those that are upgrades) 2023-02-23 08:23:12 -08:00
Greg Neagle c98153e1c9 Merge branch 'Munki6dev' into munkishim 2023-02-22 10:00:16 -08:00
Greg Neagle 767f64b12a Update copyright info 2023-02-22 09:59:22 -08:00
Greg Neagle e46bb0a66c Merge branch 'Munki6dev' into munkishim 2023-02-22 09:38:46 -08:00
Greg Neagle 139e2d3f56 Add 'AppleSoftwareUpdatesIncludeMajorOSUpdates' to the list of DEFAULT_PREFS so it will be shown in the output of 'managedsoftwareupdate --show-config' 2023-02-22 09:38:20 -08:00
Greg Neagle 36acee5cde Update make_munki_mpkg.sh to build munkishim and build core tools with the shim in place of managedsoftwareupdate and supervisor 2023-02-10 15:22:11 -08:00
Greg Neagle d4450fb24f Bump version for future release 2023-02-10 14:30:04 -08:00
Greg Neagle 57f74d5cf5 When calling /usr/sbin/installer, use subprocess instead of launchd so the responsible process ends up being /usr/local/munki/managedsoftwareupdate 2023-02-10 14:28:41 -08:00
Greg Neagle c262ad35a4 Add minimum_munki_version of 6.2 when using new uninstall_package uninstall method 2023-01-31 15:37:38 -08:00
Greg Neagle b1af8137e8 Merge uninstall_pkg branch; bump version for future release 2023-01-31 10:04:12 -08:00
Greg Neagle 05e40a173d Fix dictionary update error that broke makepkginfo/munkiimport when importing an Adobe pkg 2023-01-20 13:42:31 -08:00
Greg Neagle 13cae46158 Add general support for uninstaller_package to munkiimport/makepkginfo; default to 'normal' Apple package install for Adobe CCP/Admin Console packages 2023-01-18 16:21:10 -08:00
Greg Neagle 7ed49cebe3 Add support for uninstall_method of type 'uninstall_package' 2023-01-18 14:39:05 -08:00
Greg Neagle 4c4c46132c when running startosinstall, if we get a SIGUSR1, assume we can restart no matter the exit code from the tool. Addresses an issue when installing Ventura from macOS 12.6.2. Thanks to @poundbangbash 2023-01-13 10:52:42 -08:00